body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #222;
  max-width: 40rem;
  padding: 2rem;
  margin: auto;;
background: #48a4cf;
background: linear-gradient(180deg, rgba(72, 164, 207, 1) 0%, rgba(108, 208, 245, 1) 56%, rgba(222, 254, 255, 1) 100%);
  color: #0b2265
}
img {
  max-width: 100%;
}
a {
  color: #0b2265;
}
a:hover {
  text-decoration: underline; 
  color: #0b2265;
  /* Sur ordinateur, on aligne le texte et l'image côte à côte */
.contenu-flex {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem; /* un espace entre le texte et l'image */
  margin-top: 2rem;
}

/* place pour le texte */
.texte-intro {
  flex: 2;
}

/*taille de l'image sur grand écran*/
.contenu-flex img {
  flex: 1;
  max-width: 250px; /* ajuster la taille */
  height: auto;
  border-radius: 8px;
}

/* L'ASTUCE POUR LE TÉLÉPHONE : Si l'écran est plus petit que 600px */
@media (max-width: 600px) {
  .contenu-flex {
    flex-direction: column; /* Le texte et l'image se superposent verticalement */
    align-items: flex-start;
  }
  
  .contenu-flex img {
    max-width: 100%; /* L'image prend toute la largeur sur mobile */
    margin-top: 1rem;
  }
}
.logo {
  max-width: 120px;    /* ajuster la taille de l'image*/
  height: auto;
  margin-top: 1rem;    /* Ajoute un petit espace au-dessus du logo */
  margin-bottom: 1rem; /* Ajoute un petit espace en dessous avant le titre */
}
.quiz-container {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 2.5rem;
  border: 2px solid #0b2265;
}

.question {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #d0e4f5;
}

.quiz-container button {
  background-color: #0b2265;
  color: light bleu;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  margin-right: 10px;
}

.quiz-container button:hover {
  opacity: 0.85;
}

#resultat {
  margin-top: 1rem;
  font-weight: bold;
  font-size: 18px;
}