html {
    font-size: 10px;
}
body{ 
    padding: 0;
    margin: 0; 
    overflow: hidden; 
    /* background-color: #aea892; */
}

@font-face {
    font-family: SamsungSansRegular;
    src: url('../fonts/SamsungSans-Regular.ttf');
}

.drag-and-scroll {
    display: flex;
    opacity: 1;
    position: absolute;
    flex-direction: column;
    align-items: center;
    bottom: 5vh;
    left: 0;
    width: 100%;
}

.drag-and-scroll img{
    width: 8rem;
    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-family: SamsungSansRegular;
    font-size: 1.4rem;
}

@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);}
  }

.rotate_div {
    position: absolute;
    bottom: 10vh;
    width: 100%;
    text-align: center;
    display: block;
}

.sam_logo {
    margin-bottom: -30px;
}

.product {
    margin-top: -30px;
    width: 225px;
}

.logo {
    position: absolute;
    text-align: center;
    width: 400px;
    top: 0;
    left: 0;
}

.logo p {
    font-family: SamsungSansRegular;
    font-size: 2.3rem;
    /* margin-top: -60px;
    margin-bottom: 30px; */
}


p {
    margin: auto;
}

.quest {
    position: absolute;
    top: 30vh;
    left: 10vw;
    display: none;
    z-index: 3;
}

.design {
    top: 53vh;
    left: 10vw;
}


.design{
    border: 1px solid #C0C0C0;
    background: #fff;
    width: 420px;
    position: absolute;
    display: none;
    z-index: 3;
}


.design .txt{
    width: 85%;
    font-family: SamsungSansRegular;
    padding-top: 18px;
    padding-left: 17px;
    padding-bottom: 18px;
    font-size: 1.6rem;
    text-align: center;
}


.close {
    position: relative;
    width: 10px;
    margin: auto;
}

.close-button {
    background: #fff;
    width: 20px;
    height: 20px;
    border-radius: 20px;
    border: 1px solid #C0C0C0;
    position: absolute;
    right: -10px;
    top: -10px;
    display: flex;
    z-index: 2;
}

.close-button:hover {
    cursor: pointer;
}

.home h2{
    text-align: center;
    font-size: 35px;
}

.home h3 {
    font-size: 25px;
}

.home p {
    font-size: 20px;
}

.all-models {
    display: flex;
}

.all-models ul {
    width: 33%;
    text-align: center;
}

.all-models ul li {
    list-style-type: none;
}
img{
    max-width: 100%;
    height: auto;
}

#container3d {
    margin: auto;
    height: 100vh;
}

#container3d canvas {
    position: absolute;
    z-index: 2;
}

#container3d canvas:hover {
    cursor: pointer;
}

#ar-button{
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 6rem;   
    z-index: 3; 
}

#ar-button img {
    width: 6rem;
}

.QRcode{
    flex-direction: column;
    align-items: center;
    position: absolute;
    right: 5vw;
    top: 10vh;
    display: none;
    border: 2px solid #000000;
    background-color: #ffff;
    padding: 0.5rem;
    max-width: 20rem;
}
.QRcode h1{
    font-weight: bold;
    color: #000000;
    text-align: center;
    font-size: 1.9rem;
}
.QRcode p{
    margin: 0.8rem 0;
    color: #000000;
    font-size: 1.5rem;
}
.QRcode img{
    width: 85%;
}
.closeQRcode{
    display: flex;
    justify-content: center;
    background-color: rgba(202, 202, 202, 0.952);
    text-decoration: none;
    padding: .4rem 2rem;
    z-index: 1;
    width: 4rem;
    border-radius: 7.7px;
    color:#000000;
    margin: auto;
    margin-top: 0.3rem;
    font-size: 1.5rem;
}

.loadingContent {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 600;
    color: #e2e2e2;
    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: #4a90e2;
}

.try-ar {
    width: 65px;
    height: 100px;
}
.try-ar2 {
    width: 65px;
    height: 100px;
}

.QRcode h1, p {
    color: #000000;
}

@-webkit-keyframes icon-translate {
    0% {
        left: 0
    }

    25% {
        left: 30px
    }

    50% {
        left: -30px
    }

    75% {
        left: 30px
    }

    100% {
        left: 0
    }
}

@keyframes icon-translate {
    0% {
        left: 0
    }

    25% {
        left: 30px
    }

    50% {
        left: -30px
    }

    75% {
        left: 30px
    }

    100% {
        left: 0
    }
}

/* Extra small devices (phones, 576px and down) */
@media only screen and (max-width: 576px) {

    .product {
        width: 150px;
    }
    
    .logo {
        width: 80%;
        top: 0;
        left: 0;
    }

    .logo p {
        font-size: 1.4rem;
        /* margin-top: -40px; */
        /* margin-bottom: 10px; */
    }

    .design,
    .quest {
        /* height: 20%; */
        width: 94%;
        left: 2vw;
        bottom: 2vh;
        top: unset;
        right: unset;
    }

    .quest {
        left: 3vw;
        bottom: 1vh;
    }

    iframe {
        width: 100%;
        height: 200px;
    }

    .design .txt {
        font-size: 1.2rem;
        width: 90%;
        padding-top: 10px;
        padding-left: 10px;
        padding-bottom:10px;
    }

    /* .quest .close-button {
        right: -85px;
    } */

    #ar-button,
    #ar-button img{
        width: 5rem;
    }
    .QRcode{
        left: 10vw;
        top: 21vh;
    }
    #ar-button{
        top: 0;
        right: 1rem;   
    }
}