body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #000; /* Fond noir */
    color: #fff; /* Texte blanc par défaut */
    text-align: center;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

#container {
    background-color: #222; /* Fond gris très foncé (presque noir) pour la carte */
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3); /* Ombre rouge */
    padding: 30px 40px;
    max-width: 800px;
    width: 90%;
}

h1 {
    color: #e74c3c; /* Rouge pour le titre */
    margin-bottom: 30px;
    font-size: 2.5em;
}

#setup, #exercice {
    margin: 20px 0;
    padding: 20px;
    border: none;
    border-radius: 10px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    text-align: left;
    color: #eee; /* Gris clair pour les labels */
}

textarea {
    width: 100%;
    height: 120px;
    margin-bottom: 20px;
    padding: 12px;
    border: 2px solid #555; /* Bordure grise */
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 1em;
    resize: vertical;
    background-color: #333; /* Fond légèrement plus clair pour les textareas */
    color: #fff; /* Texte blanc dans les textareas */
}
/* Placehoder color */
textarea::placeholder{
    color:#fff;
}


#startBtn {
    background-color: #e74c3c; /* Rouge */
    color: white;
    padding: 15px 30px;
    font-size: 1.2em;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: block;
    width: 100%;
    margin-top: 20px;
    box-shadow: 0 2px 5px rgba(255, 0, 0, 0.4); /* Ombre rouge */
}

#startBtn:hover {
    background-color: #c0392b; /* Rouge plus foncé au survol */
}

#exercice {
    /* display: none;  Géré par JavaScript */
}

#question {
    font-size: 1.8em;
    margin-bottom: 25px;
    color: #e74c3c; /* Rouge */
    font-weight: 600;
}

#reponses {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

#reponses button {
    background-color: #333; /* Gris foncé */
    color: #fff;
    padding: 15px;
    font-size: 1.1em;
    border: 2px solid #555;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

#reponses button:hover {
    background-color: #444; /* Un peu plus clair au survol */
    border-color: #e74c3c; /* Bordure rouge au survol */
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(255, 0, 0, 0.4); /* Ombre rouge */
}

#message {
    font-size: 1.3em;
    font-weight: bold;
    margin-top: 20px;
    color: #e74c3c; /* Rouge (vous pouvez ajuster si vous voulez une couleur différente pour les messages) */
}

.error-message {
    color: #e74c3c;
}
/* Style pour le placeholder */
#liste1::placeholder, #liste2::placeholder{
    color: white;
}