body {
    background-color: #001B29;
    font-family: "Space Grotesk", sans-serif;
    color: white;
    text-align: center;
}

#quiz-container {
    width: 80%;
    max-width: 700px;
    margin: 50px auto;
    padding: 30px;
    background-color: #023047;
    border: 3px solid #9FA9B0;
    border-radius: 25px;
    box-shadow: 0 0 20px rgba(159, 169, 176, 0.4);
}

#question {
    font-size: 28px;
    margin-bottom: 25px;
}

#answers {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#answers button {
    padding: 15px;
    font-size: 20px;
    border: 2px solid #9FA9B0;
    border-radius: 15px;
    color: white;
    font-family: "Space Grotesk", sans-serif;
    cursor: pointer;
    transition: 0.3s ease;
}

#answers button:nth-child(1) {
    background-color: #42265E;
}

#answers button:nth-child(2) {
    background-color: #31506B;
}

#answers button:nth-child(3) {
    background-color: #6A3A5E;
}

#answers button:nth-child(1):hover {
    background-color: #E5CBFD;
    color: black;
    transition: 0.7s ease;
}

#answers button:nth-child(2):hover {
    background-color:#A2D2FF;
    color: black;
    transition: 0.7s ease;
}


#answers button:nth-child(3):hover {
    background-color:#FFB7CE;
    color: black;
    transition: 0.7s ease;
}

#next-button {
    display: block;
    width: 200px;
    height: 55px;
    margin: 25px auto 0 auto;
    padding: 10px;
    font-size: 20px;
    border: 2px solid #9FA9B0;
    border-radius: 15px;
    background-color:#012638;
    color: white;
    font-family: "Space Grotesk", sans-serif;
    cursor: pointer;
    transition: 0.3s ease;
    box-sizing: border-box;
}

#next-button:hover {
    background-color: #A2D2FF;
    color: black;
    transform: translateY(-3px);
}

h1 {
    color: white;
    text-shadow: 0 0 30px blue;
    font-size: 50px;
}
#quiz-gif {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 25px auto;
    width: 100%;
}
#question-gif {
    max-width: 250px;
    max-height: 180px;
    width: auto;
    height: auto;
    border-radius: 20px;
    border: 2px solid #9FA9B0;
    display: block;
}

#close-quiz {
    position: fixed;
    top: 15px;
    right: 20px;
    font-size: 28px;
    color: red;
    text-decoration: none;
    font-weight: bold;
    text-shadow: 0 0 15px blue;
    transition: 0.3s ease;
    z-index: 1000;
}
.rotating-planet {
    display: inline-block;
    animation: rotatePlanet 4s linear infinite;
}

@keyframes rotatePlanet {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}