/* General styling */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #141414;
    color: #e0e0e0;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    flex-direction: column;
}

#quiz-container {
    width: 80%;
    max-width: 700px;
    background: #1f1f1f;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #ffcc00;
}

#question-section p {
    font-size: 22px;
    font-weight: 600;
}

ul {
    list-style-type: none;
    padding: 0;
    margin: 20px 0;
}

li {
    background: #3c3c3c;
    padding: 15px;
    margin: 10px 0;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

li:hover {
    background: #5a5a5a;
    transform: scale(1.05);
}

button {
    background: #ffcc00;
    color: #2a2a2a;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 20px;
}

button:hover {
    background: #ff9900;
}

.hidden {
    display: none;
}

#score-section {
    background: #3c3c3c;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    margin-top: 30px;
}

#score-section h2 {
    font-size: 30px;
    color: #ffcc00;
}

#score {
    font-size: 24px;
    color: #fff;
    margin: 20px 0;
}

#restart-btn {
    background: #ffcc00;
    color: #2a2a2a;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
}

#restart-btn:hover {
    background: #ff9900;
}

/* Style for the selected option */
li.selected {
    background-color: #ff9900; /* Green background for selected answer */
    color: white; /* White text for contrast */
    border-radius: 5px; /* Rounded corners */
    transition: background-color 0.3s ease; /* Smooth background transition */
}

/* Remove hover effect from options */
li:hover {
    background-color: transparent; /* No background color on hover */
    cursor: pointer; /* Keep pointer cursor on hover */
}

