/* mobile */
@media screen 
and (max-device-width: 915px) {

    body .cardsocial {
        font-size: 12px;
    }

    body .quiz-container {
        font-size: 10px;
    }

    body .quiz-container.result {
        justify-content: normal;
    }

    body .quiz-container.result > div {
        padding: 30px 0;
    }

    body .quiz-container .card {
        margin: 0;
    }

    body .question span {
        font-size: 30px;
    }

    body .oplist {
        margin: 5px;
    }

    body .opt {
        padding: 4px;
        margin: 3px;
    }

    body .title {
        font-size: 50px;
        line-height: 26px;
        margin: 0 0 10px !important;
    }
    body .title div:nth-child(3) {
        margin: 10px;
    }
    body .t2 {
        font-size: 10px;
        margin: 10px !important;
    }

    body .done > div {
        margin: 3px 0;
    }

    body #startBtn {
        padding: 10px 25px;
        font-size: 12px;
        margin-top: 5px !important;
    }

    body .cgcard {
        min-width: 25%;
    }

    body .badge {
        font-size: 8px;
    }

}
@media screen 
and (max-device-height: 281px) {
    body .question span {
        font-size: 35px;
    }

    body .title {
        font-size: 50px;
        line-height: 26px;
        margin: 0 0 10px !important;
    }
    body .title div:nth-child(3) {
        margin: 12px;
    }
    body .t2 {
        margin: 10px !important;
    }
}

@media (hover: hover) {

    .btn:hover {
        background-color: #a78973;
    }

    .skip:hover {
        color: red;
    }

    .opt:hover:not(.selected) {
        color: white;
        /* border: 1px solid #a78973; */
        background-color: #a78973;
    }

    .hovercard:not(.nospin):hover .back {
        transform: rotateY(180deg) !important;
    }
    .hovercard:not(.nospin):hover .front {
        transform: rotateY(360deg) !important;
    }
}

.showFront .back {
    transform: rotateY(180deg) !important;
}
.showFront .front {
    transform: rotateY(360deg) !important;
}

@font-face {
    font-family: mosthat;
    src: url('https://cdn.splixorvenuta.site/assets/legacy2/fonts/Mosthat.otf');
}


html, body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    -webkit-font-smothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -ms-overflow-style: none;
}

body {
    background-image: url('https://cdn.splixorvenuta.site/assets/legacy2/images/quiz_bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #e9c9c4;
}
html {
    scrollbar-width: none;
}
body::-webkit-scrollbar {
    display: none;
}

#startBtn {
    padding: 15px 35px;
    border: 2px solid white;
    border-radius: 0;
    background-color: transparent;
    font-size: 16px;
    font-weight: normal;
    letter-spacing: 1px;
}

.quiz-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    /* height: 100%; */
    width: 80%;
    font-size: 14px;
}

.question span {
    font-family: "mosthat", sans-serif;
    font-size: 40px;
    /* color: white; */
    text-transform: uppercase;
}

.quiz-container > div {
    text-align: center;
    font-family: 'Poppins', sans-serif;
    margin: 20px 0;
}

.done > div {
    margin: 8px 0;
}

form {
    display: grid;
    grid-template-columns: 40% 60%;
    width: 60%;
}
form > label {
    text-align: center;
    font-family: 'Poppins', sans-serif;
    margin: 5px;
}
form > input {
    margin: 5px;
    border: 1px solid black
}
form > input:valid {
    border-color: black !important;
}

.card {
    position: absolute;
    padding: 0px 20px 20px;
    border-radius: 4px;
    /* background-color: white; */
    /* box-shadow: 0 0 20px 2px rgb(0 0 0 / 10%); */
    width: 80%;
    opacity: 0;
}

.title {
    font-family: 'mosthat', sans-serif !important;
    font-size: 120px;
    line-height: 61px;
    color: white;
}
.title div:nth-child(3) {
    margin: 40px;
    color: #b21268;
    font-style: italic;
}

.t2 {
    color: white;
    font-family: "Gotham SSm A","Gotham SSm B",Montserrat,sans-serif !important;
    font-size: medium;
    font-weight: 100;
    font-style: italic;
    letter-spacing: 1.1px;
}

.btn {
    margin: 10px 0 0 !important;
    color: white;
    background-color: black;
    border-radius: 4px;
    padding: 15px 20px;
    cursor: pointer;
    font-family: "Gotham SSm A","Gotham SSm B",Montserrat,sans-serif !important;
    font-weight: 600;
    letter-spacing: 1.5px;
}

.skip {
    cursor: pointer;
    margin: 10px 0 !important;
    color: darkred;
}

.oplist {
    display: grid;
    margin: 5%;
    grid-template-columns: 50% 50%;
}

.opt {
    margin: 5px;
    background-color: white;
    /* border: 1px solid black; */
    border-radius: 4px;
    text-align: start;
    padding: 10px;
    cursor: pointer;
}

.selected {
    background-color: black;
    color: white;
}
.loader {
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    width: 30px !important;
    height: 30px !important;
    animation: spin 2s linear infinite;
}
.cgcard .loader {
    position: absolute;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.popup {
    padding: 40px;
    border-radius: 20px;
    background-color: white;
}

.popup .skip {
    margin-top: 20px;
}

.badge {
    color: #7c7b7b;
    font-size: 10px;
}
.badge a {
    text-decoration: none;
    color: #5f92d7;
}
.grecaptcha-badge { visibility: hidden; }

.cardwrapper {
    position: absolute;
    display: none;
    flex-direction: column;
    width: 100%;
    height: 100%;
    left: 100%;
}
.wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 600px;
    width: 100%;
    height: 100%;
    left: 100%;
}
.cgcard {
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    --col1: #9bba9a;
    --col2: #778976;
    transform-style: preserve-3d;
    /* width: 60%; */
    height: 90%;
    /* max-width: 400px;
    max-height: 600px; */
    aspect-ratio: 0.7;
    font-family: 'mosthat', sans-serif;
    letter-spacing: 1px;
}
.cgcard > div {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 0 20px 2px rgb(0 0 0 / 10%);
    backface-visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /* transition: all 0.8s ease; */
}
/* .cgcard .back {
    transform: rotateY(-180deg);
} */

.innercard {
    position: sticky;
    display: flex;
    align-items: center;
    flex-direction: column;
    left: 5%;
    top: 3%;
    border: 4px solid var(--col2);
    border-radius: 10px;
    background-color: var(--col1);
    width: 88%;
    height: 92%;
    overflow: hidden;
}
.cardtitle {
    font-size: 3vh;
    margin-top: 2vh;
    text-transform: uppercase;
    display: flex;
}
.cardtitle span {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 1vh;
    margin-top: 4px;
    margin-right: 5px;
}
.cardtitle span:nth-child(2) {
    margin-right: 0px;
    margin-left: 5px;
}
.cardimage {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90%;
    height: 60%;
}
.cardimage img {
    max-width: 100%;
    max-height: 100%;
    pointer-events: none;
}
.back .cardimage {
    --size: 1px;
    position: absolute;
    bottom: 2%;
    transform: translate3d(0, 50%, 0) scale(1.2);
    /* filter: drop-shadow(0px 0px var(--size) var(--col, white)) drop-shadow(-0px 0px var(--size) var(--col, white)) drop-shadow(0px -0px var(--size) var(--col, white)) drop-shadow(0px 0px var(--size) var(--col, white)); */
}
.cardname {
    margin-top: 1vh;
    font-size: 4vh;
    text-transform: uppercase;
}
.cardfooter {
    position: absolute;
    bottom: 2vh;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    bottom: 14px;
    color: var(--col2);
    background-color: var(--col1);
    font-size: 3vh;
    font-weight: bold;
    border: solid 2px var(--col2);
    border-radius: 50px;
    width: 9vh;
    height: 4vh;
}
/* .logo div {
    background-image: url('https://cg-catalogue.s3.amazonaws.com/assets/legacy2/images/logo-home.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 9vh;
    height: 100%;
} */
.cardfooter img {
    height: 2.4vh;
}
.line {
    width: 100%;
    border-top: 2px solid var(--col2);
}
.cardtype {
    margin-top: 1vh;
    font-size: 5vh;
    text-transform: uppercase;
}
.carddesc {
    font-size: 2.5vh;
    text-align: center;
    line-height: 3vh;
    margin: 3vh;
    z-index: 1;
}
.cardheader {
    text-align: center;
    font-family: 'mosthat', sans-serif;
    font-size: 4vh;
    font-weight: bold;
    letter-spacing: 1px;
    margin-top: 3vh;
}
.cardsocial {
    margin-left: 5%;
    width: 40%;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
}
.disable {
    opacity: 0;
    pointer-events: none;
}
.frontimg {
    width: 100%;
    border-radius: 20px;
}
.cgcard .front img, .cgcard .back img {
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.cgcard .logo img {
    height: auto;
}