body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Évite la barre de défilement horizontale */
  }
  

  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 20px;
    height: 80px;
    width: 100%;
    z-index: 999;
    background-color:rgba(253, 171, 171, 0.5);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Ajout d'une ombre pour le contraste */
    transition: background-color 0.3s ease; /* Transition pour changement d'arrière-plan */
    padding: 0 20px;
  }

  .nav-links ul {
    padding-right: 20px;
    display: flex;
    list-style: none;
    position: relative;
  }

  .logo {
    display: flex;
    align-items: center;
}

.logo-img {
    width: 130px; /* Ajustez la largeur selon vos besoins */
}

  .nav-links ul li {
    margin: 5 15px;
    position: relative;
    list-style-type: none;
  }

  .nav-links ul li a {
    color: rgb(27, 26, 26);
    text-decoration: none;
    font-size: 18px;
    padding: 10px;
  }

  .nav-links ul li a:hover {
    color: rgb(46, 42, 42);
  }

  .dropdown-content {
    display: none;
    position: absolute;
    left: 0;
    background-color: rgba(187, 180, 180, 0.4);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.6);
    z-index: 1;
  }

  .dropdown-content a {
    color: rgb(255, 255, 255);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
  }

  .dropdown-content a:hover {
    background-color: rgb(172, 151, 151);
  }

  .dropdown:hover .dropdown-content {
    display: block;
  }

  .menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 24px;
    padding-right: 40px;
  }

  .sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1001;
    top: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.9);
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
  }

  .overlay1 {
    display: none; /* Initially hidden */
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    top: 0;
    left: 0;
    z-index: 1000; /* Placed above everything else */
  }

  .sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 15px;
    color: white;
    display: block;
    transition: 0.3s;
  }

  .sidenav div a {
    color: rgb(110, 211, 204);
  }

  .sidenav a:hover {
    color: #f1f1f1;
  }

  .sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 20px;
  }

  @media screen and (max-width: 770px) {
    .nav-links ul {
      display: none;
    }
    .menu-toggle {
      display: block;
    }
  }
  

  .swiper-container {
    width: 100%;
    height: 100%; /* S'assurer que le conteneur occupe toute la hauteur de la fenêtre */
  }
  .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .swiper-slide img {
    width: 100%; /* L'image prend toute la largeur disponible */
    height: 100%; /* L'image prend toute la hauteur du conteneur */
  }
  .x-vids{
    width: 100%;
    height: auto;
    object-fit: cover;      
  }
  


  .secEntete{
    display: flex;
    top: 0;
    justify-content: center;
    align-items: center;
    height: 100%;
    background-color: rgba(36, 95, 54, 0.5);
  }

  .secEntete a{
    font-size: larger;
    text-decoration: none;
    margin-left: 40px;
    color: white;
  }

  /* Responsive design */
@media (max-width: 600px) {
  .secEntete a{
    margin-left: 7px;
  }
  
}