 body {
    font-family: 'Roboto', sans-serif;
    text-align: center;
    margin: 20px;
    overflow-x: hidden;
    overflow-y: hidden;
    background-color: #fff;
}

header {
  display: flex;
  flex-direction: column;
  align-items: center; /* Facultatif : centrez les éléments horizontalement */
}

h1 {
    font-family: 'Roboto', sans-serif;
    text-align: center;
    margin: 20px;
    color: #0d5eaf;
}

h2 {
    font-family: 'Roboto', sans-serif;
    text-align: center;
    margin: 20px;
    color: #0d5eaf;
}

h1, h2 {
  margin: 0; /* Pour supprimer les marges par défaut et éviter l'espacement inutile */
}

#home {
    display: flex;
    flex-direction: column; /* Définir le flux comme une colonne */
    align-items: center; /* Centrer les éléments horizontalement */
    text-align: center;
}

table {
    margin: 0 auto;
    border-collapse: collapse;
}

td {
    padding: 10px;
    border: none;
}

button {
    font-family: 'Roboto', sans-serif;
    margin: 10px;
    padding: 10px;
    font-size: 16px;
    text-decoration: none;
    border: 2px solid #0d5eaf;
    border-radius: 5px;
    color: #0d5eaf;
    background-color: transparent;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

button:hover {
    background-color: #0d5eaf;
    color: #fff;
}

#game {
    display: none;

    flex-direction: column;

    justify-content: center;
}

.question_number {
    color: #0d5eaf;
    font-size: 20px;
    margin-bottom: 20px;
}

@keyframes appearAnimation {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



.verb {
  font-size: 34px;
  margin-bottom: 20px;
}

.main-verb {
  font-size: 34px; /* Ajustez la taille du texte principal selon vos besoins */
}

.declinaison {
  /* Styles pour la partie après "<br>" */
  font-size: 14px; /* Ajustez la taille du texte de la déclinaison selon vos besoins */
}


/* Ajoutez ces styles pour mettre en surbrillance les réponses */
button.correct-answer-selected {
    background-color: #2ecc71;
    border-color: #2ecc71;
    color: #fff;
}

button.wrong-answer-selected {
    background-color: #e74c3c;
    border-color: #e74c3c;
    color: #fff;
}

button.wrong-answer-unselected {
   background-color: #e74c3c;
    border-color: #e74c3c;
    color: #fff;
}

#game .score {
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 24px;
    transition: font-size 0.5s ease-in-out;
    color: #0d5eaf;
}

.final_score{
  font-size: 34px;
}

#end {
    display: flex;
    flex-direction: column;
    align-items: center;
}

@keyframes scoreAnimation {
    0% {
        font-size: 24px;
        color: #2ecc71;
    }
    50% {
        font-size: 30px;
        color: #3498db;
    }
    100% {
        font-size: 24px;
        color: #2ecc71;
    }
}

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

.hidden {
    display: none;
}

.flex-container {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

@media screen and (max-width: 800px) {
    .small-image {
        width: 30%;
        margin: 20px;
    }
} 