body{
    font-family: 'Lexend', sans-serif;
    color: #0d2f39;
    margin: 0;
    padding:0;
    background-color: rgb(102, 211, 157);
}

.page-break{
    margin: 1rem auto 1.5rem;
    width: calc(100% - 6rem);
    height: 2px;
}


.text-limit-2-row{
    overflow:hidden!important;
    display:-webkit-box!important;
    -webkit-line-clamp:2!important;
    -webkit-box-orient:vertical
}

/* BEGIN::Main page */

#main-content{
    position: fixed;
    top: 0.1rem;
    bottom: 0.1rem;
    right: 0.1rem;
    left: 0.1rem;
    z-index: 2;
    color: #fff;
    padding:5px;
}
#main-content h1{
    font-weight: 500;
    text-align: center;
    text-shadow: 0 0 5px rgba(0,0,0, 0.75);
    letter-spacing: 1px;
    line-height: 1.25;
    text-transform: uppercase;
}
#main-content h3{
    text-align: center;
    text-shadow: 0 0 5px rgba(0,0,0, 0.6);
    font-weight: 200;
    font-style: italic;
    position: absolute;
    bottom: 4.5rem;
    left: 0;
    right: 0;
    font-size: 1rem;
    letter-spacing: 1px;
}
#select-lang-container{
    margin: 2.5rem auto;
    width: auto;
    text-align: center;
}
#play-video{
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 7rem;
    right: 0;
    left: 0;
    cursor: pointer;
}
#skip-intro{
    color: #ad5326;
    display: flex;
    align-items: center;
    position: absolute;
    bottom: 0;
    right: 0;
    cursor: pointer;
    animation: grow 1.5s infinite;
    border-radius: 40px;
    padding: .25rem .5rem;
}
#skip-intro img{
    margin-left: .5rem;
}
@keyframes grow {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}
/* END::Main page */


/* BEGIN::Map page */
#map{
    height: 100%;
    position: relative;
    overflow-y: hidden;
    overflow-x: auto;
}
#map img{
    height: 100%;
}

.map-buttons{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.map-button{
    color: #fff;
    cursor: pointer;
    opacity: .6;
    border: 2px solid #fff;
    border-radius: 40px;
    padding: .5rem 1rem;
}
.map-button.active{
    opacity: 1;
}

.map-items{
    height: 50%;
    width: 50%;
}
.map-item{
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    position: absolute;
    font-size: 1.25rem;
    background: transparent;
    border-radius: 5px;
    width: 20px;
    height: 20px;
}
.map-item:focus,
.map-item:active{
    background: transparent;
}

#back-intro{
    position: fixed;
    left: 2rem;
    bottom: 2rem;
    color: #fff;
    display: flex;
    align-items: center;
    cursor: pointer;
}
#back-intro img{
    margin-right: .5rem;
}
/* END::Map page */


/* BEGIN::QR */
#qr{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
#qr img{
    height: 50%;
}
/* END::QR */





/* BEGIN::Bottom-sheet customization */
.sheet .body img{
    border-radius: 1rem;
    width: 100%;
    object-fit: cover;
    aspect-ratio: 3/2;
}
.sheet .body span{
    position: absolute;
    left: 2rem;
    top: 2rem;
    background: rgba(0, 0, 0, .4);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    color: #fff;
    font-size: 1.25rem;
}
.sheet .body h1{
    text-align: center;
    margin: 0;
    font-weight: 400;
    font-size: 1.75rem;
}
.sheet .body hr{
    margin-bottom: 1rem;
}

#preview-button-ar{
    color: #fff;
    background: #1e5667;
    background: linear-gradient(90deg, rgba(13, 47, 57, 1)  0%, rgba(30, 86, 103, 1) 100%);
    font-size: 1.15rem;
    border: none;
    width: 100%;
    box-sizing: border-box;
    padding: 1rem;
    border-radius: 1rem;
    font-family: inherit;
    cursor: pointer;
}
#preview-button-detail{
    color: #fff;
    background: #1e5667;
    background: linear-gradient(90deg, rgba(13, 47, 57, 1)  0%, rgba(30, 86, 103, 1) 100%);
    font-size: 1.15rem;
    border: none;
    width: 100%;
    box-sizing: border-box;
    padding: 1rem;
    border-radius: 1rem;
    font-family: inherit;
    cursor: pointer;
}
/* END::Bottom-sheet customization */

#model-preview.modal{
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    opacity: 0;
    transition: height .3s ease-in, opacity .2s ease-in;
    background: #fff;
    border-radius: 30px 30px 0 0;
    box-shadow: 0 0 15px 5px rgba(32, 32, 32, .5);
}

#model-preview.modal.active{
    opacity: 1;
    height: auto;
    transition: height .3s ease-in, opacity .2s ease-in;
}

#model-preview.modal .modal-overlay{
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, .5);
    position: fixed;
    top: 0;
    bottom: 0;
    z-index: -1;
    display: none;
}
#model-preview.modal.active .modal-overlay{
    display: unset;
}
#model-preview.modal .modal-close{
    position: absolute;
    top: -0.75rem;
    right: 1rem;
    cursor: pointer;
    background: #fff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    align-items: center;
    display: flex;
    justify-content: center;
}

#model-preview.modal .modal-body{
    overflow-y: auto;
    padding: 1.5rem 1rem;
}

#model-preview.modal .modal-body img{
    border-radius: 1rem;
    width: 100%;
    object-fit: cover;
    aspect-ratio: 3/2;
    margin-bottom: 1rem;
}

#model-preview.modal .modal-body span{
    position: absolute;
    left: 2rem;
    top: 2rem;
    background: rgba(0, 0, 0, .4);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    color: #fff;
    font-size: 1.25rem;
}
#model-preview.modal .modal-body h1{
    text-align: center;
    margin: 0;
    font-weight: 400;
    font-size: 1.75rem;
}


#mute-video{
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 9;
}
#ar-video-player{
    display: none;
}
#ar-back-button{
    position: fixed;
    left: 1rem;
    top: 1rem;
    color: #fff;
    display: flex;
    align-items: center;
    cursor: pointer;
    z-index: 9;
}
#ar-back-button img{
    margin-right: .5rem;
}

/* BEGIN::Modal customization */
#model-detail{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 99;
}
#model-detail.active{
    display: block;
}
#model-detail .close{
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #204753;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9;
}
#model-detail .header{
    position: relative;
}
#model-detail .header video{
    width: 100%;
}
#model-detail .body{
    height: calc(100% - 220px);
    margin-top: -1rem;
    background: #66d39d;
    background-image:url('../img/bgbody.jpg');
    border-radius: 1rem 1rem 0 0;
    padding: 5rem 1rem 2rem;
    position: relative;
}
#model-detail .body:after{
    content: '';
    height: 5rem;
background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.25) 0, rgba(102, 211, 157, 1) 95%);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}
#model-detail .body .body-wrapper{
    height: calc(100% - 5rem);
    padding-bottom: 4rem;
    overflow-y: auto;
}
#model-detail .body .title{
    text-align: center;
    font-weight: 500;
    font-size: 1.5rem;
}
#model-detail .body .subtitle{
    text-align: center;
    font-weight: 300;
    font-size: 1rem;
    margin-top: .5rem;
}
#model-detail .body .content{
    font-weight: 300;
}


#model-detail .header .video-control{
    position: absolute;
    left: 0;
    right: 0;
    bottom: -50px;
    z-index: 9;
    padding: 0 1rem;
    display: flex;
    align-items: end;
}
#model-detail .header .video-control .button{
    width: 50px;
    height: 50px;
    border-radius: .5rem;
    background-size: 30px;
    background-color: #0d2f39;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url("../img/icons/play.svg");
}
#model-detail .header .video-control .button.pause{
    background-image: url("../img/icons/pause.svg");
    background-size: 20px;
}
#model-detail .header .video-control .timeline{
    width: calc(100% - 50px - 2rem);
    margin: 0 auto;
    display: inline-block;
    position: relative;
}
#model-detail .header .video-control .timeline .timeline-time{
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: .75rem;
}
#model-detail .header .video-control .timeline .timeline-bar{
    width: 100%;
    height: 4px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    background: #c5c5c5;
    background-image: linear-gradient(to right, rgba(102, 211, 157, 1) 0%, rgba(102, 211, 157, 1) 50%, rgba(102, 211, 157, 0.25) 100%);
    margin-bottom: .5rem;
    border-radius: .5rem;
}

#model-detail .header .video-control .timeline .timeline-bar::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: #0d2f39;
    cursor: pointer;
    box-shadow: 0 0 2px 0 rgba(0, 0, 0, .5);
}

#model-detail .header .video-control .timeline .timeline-bar::-moz-range-thumb {
    width: 10px;
    height: 10px;
    background-color: #0d2f39;
    cursor: pointer;
}
/* END::Modal customization */
