body {
  font-family: Arial, sans-serif;
  background-image: url("../media/Histoire\ du\ club.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  size: 16px;
}
.page-background {
  position: fixed;
  inset: 0;
  background: url("../media/Histoire\ du\ club.jpg") center/cover no-repeat;
  z-index: -2;
}

.page-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: -1;
}

.back {
  position: fixed;
  top: 20px;
  left: 20px;
  text-decoration: none;
  color: #ffffff;
  font-size: 20px;
  background: rgba(255, 0, 0, 0.85);
  padding: 8px 14px;
  border-radius: 8px;
}

.suivant {
  position: fixed;
  top: 20px;
  right: 20px;
  text-decoration: none;
  color: #ffffff;
  font-size: 20px;
  background: rgba(255, 0, 0, 0.85);
  padding: 8px 14px;
  border-radius: 8px;
}

h1 {
  text-align: center;
  font-size: 48px;
  margin-bottom: 40px;
}

.conteneur {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 20px;
  flex-wrap: wrap;
}

.card {
  background-color: rgba(255, 190, 190, 0.7);
  border: 2px solid #c07272;
  padding: 20px;
  width: 400px;
  size: 16px;
  justify-content: space-evenly;
  border-radius: 8px;
  align-items: center;
  font-size: 20px;
  text-align: justify;
}

h1 {
  font-size: 100px;
  color: #ffffff;
}

.title {
  text-align: center;
  font-size: 100px;
  }
 

@media (max-width: 600px) {

  body {
    font-size: 16px;
    margin: 0;
    text-align: center; 
  }

  
  .back,
  .suivant {
    font-size: 15px;
    padding: 6px 10px;
    top: 10px;
  }
  .back { left: 10px; }
  .suivant { right: 10px; }


  h1 {
    font-size: 32px;
    margin: 70px 10px 20px;
    text-align: center;
  }

  
  .conteneur {
    flex-direction: column;
    align-items: center;
    text-align: center;   
    gap: 20px;
  }

  .card {
    width: 90%;
    max-width: 500px;
    font-size: 16px;
    padding: 16px;
    text-align: center; 
  }
}


@media (max-width: 380px) {
  h1 {
    font-size: 26px;
  }
  .card {
    font-size: 15px;
  }
}
