body {
    background-color: rgba(224, 224, 66, 0.932);
    padding: 0;
    margin: 0;
}

h1 {
    font-family: Arial, sans-serif;
    padding-top: 0;
    margin-top: 0;
    color:rgb(106, 201, 28);
    font-size: 36px;
    text-align: center;
}

#box {
    font-family: Cambria;
    text-align: center;
    margin-top: 3rem;
}

#question {
    font-size: 20px;
    margin-top: 2rem;

}

#scoreboard {
    margin-bottom: 20px;
}

#scoreboard #score {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 2px;
}

#scoreboard #qNo {
    font-size: 18px;
    color: #333;
}

.options {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 3rem;
}

.options .right {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.options .left {
    display: flex;
    flex-direction: column;
    gap: 1rem;

}

.quiz-option {
    width: 160px;
    padding: 10px;
    font-size: 18px;
    cursor: pointer;
    border: 2px solid #999;
    border-radius: 6px;
    background-color: white;
     transition: background-color 0.2s ease, color 0.2s ease;
}

.quiz-option:hover {
    background-color: #5fa16d;
    color:white;

}

.quiz-option.selected {
    background-color: #2f7d32; /* dark green */
    color: white;
    border-color: #2f7d32;
}



.controls {
    margin-top: 3rem;
    display: flex;
    justify-content: space-between;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    
}

.controls button {
    background-color:rgb(164, 194, 58);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 18px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
} 

.controls button:hover {
    background-color: #5fa16d;
}

.controls button:active {
    transform: scale(0.97);
}

.controls button:focus {
    outline: none;
    box-shadow: none;
}

@media (max-width: 500px) {
    .options {
        gap: 1.5rem;
    }

    .quiz-option {
        width: 140px;
        font-size: 16px;
    }
}





