@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap');

body {
    background: #000;
    font-family: "Roboto", sans-serif;
    position: relative;
    color: #fff;
    background: url("../images/bg.jpg")no-repeat top center;
    background-size: cover;
}

img {
    max-width: 100%;
    height: auto;
}

::-webkit-scrollbar {
    width: 6px;
    border-radius: 15px;
    background-color: #040f30;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px #040f30;
    border-radius: 15px;
    background-color: #040f30;
}

::-webkit-scrollbar-thumb {
    border-radius: 15px;
    -webkit-box-shadow: inset 0 0 6px #804c0e;
    background-color: #fdd76e;
}

@font-face {
    font-family: "cartoon_cookies";
    src: url("../fonts/cartoon-cookie.woff") format("woff");
    src: url("../fonts/cartoon-cookies.otf") format("opentype"),
        url("../fonts/cartoon-cookies.ttf") format("truetype");
}

.top-title {
    position: relative;
}

.logo {
    padding-top: 10px;
    text-align: center;
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translate(-50%, 0%);
}

.logo img {
    width: 70%;
}

.main-title {
    margin: 0% auto;
    text-align: center;
}

.main-title img {
    /* width: 50%; */
}

.scoreboard {
    position: absolute;
    right: -5%;
    z-index: 1;
    animation: float 2.1s ease-in-out infinite;
    bottom: 52%;
}

.question {
    position: absolute;
    top: 24%;
    left: 26%;
    z-index: 1;
    animation: wobble 2s ease 0s infinite normal forwards;
}

.question img {
    width: 150px;
}

.quiz {
    position: absolute;
    top: 40%;
    left: 18%;
    z-index: 1;
}

@keyframes float {
    0% {
        transform: translatey(0px);
    }

    50% {
        transform: translatey(-15px);
    }

    100% {
        transform: translatey(0px);
    }
}

@keyframes wobble {

    0%,
    100% {
        transform: translateX(0%);
        transform-origin: 50% 50%;
    }

    15% {
        transform: translateX(-20px) rotate(-5deg);
    }

    30% {
        transform: translateX(10px) rotate(5deg);
    }

    45% {
        transform: translateX(-10px) rotate(-3deg);
    }

    60% {
        transform: translateX(4px) rotate(2deg);
    }

    75% {
        transform: translateX(-6px) rotate(-1deg);
    }
}

.bright {
    animation: bright-animation linear 4s;
    animation-iteration-count: infinite;
    transform-origin: 50% 50%;
    -webkit-animation: bright-animation linear 4s;
    -webkit-animation-iteration-count: infinite;
    -webkit-transform-origin: 50% 50%;
    -moz-animation: bright-animation linear 4s;
    -moz-animation-iteration-count: infinite;
    -moz-transform-origin: 50% 50%;
    -o-animation: bright-animation linear 4s;
    -o-animation-iteration-count: infinite;
    -o-transform-origin: 50% 50%;
    -ms-animation: bright-animation linear 4s;
    -ms-animation-iteration-count: infinite;
    -ms-transform-origin: 50% 50%;
}

@keyframes bright-animation {
    0% {
        opacity: .9;
        filter: brightness(1);
    }

    50% {
        opacity: 1;
        filter: brightness(1.5);
    }

    100% {
        opacity: .9;
        filter: brightness(1);
    }
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 10px;
}

.step-inner {
    position: relative;
}

.step-inner span {
    position: absolute;
    color: #c5fd7b;
    font-size: 19px;
    line-height: 1.3;
    max-width: 250px;
    margin: auto;
    top: 60%;
    left: 0%;
    right: 0;
    text-transform: uppercase;
    font-weight: 700;
    text-align: center;
}

.qna-box {
    position: relative;
    text-align: center;
    margin: 0 auto;
    padding-top: 50px;
}

.qna-token {
    position: absolute;
    left: 0;
    right: -3%;
    top: 7%;
    font-size: 50px;
    z-index: 1;
}

.qna-token span {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translate(-35%, 0%);
    font-size: 60px;
    color: #ffff00;
    font-weight: 900;
}

.qna-top-token {
    display: none;
}

.token-light {
    position: absolute;
    left: 39%;
    top: 8%;
    max-width: 8%;
    animation: lightblink 2s linear infinite;
}

@keyframes lightblink {
    0% {
        transform: rotate(0) scale(1);
        opacity: 1;
    }

    50% {
        transform: rotate(180deg) scale(0);
        opacity: 1;
    }

    100% {
        transform: rotate(360deg) scale(1);
        opacity: 1;
    }
}

.qna-content {
    position: absolute;
    left: 0;
    right: 0;
    top: 20%;
    font-size: 22px;
    max-width: 80%;
    margin: 0 auto;
    font-weight: 700;
}

.qna-title {
    color: #fff;
    font-size: 16px;
    padding-bottom: 20px;
}

.qna-wrap {
    overflow-y: scroll;
    height: 1000px;
}

.qna-inner-wrap {
    padding-bottom: 25px;
    font-family: 'HelveticaNeueLTStd-HvCn', Arial, sans-serif;
    font-weight: 900;
    font-style: italic;
}

.qna-q {
    display: flex;
    align-items: center;
    color: #f9c851;
    gap: 5px;
    font-size: 18px;
    padding-bottom: 5px;
}

.qna-a {
    padding-left: 65px;
    display: flex;
    gap: 10px;
}

.qna-a-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.ans-box {
    background: #6f00e3;
    border: none;
    width: 180px;
    height: 50px;
    display: table-cell;
    vertical-align: middle;
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    line-height: 1.1;
    font-weight: bold;
    text-align: center;
}

.qna-a-btn.grey {
    /* filter: grayscale(1); */
}

.qna-a-btn:active .ans-box,
.qna-a-btn:hover .ans-box {
    background: #804c0e;
    color: #fff0d7;
    filter: none;
}

.qna-a-btn.grey:active .ans-box,
.qna-a-btn.grey:hover .ans-box {
    color: #fff;
    background: #ffb500;
    /* filter: grayscale(1); */
}

.qna-btn {
    position: relative;
    cursor: pointer;
    margin: 0 auto;
}

.qna-q span {
    display: flex;
    text-align: left;
    align-items: flex-start;
    font-size: 20px;
}

.qna-q p {
    text-align: left;
}

.qna-choice {
    /* position: absolute; */
    /* right: 10px; */
    /* bottom: 2px; */
    background: #ebc152;
    border: none;
    width: 180px;
    height: 50px;
    display: table-cell;
    vertical-align: middle;
    border-radius: 10px;
    color: #b0501b;
    font-size: 18px;
    line-height: 1.1;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
    box-shadow: inset 1px 1px 5px 1px #ccf174;
}

@keyframes beat {
    to {
        transform: scale(1.1);
    }
}

.ganjaran {
    text-align: center;
    padding: 100px 0px 40px;
}

.gan-wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 10px;
    margin-top: 100px;
}

.gan-inner-wrap {
    position: relative;
    padding-top: 10px;
}

.gan-amt {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0%);
    top: 28%;
    color: #c5fc7c;
    font-size: 80px;
    font-weight: bold;
    display: flex;
    align-items: center;
    font-style: italic;
}

.gan-amt.three {
    /* left: 7%; */
}

.gan-amt span {
    /* font-size: 50px; */
}

.gan-token {
    position: absolute;
    left: 20%;
    top: 60%;
    background: #080e35;
    border: none;
    padding: 5px 10px;
    color: #fff;
    font-size: 35px;
    border-radius: 10px;
    font-style: italic;
    text-transform: uppercase;
}

.gan-token span {
    /* font-size: 15px; */
}

.gan-token img {
    transform: scale(1.1);
    padding-right: 5px;
}

.gan-btn {
    position: absolute;
    bottom: -13%;
    cursor: pointer;
    left: 50%;
    transform: translate(-50%, -50%);
}

.gan-title {
    padding: 10px 0px 15px;
}

.gan-tnc-btn {
    margin-top: 80px;
    cursor: pointer;
}

.gan-modal .modal-content {
    background: url(../images/quiz/quiz.png) no-repeat;
    background-size: 100% 100%;
    width: 432px;
    height: 366px;
    margin: 0 auto;
}

.gan-modal .btn-close {
    position: absolute;
    right: 10px;
    top: 8px;
    font-size: 25px;
    color: #fff;
    filter: invert(1);
    opacity: 1;
}

.gan-modal-title {
    color: #925129;
    font-size: 20px;
    font-weight: bold;
}

.gan-modal-title span {
    font-size: 15px;
}

.gan-modal-content {
    text-align: center;
    padding-top: 7%;
}

.gan-modal-amt {
    color: #fdfd00;
    font-size: 50px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gan-modal-amt span {
    font-size: 70px;
}

.gan-modal .modal-content {
    background-color: transparent;
    border: transparent;
}

.gan-modal-tebus {
    color: #fff;
    font-weight: bold;
    font-size: 20px;
}

.gan-modal-btn {
    display: flex;
    justify-content: space-evenly;
    padding-top: 6%;
}

button.gan-tdk-btn {
    cursor: pointer;
    background: #ebc152;
    border: none;
    width: 180px;
    height: 50px;
    display: table-cell;
    vertical-align: middle;
    border-radius: 10px;
    color: #b0501b;
    font-size: 29px;
    line-height: 1.1;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
    box-shadow: inset -2px -4px 5px 1px #ccf174, inset 2px 5px 5px 1px #ccf174;
}

.tnc-modal .modal-dialog {
    max-width: 818px;
    height: 568px;
}

.tnc-modal .modal-content {
    background: url(../images/quiz/quiz.png) no-repeat;
    background-size: 100% 100%;
    border: transparent;
}

.tnc-modal .btn-close {
    position: absolute;
    right: 18px;
    top: 12px;
    font-size: 25px;
    color: #fff;
    filter: invert(1);
    opacity: 1;
}

.tnc-modal-content {
    color: #fff;
    padding: 35px 20px 30px 30px;
    font-size: 15px;
}

.tnc-logo {
    font-size: 25px;
}

.quiz-date {
    position: absolute;
    bottom: 7%;
    background: linear-gradient(90deg, rgba(25, 28, 53, 0) 0%, rgba(0, 125, 252, 0.8) 20%, rgba(0, 125, 252, 0.8) 50%, rgba(0, 125, 252, 0.8) 70%, rgba(25, 28, 53, 0) 100%);
    width: 100%;
    padding: 10px;
    text-align: center;
    font-size: 30px;
    font-weight: bold;
    font-style: italic;
}

.quiz-level {
    background: linear-gradient(90deg, rgba(25, 28, 53, 0) 0%, rgba(0, 125, 252, 0.8) 50%, rgba(0, 125, 252, 0.8) 50%, rgba(0, 125, 252, 0.8) 50%, rgba(25, 28, 53, 0) 100%);
    width: 50%;
    padding: 8px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    font-style: italic;
    margin: 0 auto 20px;
}

.question-number {
    background: url(../images/quiz/numberbase.png) no-repeat top center;
    background-size: 100% 100%;
    margin-right: 10px;
    min-width: 50px;
    padding: 5px;
    text-align: center !important;
    display: block !important;
}

.token-top {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
}

.gan-btn button {
    background: #ebc152;
    border: none;
    /* width: 180px; */
    /* height: 50px; */
    display: table-cell;
    vertical-align: middle;
    border-radius: 10px;
    color: #b0501b;
    font-size: 29px;
    line-height: 1.1;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
    box-shadow: inset -2px -4px 5px 1px #ccf174, inset 2px 5px 5px 1px #ccf174;
    padding: 10px;
}

.reward-date span {
    font-size: 30px;
    font-style: italic;
    font-weight: 900;
}

.redeem-token img {
    max-width: 300px;
}

.redeem-token span {
    position: absolute;
    color: #fff;
    font-size: 30px;
    left: 54%;
    transform: translate(-50%, 25%);
}

.redeem-token {
    position: relative;
    text-align: center;
    margin-top: 20px;
}

.home-ico {
    position: absolute;
    top: 2%;
    left: 4%;
    background: #fff;
    padding: 5px 8px;
    border-radius: 50px;
    font-size: 21px;
    animation: zoom-in-zoom-out 1.5s ease infinite;
    color: #0c1235;
    width: 40px;
    height: 40px;
}

.home-ico:hover{
    color: #0c1235;
}
@keyframes zoom-in-zoom-out {
  0% {
    scale: 100%
  }
  50% {
    scale: 120%;
  }
  100% {
    scale: 100%;
  }
}

@media(max-width: 1366px) {
    .quiz img {
        width: 80%;
    }

    .balloon img {
        width: 80%;
    }

    .qna-wrap {
        height: 650px;
    }

    .qna-a {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
    }

    .gan-board {
        display: none;
    }

    .gan-inner-wrap {
        background: url(../images/ganjaran/board.png) no-repeat;
        background-size: 100% 100%;
        padding-bottom: 80%;
    }

    .gan-amt {
        position: absolute;
        font-size: 15px;
        justify-content: center;
    }

    .gan-amt span {
        font-size: 40px;
    }

    .gan-token {
        position: absolute;
        font-size: 15px;
        margin: 5px auto;
        padding: 0px 0px;
        width: 100px;
        left: 50%;
        transform: translate(-50%, 0%);
    }

    .gan-btn {
        position: absolute;
        width: 55%;
        margin: 0 auto;
        padding-top: 10px;
        bottom: -45px;
    }

    .gan-token img {
        width: 35%;
    }

    .gan-token span {
        font-size: 11px;
    }
}

@media(max-width: 1180px) {
    .step-inner span {
        font-size: 18px;
    }

    .scoreboard img {
        width: 100%;
    }

    .question img {
        width: 42%;
    }

    .logo {
        padding-top: 10px;
        text-align: center;
        position: absolute;
        top: 15px;
        left: 50%;
        transform: translate(-50%, 0%);
    }

    .qna-token img {
        max-width: 400px;
    }

    .qna-token span {
        position: absolute;
        top: 20%;
        left: 50%;
        transform: translate(-35%, 0%);
        font-size: 40px;
    }

    .gan-tnc-btn {
        max-width: 400px;
    }
}

@media(max-width: 991px) {

    .logo img {
        width: 100%;
    }

    .scoreboard img {
        width: 100%;
    }

    .scoreboard {
        position: absolute;
        right: 0%;
        z-index: 1;
        animation: float 2.1s ease-in-out infinite;
        bottom: 50%;
        left: 88%;
    }

    .quiz-date {
        position: absolute;
        bottom: 2%;
        font-size: 20px;
        padding: 5px;
    }

    .qna-a {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        justify-items: left;
    }

    .qna-btn {
        margin: 0;
    }

    .qna-wrap {
        height: 445px;
    }

    .qna-token {
        top: 7%;
    }

    .qna-token img {
        max-width: 300px;
    }

    .qna-token span {
        position: absolute;
        top: 25%;
        left: 50%;
        transform: translate(-35%, 0%);
        font-size: 30px;
    }


    .qna-box {
        padding-top: 40px;
    }

    .balloon img {
        width: 80%;
    }

    .balloon {
        left: 92%;
        bottom: 39%;
    }

    .quiz img {
        width: 50%;
    }

    .quiz {
        top: 47%;
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .tnc-modal .btn-close {
        right: 0px;
        top: -22px;
    }

    .gan-btn button {
        /* width: 100px; */
        /* height: 30px; */
        font-size: 15px;
    }
}


    @media(max-width: 767px) {
        .logo {
            max-width: 60%;
            margin: 0 auto;
            top: 0px;
        }

        .quiz img {
            width: 32%;
        }

        .quiz {
            top: 45%;
        }

        .question {
            position: absolute;
            top: 24%;
            left: 30%;
            z-index: 1;
            animation: wobble 2s ease 0s infinite normal forwards;
        }

        .question img {
            width: 18%;
        }

        .balloon img {
            width: 80%;
        }

        .balloon {
            left: 90%;
            bottom: 39%;
        }

        .token-light {
            display: none;
        }

        .qna-box {
            padding-top: 20px;
        }

        .qna-title {
            font-size: 12px;
        }

        .qna-q {
            font-size: 12px;
            text-align: left;
            align-items: center;
            justify-content: center;
        }

        .qna-q span {
            display: flex;
            text-align: center;
            align-items: center;
            font-size: 12px;
            flex-direction: column;
            justify-content: center;
            gap: 10px;
        }

        .question-number {
            padding: 10px 15px;
            min-width: 0;
        }

        .qna-q img {
            width: 12%;
        }

        .qna-a {
            padding-left: 10px;
            padding-top: 10px;
        }

        .qna-token {}

        .qna-wrap {
            height: 200px;
        }

        .ans-box {
            width: 150px;
            height: 40px;
            font-size: 12px;
        }

        .qna-a-btn img {
            width: 25px;
        }

        .ganjaran {
            padding-top: 20px;
        }

        .gan-tnc-btn {
            margin-top: 45px;
            width: 50%;
        }

        .gan-modal .modal-content {
            background: #03071f;
            border: 5px solid #546fe5;
            border-radius: 10px;
        }

        .gan-modal .btn-close {
            right: 0px;
            top: 0px;
            font-size: 20px;
        }

        .gan-modal-title {
            top: 6px;
            left: 42%;
        }

        button.gan-tdk-btn {
            width: 100px;
            height: 50px;
            font-size: 20px;
        }

        .redeem-token span {
            position: absolute;
            color: #fff;
            font-size: 28px;
            left: 54%;
            transform: translate(-50%, 35%);
        }

        .gan-modal-btn img {
            width: 80%;
        }

        .tnc-modal .modal-content {
            background: #03071f;
            border: 5px solid #546fe5;
            border-radius: 10px;
        }

        .tnc-modal .modal-dialog {
            width: auto;
            height: auto;
            top: 4%;
        }

        .tnc-modal-content {
            padding: 10px 10px 0px 0px;
        }

        .tnc-modal .btn-close {
            right: -14px;
            top: -39px;
        }

        .tnc-logo {
            display: block;
            text-align: center;
            background: #ebc152;
            padding: 10px;
            border-radius: 10px;
            margin: 10px 0px 10px 10px;
            box-shadow: inset 1px 1px 5px 1px #ccf174;
            color: #b0501b;
            font-weight: bold;
        }

        .reward-date span {
            font-size: 18px;
        }
    }

    @media(max-width: 600px) {
        .qna-content {
            position: initial;
            background: url(../images/quiz/quiz.png);
            border-radius: 10px;
            padding: 30px 10px 10px;
            max-width: 85%;
            background-size: 100% 100%;
        }

        .qna-token img {
            width: 185px;
            margin-top: 20px;
        }

        .qna-token span {
            font-size: 20px;
            top: 46%;
        }

        .qna-frame {
            display: none;
        }

        .qna-top-token {
            display: initial;
            max-width: 35vw;
            position: absolute;
            left: 33%;
            top: 1%;
        }

        .qna-token-mobile {
            position: absolute;
            font-size: 4vw;
            top: 14%;
            left: 10%;
            right: 0;
        }

    }

    @media(max-width: 480px) {
        .steps {
            grid-template-columns: repeat(1, 1fr);
            grid-gap: 10px;
            justify-items: center;
        }

        .qna-content {
            max-width: 100%;
            padding: 75px 10px 10px;
        }

        .gan-wrap {
            grid-template-columns: repeat(2, 1fr);
            grid-gap: 80px 10px;
            margin-top: 50px;
        }

        .qna-wrap {
            height: 300px;
        }

        .qna-top-token {
            display: initial;
            max-width: 47vw;
            margin: 0 auto;
            position: absolute;
            left: 0;
            right: 0;
            top: 4%;
        }

        .qna-token-mobile {
            font-size: 5.4vw;
        }

        .qna-box {
            padding-top: 12%;
        }

        .qna-choice {
            max-width: 100%;
        }

        .qna-btn {
            margin: 0;
            max-width: 170px;
        }

        .step-inner {
            max-width: 300px;
        }

        .step-inner span {
            font-size: 19px;
        }

    }