h1, h2, h3, h4, h5 {
    margin: 0;
    padding: 0;
    font-size: inherit;
}


/* Style général */
body {
      font-family: "Verdana", Arial, sans-serif;
      font-size: 16px;
      line-height: 1.6;
      margin: 0;
      margin-top: 10px;
      padding: 0;
      color: #fff;
      background: radial-gradient(circle at center, rgba(139, 4, 124, 1), black);
  }
  
  /* Container principal */
  .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 10px;
  }
   
  /* Sections avec bordures */
  div {
  
      border-radius: 10px;
      padding: 10px;
      margin-bottom: 5px;
  }
  
/* Logo */
.logo {
      width: 98%;
      overflow: hidden; /* S'assure qu'aucun débordement ne se produit */
      border: solid 2px fuchsia ; 

  }
  
  .logo-img {
      width: 100%; /* L'image prend 100% de la largeur de la div */
      height: auto; /* Maintient le ratio de l'image */
      display: block; /* Évite des marges indésirables autour de l'image */
  }
  

  .menu nav ul li a {
      text-decoration: none;
      color: white;
     background-color:black ; 
  }
  .menu nav ul li a:hover {
      background-color:black ; 
      color: black;
  } 
  
  /* Contenu principal */
  .contenu {
      background-color: gray;
      border: solid 2px fuchsia ; 
      border-radius: 10px;

      color: black; /* Texte noir */
      padding: 10px;


  }

  .contenu table {
      width: 100%;
      border-collapse: collapse;
      margin-top: 20px;
      border-radius: 10px;
      border: solid 2px fuchsia ; 
      background-color: gray;
  }
  .contenu table th, .contenu table td {
      border: 2px solid fuchsia;
      padding: 10px;
      text-align: center;
      border-radius: 10px;
      border: solid 2px fuchsia ; 
      background-color: gray;
  }

  .texte-blanc {
      padding: 20px;
      color:white; 
  
    }

    .texte-bleu {
      padding: 20px;
      color:blue; 
  
    }

    .texte-noir {
      padding: 20px;
      color:black;
  
    }
 
/* Styles spécifiques pour form.type1 */
form.type1 {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: rgba(0, 0, 0, 0.6); /* Fond sombre */
    padding: 20px;
    border-radius: 10px;
    width:80% ; 
}

/* Champs dans form.type1 uniquement */
form.type1 input, 
form.type1 textarea, 
form.type1 input[type="submit"] {
    border: 2px solid fuchsia;
    padding: 10px;
    font-size: 1rem;
    background: lightpink;
    border-radius: 5px;
    width: 100%; /* Prend toute la largeur */
    box-sizing: border-box;
}

/* Style spécifique pour textarea */
form.type1 textarea {
    background: lightgreen;
    resize: none; /* Empêche le redimensionnement */
}

/* Style du bouton submit */
form.type1 input[type="submit"] {
    background: fuchsia;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}

form.type1 input[type="submit"]:hover {
    background: black;
    color: fuchsia;
}


/* CSS pour les formulaires du projet ZÉNITUDE */

form.zenitude {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

form.zenitude input,
form.zenitude textarea,
form.zenitude select {
    background-color: lightpink;
    border: 1px solid #d3d3d3;
    border-radius: 5px;
    padding: 10px;
    font-size: calc(1em + 1px);
    width: 90%;
}

form.zenitude button {
    background-color: fuchsia;
    border: none;
    border-radius: 5px;
    color: white;
    font-size: calc(1em + 1px);
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 90%;
}

form.zenitude button:hover {
    background-color: darkmagenta;
}

form.zenitude label {
    font-size: calc(1em + 1px);
    font-weight: bold;
    color: #800080;
    align-self: flex-start;
}




  .footer {
      text-align: center;
      font-size: 0.9rem;
  }
  
  .embed-responsive {
      position: relative;
      display: block;
      width: 100%; /* La div prend toute la largeur disponible */
      height: 0;
      padding-bottom: 56.25%; /* Maintient un ratio 16:9 */
      overflow: hidden; /* Cache tout débordement */
      max-width: 100%; /* Empêche la div de dépasser son conteneur parent */
      border-radius: inherit; /* Applique le même arrondi que .contenu si nécessaire */
  }
  
  .embed-responsive iframe,
  .embed-responsive video,
  .embed-responsive object {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%; /* Ajuste la vidéo pour occuper tout l’espace de la div */
      max-width: 100%; /* Ne dépasse pas les limites */
      max-height: 100%;
  }
   
  /* Conteneur principal */
    .flex-container {
        display: flex;
        flex-wrap: wrap; /* Permet d'aller à la ligne si nécessaire */
        gap: 10px; /* Espacement entre les colonnes */
        width: 100%; /* S'adapte à la largeur du conteneur parent */
        max-width: 1200px; /* Limite la largeur totale */
        margin: auto; /* Centre horizontalement */
        background-color: gray;
        border: 2px solid black;
        box-sizing: border-box; /* Inclut le padding et bordures dans la largeur */
    }

    /* Conteneur d'éléments */
    .flex-item {
        flex: 1; /* Les deux colonnes prennent un espace égal */
        min-width: 300px; /* Largeur minimale pour chaque colonne */
        max-width: 50%; /* Les deux colonnes ne dépassent pas la moitié de la largeur */
        background-color: gray;
        padding: 10px;
        box-sizing: border-box; /* Inclut le padding dans la largeur totale */
    }

/* Styles des titres (par défaut) */
h1 {
    font-size: 2.5rem; /* Taille sur grand écran */
    font-weight: bold;
}

h2 {
    font-size: 2rem;
    font-weight: bold;
}

h3 {
    font-size: 1.75rem;
    font-weight: bold;
}

h4 {
    font-size: 1.5rem;
    font-weight: bold;
}

h5 {
    font-size: 1.25rem;
    font-weight: bold;
}

/* Responsiveness des titres sur mobile */
@media (max-width: 768px) {
    h1 {
       /*  font-size: 2rem; */
       /*  font-size: 1.50rem; */
       font-size: 0.875rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    h4 {
        font-size: 1.25rem;
    }

    h5 {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    h1 {
        /* font-size: 1.75rem; */
      /*   font-size: 1.20rem; */
      font-size: 0.875rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    h4 {
        font-size: 1rem;
    }

    h5 {
        font-size: 0.875rem;
    }
}




/* Affichage pour écrans étroits */
@media screen and (max-width: 768px) {
    .flex-item {
        max-width: 100%; /* Chaque colonne occupe toute la largeur */
    }
}
  
  /* Responsiveness */
  @media (max-width: 768px) {
      .menu nav ul {
          flex-direction: column;
      }
      .contenu table th, .contenu table td {
          font-size: 0.9rem;
      }
      body {
          font-size: 90%;
      }
  }
  
  @media (max-width: 480px) {
      body {
          font-size: 80%;
      }
  }
  