@import url('https://fonts.googleapis.com/css2?family=Kosugi+Maru&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Kosugi Maru", Helvetica, sans-serif;
    font-weight: 500;
    font-style: normal;
}

body {
    overflow: hidden;
    background-color: #0b1118;
}

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    background:
        linear-gradient(rgba(0, 0, 0, 0.20), rgba(0, 0, 0, .20)),
        url("./img/Background-optimized.webp");
    background-color: #0b1118;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.policy {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    z-index: 2;
}

.policy a {
    color: white;
    font-size: 16px;
    opacity: 0.9;
    position: relative;
    padding: 0 12px;
}

.policy a:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.824);
}

.overlay {
    position: absolute;
    inset: 0;
    backdrop-filter: blur(2px);
}

.quiz-card {

    position: relative;

    width: min(500px, 100%);
    height: 600px;

    background:
        url("img/quiz-card.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 50px;
    text-align: center;
    color: white;
    animation: fade .4s;
}

.js:not(.assets-ready) .quiz-card {
    opacity: 0;
    transform: translateY(20px);
    animation: none;
}

.progress {

    opacity: .8;

    margin-bottom: 20px;
    margin-top: 50px;

    letter-spacing: 2px;

    font-size: 14px;

    text-transform: uppercase;
}

h2 {

    font-size: 34px;
    font-weight: 500;

    line-height: 1.4;

    margin-bottom: 40px;
    margin-top: 40px;

    min-height: 100px;
}

.answers {

    display: grid;
    gap: 18px;
    justify-content: center;
    margin-top: 20px;
}

.answers.two-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.answers.three-row {
    grid-template-columns: 300px;
}

.answer {
    width: 300px;
    height: 60px;
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 500;
    background-image: url("img/Button.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    color: white;

    transition: .25s;
}

.answer:hover {

    transform: translateY(-3px);

    filter: brightness(1.1);
}

.fade {

    animation: fade .4s;
}

@keyframes fade {

    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

.loader {
    height: 100vh;
    display: inline-block;
}

.loader > div {
    width: 10px;
    height: 10px;
    border-radius: 100%;
    box-shadow: 0 0 10px orange;
    background: #FFECBA;
    float: left;
    margin: 5px;
    transform: scale(2);
}

.loader > div:nth-child(1) {
    animation: anm-BL-53-move1 1s infinite linear;
}

.loader > div:nth-child(2) {
    animation: anm-BL-53-move2 1s infinite linear;
    animation-delay: 0.2s;
}

.loader > div:nth-child(3) {
    animation: anm-BL-53-move3 1s infinite linear;
    animation-delay: 0.3s;
}

.loader > div:nth-child(4) {
    animation: anm-BL-53-move4 1s infinite linear;
    animation-delay: 0.4s;
}

.loader > div:nth-child(5) {
    animation: anm-BL-53-move5 1s infinite linear;
    animation-delay: 0.5s;
}

@keyframes anm-BL-53-move1 {
    50% {
        background: #FFBB00;
        transform: scale(1);
    }
}

@keyframes anm-BL-53-move2 {
    50% {
        background: #FFBB00;
        transform: scale(1);
    }
}

@keyframes anm-BL-53-move3 {
    50% {
        background: #FFBB00;
        transform: scale(1);
    }
}

@keyframes anm-BL-53-move4 {
    50% {
        background: #FFBB00;
        transform: scale(1);
    }
}

@keyframes anm-BL-53-move5 {
    50% {
        background: #FFBB00;
        transform: scale(1);
    }
}

@media (max-width: 480px) {
    .quiz-card {
        transform: scale(0.95);
        border-radius: 14px;
        padding: 10px;
    }

    .progress {
        margin-top: 80px;
    }
}