body,
html {
    margin: 0;
    overflow: hidden;
    font-size: 16px;
    /*background-image: url('../images/bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;*/
    font-family: Montserrat;
}

:root {
    --bg-color: #fff;
    --text-color: #000;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 1.5s ease, color 1.5s ease;
}

body.night {
    --bg-color: #000;
    --text-color: #fff;
}

/* body svg path {
    transition: fill 1.5s ease, stroke 1.5s ease;
}

body.night svg path {
    fill: var(--text-color) !important;
    stroke: var(--text-color) !important;
} */

img {
    height: auto;
    width: auto;
    object-fit: contain;
    object-position: top center;
}

#ar-button {
    display: none;
    visibility: hidden;
}

.ar_button {
    cursor: pointer;
    position: absolute;
    top: 2rem;
    left: 2rem;
    width: 4.5rem;
}

.QRcode {
    flex-direction: column;
    align-items: center;
    position: absolute;
    left: 5vw;
    top: 18vh;
    display: none;
    border: 2px solid #000;
    background-color: #ffff;
    padding: 0.5rem;
    max-width: 11rem;
}

.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;
    text-align: center;
}

#qrCodeImg img {
    max-width: 65%;
    margin: 0 auto;
}

.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.5rem;
}

.loadingContent {
    position: fixed;
    z-index: 100;
    top: 0%;
    left: 0%;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 400;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    color: #0C0C0B;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    cursor: wait;
}

.loadingContent img {
    /*    width: auto;*/
    width: 140px;
    height: 100%;
}

.model,
#container3d_replace {
    width: 100vw;
    height: 100vh;
}

/*drag and scroll*/
/*.drag-and-scroll {
    display: flex;
    position: absolute;
    flex-direction: column;
    align-items: center;
    text-align: center;
    bottom: 40px;
    left: 50%;
    transform: translate(-50%, 0%);
    -webkit-transform: translate(-50%, 0%);
}

.drag-and-scroll-image {
    width: 4rem;
    height: auto;
    animation-name: drag-and-scroll;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-name: drag-and-scroll;
    -webkit-animation-duration:2s;
    -webkit-animation-timing-function: linear;
}

.drag-and-scroll-p {
    text-transform: uppercase;
    font-size: 0.6rem;
    color: #4F4E4F;
}

@keyframes drag-and-scroll {
    0%   {-webkit-transform: translate(0, 0);}
    25%  {-webkit-transform: translate(-2rem, 0);}
    50%  {-webkit-transform: translate(0, 0);}
    75%  {-webkit-transform: translate(2rem, 0);}
    100% {-webkit-transform: translate(0, 0);}
}

@-webkit-keyframes drag-and-scroll {
    0%   {-webkit-transform: translate(0, 0);}
    25%  {-webkit-transform: translate(-2rem, 0);}
    50%  {-webkit-transform: translate(0, 0);}
    75%  {-webkit-transform: translate(2rem, 0);}
    100% {-webkit-transform: translate(0, 0);}
}*/


#config {
    position: absolute;
    bottom: 2.8125rem;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3.5625rem;
}

#config .item {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;

}

#config .item label {
    color: var(--text-color);
    transition: color 1.5s ease;
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    text-align: center;
}

body.night #config label {
    color: #fff;
}

#config .options {
    display: flex;
    gap: .75rem;
    justify-content: space-between;
}

#config .options .option {
    cursor: pointer;
    border-radius: 50%;
}

#config .options .option .icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.20);
    padding: 4px;
    transition: border-color 1.5s ease;

}

#config .options .option.active .icon {
    border-color: var(--text-color);
}


@media (max-width: 1399px) {

    html,
    body {
        font-size: 15px;
    }
}

@media (max-width: 1199px) {

    html,
    body {
        font-size: 14px;
    }
}

@media (max-width: 991px) {

    html,
    body {
        font-size: 13px;
    }
}

@media (max-width: 767px) {

    html,
    body {
        font-size: 12px;
    }
}

@media (max-width: 575px) {

    html,
    body {
        font-size: 10px;
    }

    #config {
        gap: 16px;
    }

    #config .item {
        gap: 16px;
    }

    #config .options {
        gap: 12px;
    }

    .QRcode {
        left: 11vw;
        top: 21vh;
    }
}

@media (max-width: 360px) {}