/* Chapitre 1 - diaporama */
body {
  background-color: #000;     /* fond noir */
  color: #fff;                /* texte blanc */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  min-height: 100vh;
  margin: 0;
  padding-top: 30px;
  font-family: Arial, sans-serif;
}

.slideshow-container {
  width: 90%;
  max-width: 1000px;
  overflow: hidden;
  border-radius: 12px; /* coins arrondis */
  margin: 0 auto 30px;
}

.slideshow-container img {
  display: block;
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  margin: 0 auto;
  border-radius: 12px; /* coins arrondis sur l'image */
}

/* boutons et texte */
.back-button {
  display: block;
  margin: 20px auto;
  padding: 16px 24px;
  background-color: #402924;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.2s ease;
}

.back-button:hover {
  background-color: #5b3a33;
  transform: translateY(-2px);
}

/* responsive : mobile */
@media (max-width: 600px) {
  .slideshow-container {
    width: 95%;
  }
  .back-button {
    width: 90%;
    font-size: 20px;
  }
}
