/* styles.css */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #2b2b2b; /* Dark background */
    color: #e0dede; /* Light text */
    text-align: center;
}

header {
    background-color: #6b4e31; /* Warm brown tone */
    color: #f5f5e1; /* Soft white text */
    padding: 20px 0;
}

header h1 {
    margin: 0;
    font-size: 2.5em;
    font-weight: bold;
}

header p {
    margin: 10px 0 0;
    font-size: 1.2em;
    font-style: italic;
}

main {
    padding: 20px;
    display: flex;
    justify-content: center;
}

#content-wrapper {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: flex-start;
    max-width: 1200px;
    width: 100%;
}

#quiz-container {
    flex: 2;
    background: #4e3a28; /* Warm dark brown */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); /* Subtle shadow */
    padding: 20px;
}

#question-container {
    margin-bottom: 20px;
}

#question {
    font-size: 1.5em;
    margin-bottom: 15px;
}

#answers {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#answers button {
    padding: 10px 15px;
    font-size: 1em;
    border: none;
    border-radius: 5px;
    background-color: #a6764b; /* Warm orange-brown */
    color: white;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

#answers button:hover {
    background-color: #c18b58; /* Lighter tone on hover */
    transform: scale(1.05);
}

.correct {
    background-color: #4caf50 !important; /* Green for correct answers */
    color: white;
}

.wrong {
    background-color: #f44336 !important; /* Red for wrong answers */
    color: white;
}

#next-button {
    padding: 10px 20px;
    font-size: 1em;
    border: none;
    border-radius: 5px;
    background-color: #d1a26b; /* Golden-yellow */
    color: white;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

#next-button:hover {
    background-color: #e6b882; /* Brighter yellow on hover */
    transform: scale(1.05);
}

.hidden {
    display: none;
}

#image-container {
    flex: 1.2;
    width: 40%;
    max-width: none;
    text-align: center;
}

#image-container img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

footer {
    margin-top: 20px;
    padding: 10px 0;
    background-color: #3e3e3e; /* Neutral gray */
    color: #bdbdbd; /* Light gray text */
    font-size: 0.9em;
    text-align: center;
}
