body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    touch-action: manipulation;
}

#game-container {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 90%;
    width: 400px;
}

h1 {
    color: #4a4a4a;
    margin-bottom: 20px;
}

#question-container {
    font-size: 36px;
    margin-bottom: 20px;
}

#options-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.option {
    background-color: #3498db;
    color: #ffffff;
    font-size: 24px;
    padding: 10px 20px;
    margin: 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s;
}

.option:active {
    transform: scale(0.95);
}

#progress-container {
    width: 100%;
    height: 10px;
    background-color: #e0e0e0;
    border-radius: 5px;
    margin-top: 20px;
    overflow: hidden;
}

#progress-bar {
    width: 0;
    height: 100%;
    background-color: #2ecc71;
    transition: width 0.5s ease-in-out;
}

@keyframes success {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.success {
    animation: success 0.5s ease-in-out;
}

@keyframes celebrate {
    0% { transform: scale(0.5); opacity: 0; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

.winning-animation {
    font-size: 100px;
    animation: celebrate 1s ease-in-out;
}

.winning {
    background-color: #ffd700;
}

.medal {
    font-size: 40px;
    position: absolute;
    top: 10px;
    right: 10px;
    animation: celebrate 0.5s ease-in-out;
}

.visual-container {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 50px;
    margin: 0 10px;
    background-color: #f0f0f0;
    border-radius: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: #3498db;
    border-radius: 50%;
    margin: 2px;
}

#question-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

#question-container > * {
    margin: 5px;
}


