@font-face {
    font-family: 'Montserrat-Black';
    src: url('./fonts/Montserrat-Black.eot');
    src: url('./fonts/Montserrat-Black.eot?#iefix') format('embedded-opentype'),
        url('./fonts/Montserrat-Black.woff2') format('woff2'),
        url('./fonts/Montserrat-Black.woff') format('woff'),
        url('./fonts/Montserrat-Black.ttf') format('truetype'),
        url('./fonts/Montserrat-Black.svg#Montserrat-Black') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat-SemiBold';
    src: url('./fonts/Montserrat-SemiBold.eot');
    src: url('./fonts/Montserrat-SemiBold.eot?#iefix') format('embedded-opentype'),
        url('./fonts/Montserrat-SemiBold.woff2') format('woff2'),
        url('./fonts/Montserrat-SemiBold.woff') format('woff'),
        url('./fonts/Montserrat-SemiBold.ttf') format('truetype'),
        url('./fonts/Montserrat-SemiBold.svg#Montserrat-SemiBold') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat-ExtraBold';
    src: url('./fonts/Montserrat-ExtraBold.eot');
    src: url('./fonts/Montserrat-ExtraBold.eot?#iefix') format('embedded-opentype'),
        url('./fonts/Montserrat-ExtraBold.woff2') format('woff2'),
        url('./fonts/Montserrat-ExtraBold.woff') format('woff'),
        url('./fonts/Montserrat-ExtraBold.ttf') format('truetype'),
        url('./fonts/Montserrat-ExtraBold.svg#Montserrat-ExtraBold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat-Medium';
    src: url('./fonts/Montserrat-Medium.eot');
    src: url('./fonts/Montserrat-Medium.eot?#iefix') format('embedded-opentype'),
        url('./fonts/Montserrat-Medium.woff2') format('woff2'),
        url('./fonts/Montserrat-Medium.woff') format('woff'),
        url('./fonts/Montserrat-Medium.ttf') format('truetype'),
        url('./fonts/Montserrat-Medium.svg#Montserrat-Medium') format('svg');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'montserratregular';
    src: url('./fonts/montserrat-regular-webfont.eot');
    src: url('./fonts/montserrat-regular-webfont.eot?#iefix') format('embedded-opentype'),
        url('./fonts/montserrat-regular-webfont.woff2') format('woff2'),
        url('./fonts/montserrat-regular-webfont.woff') format('woff'),
        url('./fonts/montserrat-regular-webfont.ttf') format('truetype'),
        url('./fonts/montserrat-regular-webfont.svg#montserratregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

h1{
    font-family: 'Montserrat-ExtraBold';
    font-style: normal;
    font-weight: 800;
    font-size: 80px;
    line-height: 93px;
    text-transform: uppercase;
    color: #086366;
}

.main-container{
    width: 1920px;
    height: 1080px;
    background: url('../assets/bg.png');
    background-size: cover;
    background-position: center;
    position: relative;
}

.general{
    display: flex;
    height: 720px;
    padding: 0 91px;
    justify-content: space-between;
}

.container_1{
    width: 693px;
    height: 97px;
    border: 2.5px solid #086366;
    border-radius: 26px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.container_2{
    width: 693px;
    height: 97px;
    border: 2.5px solid #086366;
    border-radius: 26px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.container_3{
    width: 693px;
    height: 97px;
    border: 2.5px solid #086366;
    border-radius: 26px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.container_4{
    width: 693px;
    height: 97px;
    border: 2.5px solid #086366;
    border-radius: 26px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.container_5{
    width: 693px;
    height: 97px;
    border: 2.5px solid #086366;
    border-radius: 26px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.container_6{
    width: 693px;
    height: 97px;
    border: 2.5px solid #086366;
    border-radius: 26px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.header-template{
    height: 308px;
    display: flex;
    padding: 25px 40px;
    justify-content: space-between;
}

.header-title {
    height: 100px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    max-width: 1250px;
}

p.funeral-home{
    font-family: 'Montserrat-Medium';
    font-style: normal;
    font-weight: 500;
    font-size: 54px;
    line-height: 38px;
    text-transform: uppercase;
    color: #086366;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    max-width: 1250px;
}

p.funeral-address{
    font-family: 'montserratregular';
    font-style: normal;
    font-size: 30px;
    line-height: px;
    color: #086366;
    margin-top: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    max-width: 1250px;
}

.content{
    width: 1920px;
    height: 630px;
}

.main-title{
    height: 190px;
    padding-top: 43px;
    position: relative;
}

.room-number{
    width: 255px;
    height: 80px;
    border: 2px solid #80B946;
    border-radius: 9px;
    position: absolute;
    left: 182px;
    top: 68px;
    overflow: hidden;
}

p.cont_1{
    font-family: 'Montserrat-Black';
    font-style: normal;
    font-weight: 900;
    font-size: 28px;
    line-height: 74px;
    height: 74px;
    color: #086366;
    text-transform: capitalize;
}

span.room-span{
    font-family: 'Montserrat-Black';
    font-style: normal;
    font-weight: 900;
    font-size: 38px;
    line-height: 74px;
    height: 74px;
    color: #4D4D4D;
    text-transform: capitalize;
    padding-left: 18px;
    white-space: nowrap;
}

.item-title-top {
    display: flex;
}


.detail-content {
    width: 1023px;
    height: 347px;
    border: 2.5px solid #086366;
    border-radius: 26px;
    position: absolute;
    left: 846px;
    top: 309px;
    overflow: hidden;
}

.card-content {
    display: flex;
    height: 210px;
    height: 206px;
}

.detail-content-2 {
    width: 1023px;
    height: 347px;
    border: 2.5px solid #086366;
    border-radius: 26px;
    position: absolute;
    left: 846px;
    top: 685px;
    overflow: hidden;
}

.detail-content-3 {
    width: 977px;
    height: 221px;
    border: 5px solid #086366;
    border-radius: 35px;
    position: absolute;
    left: 848px;
    top: 811px;
    overflow: hidden;
}

.side{
    width: 50%;
    padding-bottom: 20px;
}

.side.left-side {
    display: flex;
    padding-left: 45px;
    justify-content: space-between;
    position: relative;
    flex-direction: column;
}

.side.right-side {
    padding-left: 20px;
    padding-bottom: 20px;
    padding-right: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.item-container-top {
    height: 59px;
    display: flex;
    flex-direction: column;
}

.item-container-bot {
    display: flex;
    flex-direction: column;
}

.item-title{
    font-family: 'Montserrat-Medium';
    font-style: normal;
    font-weight: 700;
    font-size: 29px;
    line-height:  32px;
    color: #086366;
    position: relative;
    margin-right: 5px;
}

.item-title::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #086366;
    display: inline-block;
    position: absolute;
    left: -13px;
    top: 14px;
}

.left-box{
    height: 100%;
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.rigth-box {
    width: 56%;
    height: 100%;
}

.item-description{
    font-family: 'Montserrat-Medium';
    font-style: normal;
    font-weight: 500;
    font-size: 26px;
    line-height: 32px;
    color: #086366;
    max-height: 96px;
    overflow: hidden;
}

.item-container-bot .item-description{
    max-height: 190px;
    overflow: hidden;
}

.invisible{
    display: none;
}

.visible{
    display: block;
}

.failsafe{
    width: 1920px;
    height: 1080px;
    background: url('../assets/failsafe.jpg');
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
}