@font-face {
    font-family: 'Founders-grotesk';
    src: url(../fonts/founders-grotesk-web-regular.woff), url(../fonts/FoundersGrotesk-Regular.otf);
    font-display: swap;
}

@font-face {
    font-family: 'OggText';
    src: url(../fonts/OggText-Book.woff), url(../fonts/OggText-Book.otf);
}

body, html {
    margin: 0;
    background-color: #F0EDE9;
    overflow: hidden;
    font-family: 'Founders-grotesk';
}

* {
    box-sizing: border-box;
}

a,
a:hover,
a:visited,
a:active {
    text-decoration: none;
    color: #000;
}

img {
    height: auto;
    width: auto;
    object-fit: contain;
    object-position: top center;
}

.objCover {
    object-fit: cover;
}

#overlay {
    position: absolute;
    width: 50%;
    height: 100vh;
    transform: translate(50%);
    z-index: 1000;
    display: block;
}

#overlay.left {
    transform: translate(0);
    width: 58%;
}

#ar-button {
    position: absolute;
    top: 10%;
    right: 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    background-color: #fff;
    border: 1.86168px solid #000000;
    border-radius: 3.72337px;
    box-sizing: border-box;
    padding: 1rem 1.5rem;
    font-size:14px;
    line-height:20px;
    /*font-size: 26.0636px;*/
    font-style: normal;
    font-weight: 400;
    /*line-height: 37px;*/
    letter-spacing: 0.05em;
    text-align: left;

    opacity: 1;
    visibility: visible;
    transition: transform 0.1s, opacity 0.1s, visibility 0.1s cubic-bezier(0.8, 0.27, 0.18, 0.67);
}

#ar-button.clicked {
    transform: scaleX(0.5);
    opacity: 0;
    visibility: hidden;
}

#ar-button img {
    width: 26px;
    height: 26px;
    margin-right: 1rem;
    image-rendering: -webkit-optimize-contrast;
}

#return-btn {
    transform: scaleX(2.3);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.1s, opacity 0.1s, visibility 0.1s cubic-bezier(0.8, 0.27, 0.18, 0.67);
}

#return-btn.show {
    transform: scaleX(1);
    opacity: 1;
    visibility: visible;
}

.QRcode {
    flex-direction: column;
    align-items: center;
    position: absolute;
    right: 5vw;
    top: 18vh;
    display: none;
    border: 2px solid #000;
    background-color: #ffff;
    padding: 0.5rem;
    max-width: 11rem;
    z-index: 2;
}

.QRcode h1 {
    font-weight: bold;
    color: #000;
    text-align: center;
    font-size: 1.2rem;
}

.QRcode p {
    margin: 0.8rem 0;
    color: #000;
    font-size: 1rem;
}

.closeQRcode {
    display: flex;
    justify-content: center;
    background-color: rgba(202, 202, 202, 0.952);
    text-decoration: none;
    padding: .4rem 2rem;
    z-index: 1;
    width: 3rem;
    border-radius: 7.7px;
    color: #000;
    margin: auto;
    margin-top: 0.3rem;
}

.loadingContent {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 600;
    color: #515151;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.loading {
    width: 270px;
    height: 8px;
    border-radius: 6.5px;
    background-color: #fff;
    margin-bottom: 11px;
}

.loading .barBlue {
    position: absolute;
    height: 8px;
    width: 0;
    border-radius: 6.5px;
    background-color: #515151;
}

.model {
    height: 100vh;
    width: 100vw;
    position: relative;
    display: flex;
}

#container3d_replace {
    width: 60%;
    height: 100vh;
    margin: 0 auto;
}

.container-annotation {
    width: 64vw !important;
    margin: 0 !important;
}

.model-text {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;
    z-index: 999;
}

#overlay-btn {
    display: none;
    position: absolute;
    z-index: 1;
    bottom: 10%;
    width: 100%;
    text-align: center;
    font-size: 18.3px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
    letter-spacing: 0.05em;
    cursor: pointer;
}

.model-text,
#overlay-btn {
    bottom: 3%;
}

.model-text p {
    font-size: 13.297px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
    letter-spacing: 0.05em;
    text-align: center;
    margin: 0 1rem;
}

.annotation-box {
    background: white;
    /* border-radius: 1.2rem; */
    max-width: 70rem;
    position: absolute;
    top: 40%;
    right: 10rem;
    display: none;
}

.annotation-box .annotation {
    padding: 0.5rem 1.5rem;
    position: relative;
}

.annotation-box .annotation img {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 40px;
    cursor: pointer;
}

.annotation-box .annotation p {
    /* font-size: 30.372px; */
    /* line-height: 42px; */
    font-size: 19px;
    line-height: 25px;
    font-weight: 400;
    /* color: #515151; */
    color: #000;
    letter-spacing: 0;
    /* letter-spacing: -0.02em; */
}

.annotation-box .annotation img {
    width: 28px;
}

.return-btn {
    /* display: none; */
    position: absolute;
    top: 10%;
    right: 5%;
    cursor: pointer;
}

.return-btn img {
    width: 150px;
    height: 50px;
}

.qr-code-container {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 0 auto;
}

.qr-code-heading {
    font-family: OggText;
    font-size: 65px;
    font-style: normal;
    font-weight: 400;
    line-height: 165px;
    letter-spacing: 2.82px;
    text-align: center;
    margin-top: 0;
}

#qrCodeImg {
    width: 50%;
    margin-bottom: 20%;
}

@media (min-width: 1440px) {
    .container-annotation {
        width: 58% !important;
    }

    .annotation-box {
        width: 29vw;
    }

    /* #ar-button{
        font-size:21.0636px;
        line-height:37px;
    
    }*/
}

@media (max-width: 1440px) {
    .container-annotation {
        width: 54vw !important;
    }

    #qrCodeImg {
        width: 45%;
        margin-bottom: 10%;
    }

    .annotation-box {
        width: 31vw;
    }



    #overlay.left {
        width: 55%;
    }
}



@media (max-width: 1399px) {
    html, body {
        font-size: 15px;
    }



    #ar-button img {
        width: 22px;
        height: 22px;
    }

    .annotation-box {
        top: 33%;
    }

    .container-annotation {
        width: 54vw !important;
    }

}

@media (min-width: 1199px) {
    .qr-code-heading {
        line-height: 125px;
        font-size: 56px;
    }

    /* .annotation-box .annotation p {
        font-size: 18px;
        line-height: 31px;
    } */

    #ar-button {
        line-height: 28px;
        font-size: 14px;
        padding: 0.7rem 1rem;
    }

    #overlay-btn {
        font-size: 14.2px;
    }
}

@media (max-width: 1199px) {
    html, body {
        font-size: 14px;
    }
}

@media (max-width: 991px) {
    html, body {
        font-size: 13px;
    }

    .model {
        top: initial;
    }

    #ar-button {
        top: 5%;
        right: 50%;
        transform: translate(50%);
        font-size: 14px;
        line-height: 20px;
        padding: 1rem 1.5rem;

        opacity: 1;
        visibility: visible;
    }

    #ar-button.clicked {
        transform: translate(50%);
        opacity: 1;
        visibility: visible;
    }

    #return-btn {
        opacity: 1;
        visibility: visible;
        display: none;
    }

    #ar-button img {
        width: 20px;
        height: 20px;
    }

    .model-text p {
        text-align: center;
        font-size: 19px;
        line-height: 19px;
        margin: 0 0.5rem;
    }

    #container3d_replace {
        width: 100vw;
        height: 62vh;
        margin-top: auto !important;
        margin-bottom: auto !important;
    }

    .annotation-box {
        width: 29.6rem;
        top: initial;
        bottom: 10%;
        right: 50%;
        transform: translate(50%);
    }

    /* .annotation-box .annotation p {
        font-size: 2.23rem;
        line-height: 2.25rem;
    } */

    .container-annotation {
        width: 100vw !important;
    }

    #overlay {
        height: 62vh;
    }

    #overlay,
    #overlay.left {
        width: 100%;
        transform: translate(0, 19vh);
    }

}

@media (max-width: 767px) {
    html, body {
        font-size: 12px;
    }

}

@media (max-width: 575px) {
    html, body {
        font-size: 10px;
    }

    .model-text p {
        width: 60%;
        margin: 0;
    }

    .QRcode {
        left: 11vw;
        top: 21vh;
    }

}

@media (max-width: 360px) {}