body {
    display: block;
    font-family: 'PT Sans', sans-serif;
    text-transform: uppercase;
    overflow: hidden;
    margin: 0;
    padding: 0;
    opacity: 0;
    animation: fadeIn .5s ease-in forwards;
}

.main_container {
    display: relative;
    width: 100vw;
    height: 100vh;
    position: relative;
    padding: 2%;
    box-sizing: border-box;
    
}

.topic_container {
    display: block;
    margin-top: .5%;
    width: 100%;
}

.topic {
    font-size: 3vw;
    text-align: right;
    color: white;
}

.spacer {
    display: flex;
    line-height: 10vh;
    margin: 2vh 0;
    height: 6vh;
    min-height: 6vh;
}

.question_container {
    display: flex;
    justify-content: center;  /* Center horizontally */
    align-items: center;      /* Center vertically */
    height: 28vh;             /* Adjust the height as necessary */
    padding: 3.5%;
}

.question {
    display: flex;            /* Ensure flexbox behavior */
    justify-content: center;  /* Center horizontally inside the question div */
    align-items: center;      /* Center vertically inside the question div */
    text-align: center;
    font-size: 3.8vw;
    word-wrap: break-word;
    color: white;
    height: 100%;             /* Ensure it takes up the full container height */
}



.answers_container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 0px;
    animation: fadeout 1s ease-out 12s forwards;
}

.answer {
    color: white;
    display: flex;
    font-size: 2.8vw;
    justify-content: left;
    padding: 3.25%;
    align-items: center;
    min-height: 12vh;
}

.answer:nth-child(1) {
    background-color: #262626;
    padding-left: 2.5vw;
}

.answer:nth-child(2) {
    background-color: #2f2f2f;
    padding-left: 2.5vw;
}

.answer:nth-child(3) {
    background-color: #2f2f2f;
    padding-left: 2.5vw;
}

.answer:nth-child(4) {
    background-color: #262626;
    padding-left: 2.5vw;
}

.correct-answer {
    position: absolute;
    bottom: -15%;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 6vw;
    color: #262626;
    padding: 2%;
    animation: revealAnswer 1s ease-out 13s forwards;
}

.dyk1 {
   position: absolute;
   top: 50%;   
   font-size: 6vw;
   text-align: center;   
   color: black;
   padding: 5%;
}

@keyframes revealAnswer {
    to {
        bottom: 15%;
    }
}

@keyframes fadeout {
    from {
        opacity: 1;   
    }
    to {
        opacity: 0;
    }
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@media (max-width: 768px) {
    .topic {
        font-size: 8vw;
    }

    .question {
        font-size: 12vw;
    }

    .answer {
        font-size: 6vw;
    }

    .correct-answer {
        font-size: 8vw;
    }
}

