/* Structure de base */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
}

header, footer {
    text-align: center;
    padding: 1rem;
    background-color: #0078D7;
    color: #fff;
    width: 100%;
}

h1 {
    margin: 0;
    font-size: 1.5rem;
}

main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#instructions {
    font-size: 1rem;
    margin-bottom: 1rem;
}

#score {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

#game-container {
    width: 90%;
    height: 60vh;
    background-color: #e0e0e0;
    border: 2px solid #333;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

/* Cercles */
.circle {
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: #ff6f61;
    border-radius: 50%;
    cursor: pointer;
}
#game-container img {
    animation: bounce 1s infinite;
}

/* Animation de rebond */
@keyframes bounce {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
    }
}
#restart-btn {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 1rem;
    background-color: #0078D7;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#restart-btn:hover {
    background-color: #0053a6;
}
/* === Icônes décoratives dans le footer === */
.footer-images {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.decoration img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
}

.decoration img:hover {
    transform: scale(1.3) rotate(10deg);
}   
#Creator{
    color: grey;

}


/* Responsiveness */
@media (min-width: 768px) {
    #game-container {
        width: 600px;
        height: 400px;
    }
}
