body {
    font-family: 'Arial', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background: linear-gradient(to right, #6dd5ed, #2193b0);
    /* Enchanted blue gradient */
    color: #333;
    background-image: url('images/enchanted_forest_bg.jpg');
    /* Add background image */
    background-size: cover;
    background-repeat: no-repeat;
}

.game-container {
    background-color: rgba(255, 255, 255, 0.9);
    /* Slightly transparent white background for container */
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    padding: 30px;
    text-align: center;
    max-width: 800px;
    width: 90%;
}

h1 {
    color: #4CAF50;
    /* Green for wizardry */
    margin-bottom: 20px;
    font-size: 2.5em;
}

#quest-info {
    background-color: #e0f7fa;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 25px;
    border-left: 5px solid #00BCD4;
}

#quest-info h2 {
    color: #00796B;
    margin-top: 0;
    display: flex;
    /* For aligning text and icon */
    align-items: center;
    justify-content: center;
    /* Center the content */
    gap: 10px;
    /* Space between text and icon */
}

#quest-info h2 img {
    width: 24px;
    /* Adjust size as needed */
    height: 24px;
    vertical-align: middle;
    /* Align icon with text */
}

#question-card {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
    position: relative;
    /* To position the question type icon */
}

#question-text {
    font-size: 1.5em;
    margin-bottom: 20px;
    color: #555;
    margin-top: 40px;
}

#answer-area {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    /* Space between options */
}

/* Specific styles for input fields and buttons */
#answer-input {
    padding: 12px;
    width: 70%;
    max-width: 300px;
    border: 2px solid #a7d9e2;
    border-radius: 8px;
    font-size: 1.1em;
    box-sizing: border-box;
    /* Include padding in width */
}

.option-button {
    background-color: #2196F3;
    /* Blue for options */
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
    width: 80%;
    max-width: 400px;
}

.option-button:hover {
    background-color: #1976D2;
}

#submit-answer,
#restart-game {
    background-color: #4CAF50;
    /* Green submit button */
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.2em;
    margin-top: 20px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#submit-answer:hover,
#restart-game:hover {
    background-color: #45a049;
    transform: translateY(-2px);
}

.question-icon {
    position: absolute;
    top: 7px;
    /* Adjust position as needed */
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    /* Adjust size as needed */
    height: 40px;
}

#feedback {
    font-size: 1.2em;
    margin-top: 15px;
    padding: 10px;
    border-radius: 5px;
    display: flex;
    /* For aligning text and icon */
    align-items: center;
    justify-content: center;
    /* Center content */
    gap: 10px;
    /* Space between text and icon */
}

#feedback img {
    width: 24px;
    /* Adjust size as needed */
    height: 24px;
    vertical-align: middle;
}

.correct {
    color: #28a745;
    /* Bootstrap success green */
    background-color: #d4edda;
}

.incorrect {
    color: #dc3545;
    /* Bootstrap danger red */
    background-color: #f8d7da;
}

.hidden {
    display: none !important;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .game-container {
        padding: 20px;
    }

    h1 {
        font-size: 2em;
    }

    #question-text {
        font-size: 1.3em;
    }

    #answer-input,
    .option-button,
    #submit-answer,
    #restart-game {
        font-size: 1em;
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8em;
    }

    #question-text {
        font-size: 1.1em;
    }

    #answer-input,
    .option-button {
        width: 90%;
    }
}