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-face {
    font-family: JohnnieWalkerSans-Book;
    src: url(../../../assets/fonts/JohnnieWalkerSans-Book.otf);
}

img {
    height: auto;
    width: auto;
    object-fit: contain;
    object-position: top center;
}

.objCover {
    object-fit: cover;
}

#ar-button {
    position: absolute;
    top: 40px;
    left: 90px;
    width: 4.5rem; 
    text-decoration: none;
}
#ar-button span{
    font-size: 1rem;
    font-family: JohnnieWalkerSans-Book;
    color: #4A90E2; 
    white-space: nowrap;
    text-align: center;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translate(-50%, 100%);
}
#ar-button img {
    width: 100%;
    /* width: 4.5rem; */
}

.QRcode {
    flex-direction: column;
    align-items: center;
    position: absolute;
    left: 5vw;
    top: 12rem;
    display: none;
    border: 2px solid #4A90E2;
    background-color: #ffff;
    padding: 0.5rem;
    max-width: 11rem;
    font-family: 'JohnnieWalkerSans-Book';
}

.QRcode h1 {
    font-weight: bold;
    color: #4A90E2;
    text-align: center;
    font-size: 1.2rem;
}

.QRcode p {
    margin: 0.8rem 0;
    color: #4A90E2;
    font-size: 1rem;
    text-align: center;
}

.QRcode img {
    width: 65%;
}

.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 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    text-align: center;
    font-size: 1.1rem;
    font-weight: 400;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    color: #000;
    display: flex;
    flex-direction: column;
}

.loadingContent img {
    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: 0;
    width: 100%;
}

.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);}
}*/

@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;
    }    
    #ar-button {
        position: absolute;
        top: 24px;
        left: 55px;
    }
}

@media (max-width: 575px) {
    html, body {
		font-size: 10px;
    }

    #ar-button,
    #ar-button img {
        width: 50px;
        height: 50px;
    }

    .QRcode {
        left: 11vw;
        top: 21vh;
    }
}

@media (max-width: 360px) {
    
}