/* Main styles for the Eid-ul-Fitr game */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f0f8ff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
}

#game-container {
    width: 100%;
    max-width: 900px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    position: relative;
}

.screen {
    width: 100%;
    padding: 20px;
}

.hidden {
    display: none;
}

h1, h2 {
    color: #4a90e2;
    margin-bottom: 20px;
}

button {
    background-color: #4a90e2;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1.2rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin: 10px;
}

button:hover {
    background-color: #3a80d2;
}

#question {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #333;
    font-weight: bold;
}

#images-container {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
}

.image-choice {
    cursor: pointer;
    transition: transform 0.3s ease;
    width: 45%;
    border: 3px solid transparent;
    border-radius: 10px;
    overflow: hidden;
}

.image-choice:hover {
    transform: scale(1.03);
}

.image-choice img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

#feedback-container {
    margin-top: 30px;
    padding: 15px;
    border-radius: 8px;
}

#feedback-message {
    font-size: 1.3rem;
    font-weight: bold;
}

.correct {
    border-color: #2ecc71 !important;
}

.incorrect {
    border-color: #e74c3c !important;
}

/* End screen styling */
#end-screen {
    padding: 40px 20px;
}

#butterfly-container {
    height: 400px;
    position: relative;
    margin: 20px 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #images-container {
        flex-direction: column;
        align-items: center;
    }
    
    .image-choice {
        width: 80%;
        margin-bottom: 20px;
    }
}
