/* Country Population MiniGame styles */

.floating-country {
    position: absolute;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    animation: float 3s ease-in-out infinite;
    transition: background-color 0.3s;
}

.floating-country.correct {
    background-color: green;
    animation: none;
    transform: scale(0);
    opacity: 0;
    transition: all 0.5s ease;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.shake {
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
}