/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body and Background */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    flex-direction: column;
    padding: 10px;
}

/* Landing Page Styling */
#landing-page {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 800px;
    text-align: center;
}

#landing-page h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #333;
}

#about, #creator {
    margin-top: 20px;
}

h2 {
    font-size: 1.5em;
    color: #333;
}

p {
    font-size: 1.1em;
    color: #555;
}

/* Game Options */
#game-options {
    margin-top: 30px;
}

label {
    font-size: 1.1em;
    margin-right: 10px;
}

select {
    font-size: 1.1em;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #ccc;
    width: 200px;
}

#start-game {
    background-color: #4CAF50;
    color: white;
    font-size: 1.2em;
    padding: 10px 30px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#start-game:hover {
    background-color: #45a049;
}

#start-game:active {
    background-color: #388E3C;
}

/* Game Page Styling */
#game-page {
    display: none;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 800px;
    text-align: center;
}

#level {
    font-size: 2em;
    color: #333;
    margin-bottom: 20px;
}

#question-section {
    margin-bottom: 30px;
}

#question {
    font-size: 1.5em;
    color: #333;
}

.image-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* Option Buttons */
#options {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
    gap: 15px;
}

#options button {
    background-color: #4CAF50;
    color: white;
    font-size: 1em; /* Smaller font size */
    padding: 10px 20px; /* Reduced padding */
    border: none;
    border-radius: 8px; /* Slightly smaller border radius */
    cursor: pointer;
    transition: all 0.3s ease;
    width: 160px; /* Reduced width */
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#options button:hover {
    background-color: #45a049;
    transform: translateY(-4px); /* Slight lift effect */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Larger shadow on hover */
}

#options button:active {
    background-color: #388E3C;
    transform: translateY(2px); /* Button pressed effect */
}


/* Feedback */
#feedback {
    font-size: 1.2em;
    margin-top: 20px;
}

/* Control Buttons */
.control-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.control-buttons button {
    background-color: #f0ad4e;
    color: white;
    padding: 10px 20px;
    font-size: 1.2em;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.control-buttons button:hover {
    background-color: #ec971f;
}

.control-buttons button:active {
    background-color: #d58512;
}

/* Responsive Design for Mobile and Tablet */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    #landing-page, #game-page {
        padding: 20px;
    }

    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.3em;
    }

    p {
        font-size: 1em;
    }

    select, #start-game, #options button, .control-buttons button {
        width: 100%;
        font-size: 1em;
        padding: 12px 0;
    }

    #options {
        flex-direction: column;
    }

    .control-buttons {
        flex-direction: column;
        gap: 15px;
    }
}

/* Further mobile optimization */
@media (max-width: 480px) {
    h1 {
        font-size: 1.8em;
    }

    #game-options select {
        width: 100%;
    }
}
