/* 🌐 Style Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: linear-gradient(to right, #1E3C72, #2A5298);
    color: white;
    text-align: center;
    padding: 20px;
}

/* 📦 Conteneur Principal */
.container, .quiz-container {
    background: rgba(255, 255, 255, 0.1);
    max-width: 500px;
    margin: auto;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

/* ❌ Suppression du flou */
.container:hover, .quiz-container:hover {
    transform: scale(1.02); /* Légère mise en avant sans flou */
}

/* 🏆 Titre */
h1 {
    font-size: 24px;
    margin-bottom: 20px;
}

/* 🎨 Boutons */
button {
    display: block;
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* 🎯 Boutons Principaux */
button:not(.btn-retour) {
    background: #FF9800;
    color: white;
}

button:not(.btn-retour):hover {
    background: #E68900;
    transform: scale(1.05);
}

/* ⬅️ Boutons Retour */
.btn-retour {
    background: #555;
    color: white;
}

.btn-retour:hover {
    background: #444;
}

/* 📜 Questions */
#question {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

/* 🟢🔴 Choix */
#choices button {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

#choices button:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* ✅ Réponse correcte */
#choices button.correct {
    background: green;
    color: white;
}

/* ❌ Réponse incorrecte */
#choices button.wrong {
    background: red;
    color: white;
}

/* ⏳ Timer */
#timer {
    font-size: 16px;
    font-weight: bold;
    margin: 10px 0;
    color: yellow;
}

/* 🏆 Score Final */
#score {
    font-size: 18px;
    font-weight: bold;
    margin-top: 15px;
    color: #FFD700;
}

/* 📱 Responsive Design */
@media (max-width: 600px) {
    .container, .quiz-container {
        max-width: 90%;
    }

    h1 {
        font-size: 20px;
    }

    button {
        font-size: 14px;
    }
}
/* 🏁 Barre de progression */
.progress-bar-container {
    width: 100%;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 15px;
}

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

