<style>
    /* Réinitialisation de quelques styles par défaut */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    /* Media Query : pour les écrans d'au moins 768px, on passe à une disposition en ligne */
    @media (min-width: 768px) {
      .container {
        flex-direction: row;
      }
    }
     :root {
      --entete-height: 80px;
    }

    @media (max-width: 600px) {
      :root {
        --entete-height: 60px; /* plus grand sur mobile si nécessaire */
      }
    }

    body {
      font-family: Arial, sans-serif;
      line-height: 1.6;
    }

    header, footer {
      background-color: #333;
      color: #fff;
      text-align: center;
      padding: 40px;
    }

    nav {
      background: #f4f4f4;
      padding: 5px;
      text-align: center;
    }

    nav a {
      margin: 0 5px;
      color: #333;
      text-decoration: none;
    }

    main {
      padding-top: var(--entete-height);
      padding: var(--entete-height) 5px 5px;
    }
    h1 {
      /*font-size:medium;*/
      font-size: 1.1rem;
    }
    p {
      font-size: 1rem;
    }

    /* Utilisation de Flexbox pour organiser le contenu */
    .container {
      display: flex;
      width:100%;
      flex-direction: column; /* Par défaut, les éléments s'empilent en colonne (pour mobile) */
      gap: 10px;
      text-align: center;
    }

    .box {
      background: transparent;
      width:100%;
      padding: 5px;
      text-align: center;
      flex: 1;
    }

    


    .image-container {
      width: 100%; /* L'image ne dépasse jamais la largeur de son conteneur */
      text-align: center; /* Centre l'image dans la page */
      padding: 5px
    }

    .image-container img {
      max-width: 100%; /* L'image ne dépasse pas la largeur de l'écran */
      height: auto; /* Maintient les proportions de l'image */
      border-radius: 10px; /* Ajoute des coins arrondis pour un design moderne */
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Ajoute une ombre */
    }

    
    .entete{
      position:fixed;
      top:0;
      left:0;
      z-index:1000;
      display: flex;
      justify-content: space-between; /* Place les div aux extrémités */
      width: 100%;
      height: var(--entete-height);
      background: #f4f4f4;
    }
    .legende{
      text-align: center;
      max-width: 900px;
      background: yellow;
      margin-top: 0px;
      font-size:0.95rem;
      margin:auto;
    }

   
    .responsive-text-container {
      max-width: 900px;
      margin: 0 auto;
      padding: 20px;
      background-color: #f0f0f0;
      border-radius: 8px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .responsive-text-container p {
      font-size: 1rem;
      line-height: 1.6;
    }

    /* Adaptation pour petits écrans */
    @media (max-width: 600px) {
      .responsive-text-container {
        padding: 15px;
      }

      .responsive-text-container p {
        font-size: 0.95rem;
      }
    }
  
  </style>