/* -------------------- */
/* Mise en page globale */
/* -------------------- */

body {
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
  margin: 0;
  padding: 20px;
  background-color: #f5f5f5;
}

h1 {
  margin-bottom: 30px;
}

.button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

/* -------------------- */
/* Boutons génériques   */
/* -------------------- */

.btn {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 200px;
  height: 48px;
  margin: 8px auto;

  font-size: 16px;
  font-weight: 600;
  text-decoration: none;

  color: #ffffff;
  background-color: #007bff;
  border-radius: 8px;

  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
  background-color: #0056b3;
  transform: scale(1.03);
}

/* -------------------- */
/* Bouton Quitter       */
/* -------------------- */

.btn-quit {
  background-color: #dc3545;
}

.btn-quit:hover {
  background-color: #b02a37;
}

/* -------------------- */
/* Crédit bas de page   */
/* -------------------- */

.credit-ia {
  margin-top: 40px;
  font-size: 14px;
  color: #555;
}

/* ------------------------------ */
/* Présentation Exercices Mémoire */
/* ------------------------------ */

#presentation-exercices-memoire {
  max-width: 900px;
  margin: 0 auto 40px auto;
  padding: 20px 25px;

  background-color: #ffffff;
  border-radius: 10px;

  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Titre secondaire (si présent) */
#presentation-exercices-memoire h2 {
  margin-bottom: 16px;
  font-size: 22px;
  color: #222;
}

/* Paragraphes */
#presentation-exercices-memoire p {
  margin-bottom: 14px;

  font-size: 16px;
  line-height: 1.6;
  color: #333;

  text-align: left;
}

/* Dernier paragraphe */
#presentation-exercices-memoire p:last-child {
  margin-bottom: 0;
  font-weight: 600;
}

/* Responsive mobile */
@media (max-width: 600px) {
  #presentation-exercices-memoire {
    padding: 15px 18px;
  }

  #presentation-exercices-memoire p {
    font-size: 15px;
  }
}

/* ------------------------------ */
/* Présentation Exercices Mémoire */
/* ------------------------------ */
#presentation-exercices-memoire {
  max-width: 900px;
  margin: 0 auto 40px auto;
  padding: 20px 25px;

  /* Fond blanc légèrement transparent */
  background-color: rgba(255, 255, 255, 0.85);

  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);

  /* Pour s’assurer que le texte reste lisible sur fond transparent */
  color: #333;
}

/* Titre secondaire (si présent) */
#presentation-exercices-memoire h2 {
  margin-bottom: 16px;
  font-size: 22px;
  color: #222;
}

/* Paragraphes */
#presentation-exercices-memoire p {
  margin-bottom: 14px;
  font-size: 16px;
  line-height: 1.6;
  text-align: left;
}

/* Dernier paragraphe */
#presentation-exercices-memoire p:last-child {
  margin-bottom: 0;
  font-weight: 600;
}

/* Responsive mobile */
@media (max-width: 600px) {
  #presentation-exercices-memoire {
    padding: 15px 18px;
  }

  #presentation-exercices-memoire p {
    font-size: 15px;
  }
}
