body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #1a1a1a; /* Dark background */
    color: #f4f4f4; /* Light text */
    line-height: 1.6;
    padding: 120px;
}

.quiz-container {
    background-color: #333; /* Darker shade for the container */
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Adjust shadow for dark mode */
    padding: 20px;
    margin: 0 auto;
    width: 80%;
    max-width: 700px;
}

.question {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: #f4f4f4; /* Ensure question text is light */
}

.answers label {
    display: block;
    padding: 8px;
    margin-bottom: 10px;
    background-color: #444; /* Dark background for options */
    border: 1px solid #555;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    color: #f4f4f4; /* Light text for options */
}

.answers label:hover,
.answers input[type="radio"]:checked + label {
    background-color: #555; /* Slightly lighter for hover and selected */
}

.buttons-container {
    text-align: center;
    margin-top: 20px;
}

button {
    background-color: #5cb85c;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 5px;
}

button:hover {
    background-color: #4cae4c;
}

button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

#results {
    clear: both;
    margin-top: 20px;
    font-size: 1.2em;
    color: #f4f4f4; /* Light text for results */
}

/* Slide Styles */
.slide {
    display: none;
}

.active-slide {
    display: block;
}

/* Responsive Design */
@media (max-width: 600px) {
    .quiz-container {
        width: 100%;
        padding: 10px;
    }

    button {
        width: 100%;
        margin-top: 10px;
    }

    .buttons-container {
        text-align: left;
    }
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 20px; /* Center the image with some margin at the bottom */
}
.centered-button {
    display: flex;
    justify-content: center; /* Centers horizontally */
    align-items: center; /* Centers vertically if needed */
    height: 100px; /* Adjust height as needed */
    margin-top: 20px; /* Optional: Adds space above the div */
}

.correct-answer {
    background-color: #28a745; /* Green for correct answers */
}
.incorrect-answer {
    background-color: #dc3545; /* Red for incorrect answers */
}

