/* Base styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #d2b48c; /* Light brown background for the whole page */
    color: #4e3b2b; /* Dark brown text color */
    transition: background-color 0.3s, color 0.3s;
}

.dark-mode {
    background-color: #3e2a1f; /* Dark brown background for dark mode */
    color: #d2b48c; /* Light brown text color for dark mode */
}

h1 {
    text-align: center;
    font-size: 2.5em; /* Larger font size for the title */
    margin: 20px 0;
    font-family: 'Arial Black', sans-serif; /* Bold font for the title */
    color: #4e3b2b; /* Dark brown title color */
}

.dark-mode h1 {
    color: #d2b48c; /* Light brown title color for dark mode */
}

.container {
    width: 90%;
    max-width: 700px; /* Ensure it doesn't stretch too wide */
    margin: 0 auto;
    padding: 20px;
}

.question {
    border: 3px solid #90ee90; /* Light green border for questions in light mode */
    padding: 30px; /* Increased padding inside the border */
    margin-bottom: 30px; /* Increased gap between questions */
    border-radius: 8px;
    background-color: #f5f5dc; /* Light cream background for questions */
    transition: background-color 0.3s, border-color 0.3s;
    text-align: left;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2); /* Slightly larger shadow */
    max-width: 600px; /* Set a max width for the questions */
    margin: 0 auto; /* Center the questions */
}

.dark-mode .question {
    border-color: #006400; /* Dark green border for questions in dark mode */
    background-color: #4e3b2b; /* Darker brown background for dark mode */
}

.question-result {
    margin-bottom: 15px; /* Increased gap between results */
}

.correct {
    color: green;
}

.incorrect {
    color: red;
}

.correct-answer {
    font-weight: bold;
}

input[type="radio"] {
    margin-right: 10px;
}

input[type="submit"] {
    background-color: #8B4513; /* Brown button color */
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: block; /* Ensure it's on its own line */
    margin: 30px auto; /* Center the button with added margin */
}

input[type="submit"]:hover {
    background-color: #6f4e28; /* Darker brown on hover */
}

.dark-mode input[type="submit"] {
    background-color: #d2691e; /* Darker brown button color in dark mode */
}

.dark-mode input[type="submit"]:hover {
    background-color: #8b4513; /* Lighter brown on hover in dark mode */
}

.dark-mode-toggle {
    position: fixed;
    top: 10px;
    right: 10px;
    font-size: 1.5em;
    cursor: pointer;
    background: none;
    border: none;
    transition: color 0.3s;
}

.dark-mode .dark-mode-toggle {
    color: #d2b48c;
}





