/* Réinitialisation des marges et des paddings pour une base propre */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* Style du body et de la police */
  body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    background-color: #ffebd8;
  }
  
/* Style CSS pour le header */
/* Style CSS pour le header */


  main{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  /* Style pour le titre h1 */
  h1 {
    font-family: Arial, sans-serif;
    color: #333;
    margin-bottom: 10px;
    font-size: 3rem;
  }
  a{
    text-decoration: none;
    color: #295efc;
    font-size: 1.1rem;
  }
  /* Style pour les paragraphes dans le header */
  p {
    font-family: Arial, sans-serif;
    color: #3D3D3D;
    margin-bottom: 5px;
    font-size: 1.4rem;
  }

  /* Style pour le header */

/* Styles généraux */
section {
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
  }
  
  section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #e74c3c;
  }
  
  section p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #555;
    line-height: 1.6;
  }
  
  section img {
    max-width: 100%; /* Image responsive */
    height: auto;
    display: block;
    margin: 0 auto 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
  }
  
 .schedule{
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  background-color: #9b5102;
  color: #fff;
  margin: 20px auto;
  border-radius: 20px;
  padding: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
 }
  
  /* Media queries pour rendre le design responsive */
  @media screen and (min-width: 768px) {
    main {
      display: flex;
      flex-direction: row;
      align-items: stretch;
    }
  
    section {
      width: 33%; /* Deux colonnes pour les sections */
    }
  
    section:nth-child(even) {
        margin-left: 0;
        text-align: left;
        justify-content: space-between;
        display: flex;
        flex-direction: column;
    }
  
    section:nth-child(odd) {
        margin-right: 0;
        text-align: left;
        justify-content: space-between;
        display: flex;
        flex-direction: column;
    }
  
    section:nth-child(even) img {
      margin-right: 50px;
      margin-left: 0;
    }
  
    section:nth-child(odd) img {
      margin-right: 0;
    }
  }
  
  
  @media screen and (max-width: 1064px) {
    section {
        width: 100%; /* Deux colonnes pour les sections */
      }
  }
  /* Media query pour les appareils mobiles (max-width: 768px) */
  @media screen and (max-width: 768px) {

    /* Sections prennent toute la largeur sur les appareils mobiles */
    section {
      width: 100%;
      margin-left: 0;
      margin-right: 0;
    }
    
    /* Réinitialiser la largeur maximale pour les sections impaires/paires */
    section:nth-child(odd),
    section:nth-child(even) {
      width: 100%;
    }
    
    /* Redimensionner les images pour les appareils mobiles */
    section img {
      max-width: 100%; /* Image prendra toute la largeur */
      height: auto; /* Hauteur ajustée automatiquement pour préserver les proportions */
      margin-bottom: 10px; /* Espacement sous les images */
    }
  }
  
  
  
  
  /* Media queries pour la responsivité */
  @media only screen and (max-width: 768px) {
    header h1 {
      font-size: 2.5em;
    }
  
    nav ul {
      flex-direction: column;
      align-items: center;
    }
  
    nav ul li {
      margin: 10px 0;
    }
  
    section h2 {
      font-size: 2em;
    }
  
    section p {
      font-size: 1em;
    }
  }
  