html {
    font-size: 10px;
}
body{ 
    padding: 0;
    margin: 0; 
    overflow: hidden; 
    background-color: #2f2f2f;
}

@font-face {
    font-family: MontserratRegular;
    src: url('../fonts/Montserrat-Regular.ttf');
}
.desktop-header,
h1 {
    font-family: MontserratRegular;
    color: #fff;
    text-align: center;
    font-size: 5rem;
    font-weight: 100;
}

h1 {
    display: none;
}

.desktop-header {
    display: block;
    margin-top: 8vh;
}

h3,
.color-text,
.drag p {
    font-size: 1.6rem;
}


canvas {
    bottom: 7vh;
    position: relative;
    z-index: 1;
}


.drag {
    position: absolute;
    text-align: center;
    bottom: 3vh;
    left: 23vw;
    transform: translate(-50%, -20%);
}

.drag p {
    margin-top: 3px;
}

.colors {
    position: relative;
    display: inline-flex;
    top: 16vh;
    z-index: 2;
}

h3 {
    font-family: MontserratRegular;
    color: #fff;
    text-align: center;
    font-weight: 100;
    position: absolute;
    bottom: 19vh;
    left: 26vw;
}

.rose,
.gold,
.white {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    margin: 0 4vw;
    cursor: pointer;
}

.rose {
    background-color: #f4bfb5;
}

.gold {
    background-color: #ffd979;
}

.white {
    background-color: #efeadc;
}

.color-text {
    font-family: MontserratRegular;
    color: #ffffff;
}

.drag p {
    font-family: MontserratRegular;
    color: #fff;
}

.buy-button {
    position: absolute;
    text-align: center;
    bottom: 0vh;
    width: 60%;
    height: 100vh;
    left: 40%;
}


.buy {
    background-color: #000000;
}

.buy-button a {
    font-family: MontserratRegular;
    color: #ffffff;
    text-decoration: none;
    font-size: 25px;
    display: block;
    width: 80%;
    margin: auto;
    background-color: #000000;
    padding: 20px;
    position: absolute;
    bottom: 8vh;
    left: 5vw;
}

.home h2{
    text-align: center;
    font-size: 35px;
}

.home h3 {
    font-size: 2.6rem;
}

.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;
}

.drag img {
    width: 90px;
}
#container3d {
    margin: auto;
    height: 100vh;
}

#container3d canvas:hover {
    cursor: pointer;
}


#container3d {
    margin-right: 55%;
}

.QRcode{
    flex-direction: column;
    align-items: center;
    position: absolute;
    right: 5vw;
    top: 18vh;
    display: none;
    border: 2px solid #000000;
    background-color: #ffff;
    padding: 0.5rem;
    max-width: 18rem;
}
.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: 23%;
    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
    }
}

    /* DESKTOP */
@media only screen and (max-height: 500px) and (min-width: 640px){

    .desktop-header {
        margin-top: 3vh;
        font-size: 2.5rem;
    }

    .rose, .gold, .white {
        width: 85px;
        height: 85px;
    }

    .colors {
        top: 8vh;
    }

    h3 {
        bottom: 28vh;
    }
}

/* DESKTOP */
@media only screen and (max-width: 1200px) {

    .desktop-header {
        font-size: 2.3rem;
    }

    .rose, .gold, .white {
        width: 70px;
        height: 70px;
    }

    .colors {
        top: 10vh;
    }

    .buy-button a {
        width: 75%;
    }

    h3 {
        left: 21.5vw;
    }
}


/* MOBILE */
@media only screen and (max-width: 640px) {

    canvas {
        bottom: 23vh;
    }

    #container3d {
        margin-right: unset;
    }

    .loadingContent {
        left: 50%;
    }

    h1 {
        font-size: 2rem;
        display: block;
    }

    h3 {
        bottom: 7vh;
        left: 41vw;
        transform: translate(-15%, 0%);
    }

    .desktop-header {
        display: none;
    }

    .drag {
        bottom: 25vh;
        left: 50vw;
    }

    .drag p {
        font-size: 1rem;
        margin-top: 2px;
    }
    
    .drag img {
        width: 60px;
    }

    h3, 
    .color-text {
        font-size: 1.1rem;
        margin-top: 2px;
    }


    .buy-button a {
        font-size: 1.4rem;
        width: 60%;
        bottom: 2vh;
        padding: 5px;
        left: 19vw;
    }


    .buy-button {
        height: 28vh;
        left: 0;
        width: 100%;
    }

    .colors {
        margin: 0;
        top: 2vh;
    }

    .rose, .gold, .white {
        width: 30px;
        height: 30px;
    }

}

/* MOBILE */
@media only screen and (max-height: 450px) and (max-width: 576px) {
    .buy-button {
        height: 29vh;
    }

    .buy-button a {
        font-size: 1.3rem;
        transform: translate(0%, 0%);
    }

    .rose, .gold, .white {
        width: 30px;
        height: 30px;
    }

    h3 {
        bottom: 8vh;
        left: 42vw;
    }
}

/* DESKTOP */
@media only screen and (max-height: 350px) {

    h3, .color-text, .drag p {
        font-size: .9rem;
        margin-top: 2px;
    }

    .colors {
        top: 0vh;
    }

    .buy-button {
        height: 31vh;
    }
    .buy-button a {
        font-size: 1.3rem;
        padding: 5px;
        bottom: 2vh;
    }

    .drag {
        bottom: 27vh;
    }
    .drag img {
        width: 40px;
    }

    h3 {
        transform: translate(-15%, 0%);
        bottom: 9vh;
    }
}