.about_page {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh; /* Toujours remplir au moins la hauteur de l'écran */
  padding: 2% 8%;
  box-sizing: border-box;
  color: #242424;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  scroll-snap-align: start; /* Alignement dans le scroll */
  font-family: 'Barlow Semi Condensed', sans-serif;

}

.about_page h2 {
  font-size: 3em; /* Taille par défaut du titre */
  margin-bottom: 1rem;
  transition: font-size 0.3s ease;
  font-family: 'Cinzel', serif;
}

.about_page hr {
  width: 6%;
  height: 2px;
  border: none;
  border-radius: 50px;
  background-color: yellow;
  background: linear-gradient(to right, #BF953F, #B38728, #FBF5B7, #FBF5B7, #AA771C);
  margin: 0;
  margin-bottom: 3%;
  transition: width 0.3s ease;
}

.about_page p {
  font-size: 1.2em; /* Taille de texte par défaut pour les paragraphes */
  line-height: 1.6; /* Espacement des lignes pour améliorer la lisibilité */
  transition: font-size 0.3s ease;
  
}

.about_page .page-content {
  display: flex;
  width: 100%;
  box-sizing: border-box;
  flex-wrap: wrap; /* Les sections s'enroulent pour s'adapter à la taille de l'écran */
  gap: 20px;
  margin-top: 5%;
  justify-content: space-between;
}

.about_page .page-content .section {
  width: 45%; /* Largeur par défaut de chaque section */
  transition: width 0.3s ease;
}

.about_page .page-content .section h3 {
  font-size: 2em;
  margin-bottom: 0.5em;
  transition: font-size 0.3s ease;
}

.about_page .page-content .section p {
  font-size: 1.1em;
  transition: font-size 0.3s ease;
}

/* Media Queries */

/* Écran inférieur à 425px (mobiles très petits) */
@media (max-width: 425px) {
  .about_page {
    padding: 5% 5%;
  }

  .about_page h2 {
    font-size: 2.2em; /* Réduit la taille du titre */
  }

  .about_page hr {
    width: 50%; /* Plus large pour les petits écrans */
  }

  .about_page p {
    font-size: 1em; /* Réduit la taille des paragraphes */
  }

  .about_page .page-content .section {
    width: 100%; /* Chaque section prend toute la largeur de l'écran */
  }

  .about_page .page-content .section h3 {
    font-size: 1.5em; /* Réduit la taille des sous-titres */
  }

  .about_page .page-content .section p {
    font-size: 1em;
  }
}

/* Écran inférieur à 768px (tablettes et petits écrans) */
@media (max-width: 768px) {
  .about_page h2 {
    font-size: 2.5em;
  }

  .about_page hr {
    width: 50%;
  }

  .about_page p {
    font-size: 1.1em;
  }

  .about_page .page-content .section {
    width: 100%;
  }

  .about_page .page-content .section h3 {
    font-size: 1.75em;
  }

  .about_page .page-content .section p {
    font-size: 1.1em;
  }
}

/* Écran inférieur à 1024px (tablettes larges, petits ordinateurs) */
@media (max-width: 1024px) {
  .about_page h2 {
    font-size: 2.8em;
  }

  .about_page hr {
    width: 35%;
  }

  .about_page p {
    font-size: 1.15em;
  }

  .about_page .page-content .section {
    width: 100%;
  }

  .about_page .page-content .section h3 {
    font-size: 1.85em;
  }

  .about_page .page-content .section p {
    font-size: 1.15em;
  }
}

/* Écran inférieur à 1440px (ordinateurs de bureau) */
@media (max-width: 1440px) {
  .about_page h2 {
    font-size: 3em;
  }

  .about_page hr {
    width: 30%;
  }

  .about_page p {
    font-size: 1.2em;
  }

  .about_page .page-content .section {
    width: 100%;
    padding-bottom: 25px;
  }

  .about_page .page-content .section h3 {
    font-size: 2em;
  }

  .about_page .page-content .section p {
    font-size: 1.2em;
  }
}

/* Écran supérieur à 2560px (grands écrans) */
@media (min-width: 2560px) {
  .about_page h2 {
    font-size: 4em; /* Augmente la taille du titre pour les grands écrans */
  }

  .about_page hr {
    width: 25%; /* Ajuste la largeur de la ligne */
  }

  .about_page p {
    font-size: 1.5em; /* Augmente la taille des paragraphes */
  }

  .about_page .page-content .section {
    width: 48%;
  }

  .about_page .page-content .section h3 {
    font-size: 2.5em; /* Taille des sous-titres augmentée */
  }

  .about_page .page-content .section p {
    font-size: 1.4em; /* Taille des paragraphes augmentée */
  }
}
