body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.container {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 90%;
    text-align: center;
}

h1 {
    color: #4a59bb;
    margin-bottom: 30px;
}

.hidden {
    display: none !important;
}

.quiz-container {
    padding: 20px;
}

#questionText {
    margin-bottom: 25px;
    font-size: 1.3em;
    text-align: left;
}

.options-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.option-btn {
    padding: 12px;
    background-color: #e0e0e0;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.2s, transform 0.1s;
}

.option-btn:hover:not(:disabled) {
    background-color: #d0d0d0;
    transform: translateY(-1px);
}

.option-btn.correct {
    background-color: #d4edda;
    border-color: #4CAF50; 
    font-weight: bold;
}

.option-btn.incorrect {
    background-color: #f8d7da; 
    border-color: #ff6347;
    color: #333;
}

#nextBtn, #restartBtn {
    padding: 10px 20px;
    background-color: #4a59bb;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    margin-top: 20px;
    transition: background-color 0.2s;
}

#nextBtn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.score-container h2 {
    color: #4CAF50;
}
.score-container p {
    font-size: 1.2em;
    margin-bottom: 30px;
}