/* Main styles for the game */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.game-container {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 800px;
    width: 100%;
    text-align: center;
}

.title-container {
    margin-bottom: 20px;
}

.instruction-container {
    margin-bottom: 30px;
    font-size: 18px;
}

.images-container {
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.image-option {
    cursor: pointer;
    border: 3px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s;
    margin: 10px;
    max-width: 45%;
}

.image-option:hover {
    transform: scale(1.05);
}

.image-option img {
    width: 100%;
    height: auto;
    display: block;
}

.feedback-container {
    margin-top: 20px;
    min-height: 50px;
    font-size: 20px;
    font-weight: bold;
}

.hidden {
    display: none;
}

.learner-animation {
    margin-top: 20px;
}

.learner-animation img {
    max-width: 150px;
}

/* Game Complete Styles */
.game-complete {
    position: relative;
}

.completion-message {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    z-index: 100;
}

.completion-message p {
    font-size: 32px;
    font-weight: bold;
    color: #4CAF50;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.replay-button {
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 12px 24px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.replay-button:hover {
    background-color: #45a049;
    transform: scale(1.05);
}

.replay-button:active {
    transform: scale(0.98);
}
