body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
  cursor: crosshair;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at center, #666666 10%, #FFFFFF 100%);
  z-index: -1;
  animation: invertColors 4s ease-in-out infinite alternate;
}

body::after {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at center, #FFFFFF 10%, #666666 100%);
  z-index: -2;
}

@keyframes invertColors {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}


/* Body styling to help with centering */
    #page-carousel {
    margin: 0;
    height: 100vh; /* Full viewport height */
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
   
    }




      @font-face {
        font-family: 'avarabold';
        src: url('LINKS/avara.eot');
        src: url('LINKS/avara.eot?#iefix') format('embedded-opentype'),
             url('LINKS/avara.woff2') format('woff2'),
             url('LINKS/avara.woff') format('woff'),
             url('LINKS/avara.ttf') format('truetype'),
             url('LINKS/avara.svg#avarabold') format('svg');
        font-weight: normal;
        font-style: normal;
      }

      @font-face {
        font-family: 'Latitude';
        src: url('LINKS/Latitude-Regular.woff2') format('woff2');
        src: url('LINKS/Latitude-Regular.woff2') format('woff2'),
             url('LINKS/Latitude-Regular.woff') format('woff'),
             url('LINKS/Latitude-Regular.ttf') format('truetype');
        font-weight: normal;
        font-style: normal;
      }


      small {
        font-family: "new-science", sans-serif;
        font-style: normal;
        font-size: 16px;
      }

      a{
        text-decoration: none;
        color: inherit;
      }


/* Style général pour les bannières de défilement */
.defileParent {
  display: flex;
  justify-content: center;
  overflow: hidden;
  border: 1px solid black;
  border-radius: 30px;
  position: relative;
  margin: 10px auto;
  height: 20px;
  width: calc(100% - 20px);
  max-width: 100%;
  background-image: radial-gradient(circle at 30% 50%, #666666, transparent 50%),
                    radial-gradient(circle at 70% 50%, #FFFFFF, transparent 50%);
  background-size: 200% 100%;
  background-repeat: no-repeat;
  background-position: 0% 50%;
  animation: slideGradient 4s ease-in-out infinite alternate;
}

@keyframes slideGradient {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

      /* Style pour la bannière de défilement fixe en haut */
      .defileTop {
        position: fixed; /* Fixe la bannière en haut de l'écran */
        top: 0; /* Positionne la bannière en haut */
        left: 50%; /* Positionne au centre */
        transform: translateX(-50%); /* Ajuste pour centrer parfaitement */
        width: calc(100% - 20px); /* Ajuste la largeur en tenant compte des marges */
        z-index: 1000; /* Assure que la bannière est au-dessus du reste du contenu */
      }

      /* Style pour la bannière de défilement fixe en bas */
      .defileFixed {
        position: fixed; /* Fixe la bannière en bas de l'écran */
        bottom: 0; /* Positionne la bannière en bas */
        left: 50%; /* Positionne au centre */
        transform: translateX(-50%); /* Ajuste pour centrer parfaitement */
        width: calc(100% - 20px); /* Ajuste la largeur en tenant compte des marges */
        z-index: 1000; /* Assure que la bannière est au-dessus du reste du contenu */
      }

      /* Style commun pour le texte de défilement */
      .defile {
        font-family: 'new-science'; /* Police définie par @font-face */
        font-style: normal;
        font-size: 18px; /* Ajuster la taille du texte si nécessaire */
        display: block;
        animation: marqueelike 30s linear infinite; /* Animation pour le défilement */
        padding: 0 10px; /* Ajouter de l'espace autour du texte */
        text-align: left;
        color: black;
        white-space: nowrap;
        line-height: auto; /* Aligner le texte verticalement au centre */
      }

       .defileParent:hover .defile {
        animation-play-state: paused; /* Arrête l'animation au survol */
      }

      .defile:after {
        content: attr(data-text); /* Répéter le texte pour le défilement */
        position: absolute;
        white-space: nowrap;
        padding-left: 150px; /* Espacement pour éviter que le texte ne se chevauche */
      }

      @keyframes marqueelike {
        0% { transform: translateX(100%); } /* Commence hors de l'écran à droite */
        100% { transform: translateX(-100%); } /* Se termine hors de l'écran à gauche */
      }

      /* Style général pour le conteneur d'images */
        .pictures {
            display: grid;
            grid-template-columns: repeat(4, 1fr); /* Trois colonnes de largeur égale */
            gap: 10px; /* Espacement entre les images */
            padding: 10px; /* Ajoute du padding autour du conteneur */
            margin-top: 5em;
            width: 100%; /* Le conteneur occupe toute la largeur disponible */
            box-sizing: border-box; /* Inclut le padding dans la largeur totale du conteneur */
            row-gap: 100px;
            padding-bottom: 4%;
        }

        /* Style pour les images */
        .pictures img {
            width: 100%; /* Ajuste la largeur des images pour remplir les colonnes */
            height: auto; /* Maintient les proportions des images */
            border-radius: 5px; /* Optionnel : arrondit les coins des images */
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Optionnel : ajoute une ombre légère */
        }
    

      .logo {
      
      }   

      h2 {
        font-family: inherit;
        text-transform: inherit;
        font-weight: inherit;
        font-style: inherit;
        font-size: inherit;
        margin: inherit;
        text-align: inherit;
      }
      
      h1 {
        font-family: "new-science", sans-serif;
        text-transform: uppercase;
        font-weight: 400;
        font-style: normal;
        padding: 0; /* Enlève le padding */
        margin: 0; /* Enlève les marges */
        letter-spacing: 0.1em;
        transform: scaleY(0.8); /* Réduit légèrement la hauteur du texte */
        color: black;
        text-shadow: 0px 0 0 #000;
        font-size: 1.2rem;
        text-align: left; /* Aligne le texte à gauche */
        display: flex;
        align-items: center; /* Centre le texte verticalement */
      }

      h3{
        font-family: 'helvetica';
        transform: scaleY(0.8);
        font-style: normal;
        font-size: 20px;
        margin: inherit;
        text-align: center;
        padding: 10px;
      }
      
      .exp {
        font-family: "new-science", sans-serif;
        font-weight: 400;
        font-style: normal;
        letter-spacing: -0.1em;
        color: rgba(255, 255, 255, 1);
        text-shadow: 1px 0 0 #000, -1px 0 0 #000, 0 1px 0 #000, 0 -1px 0 #000;
        font-size: 1rem;
        transform: scale(1.2);
      }

      ul {
        list-style-type: none;
        padding: 0;
        padding-left: 1em;
        display: flex;
        padding-right: 6em;
        gap: 15px;
        text-align: center;
      }

      .list {
        margin: 0; /* Reduces any extra space around the list */
        font-family: "new-science", sans-serif;
        font-weight: 400;
        font-style: normal;
        color: black;
        text-shadow: 0px 0 0 #000;
        font-size: 1.00rem;
        text-transform: uppercase;
        transform: scaleY(0.8);
      }

      .list.active {
  display: none !important;
}

      #head {
        display: flex;
        justify-content: space-between; /* Aligne le logo et la liste avec espace entre eux */
        align-items: center; /* Centre verticalement les éléments du header */
        overflow: hidden;
        background: linear-gradient(to bottom, #666666 10%, rgba(255, 126, 95, 0));
        position: fixed;
        top: 0;
        width: 100%;
        height: 10%;
        padding: 0 10px; /* Ajoute un padding intérieur */
        padding-top: 2em;
        box-sizing: border-box; /* Inclut le padding dans la largeur totale */
        z-index: 500;
      }
      
      .list ul {
        list-style-type: none;
        padding: 0;
        margin: 0;
        display: flex;
        align-items: baseline; /* Aligne les éléments de la liste sur la même ligne de base */
        gap: 15px; /* Espacement entre les éléments de la liste */
      }

      .list li {
        display: flex;
        align-items: center; /* Aligne le texte au centre verticalement */
        font-family: "new-science", sans-serif;
        color: black;
        font-size: 1.00rem;
        text-transform: uppercase;
        margin: 0;
        padding: 0; /* Assure qu'il n'y a pas de padding ou marge ajoutée */
      }

      .list {
        display: flex;
        align-items: center; /* Centre verticalement les éléments de la liste */
        font-family: "new-science", sans-serif;
        color: black;
        text-shadow: 0px 0 0 #000;
        font-size: 1.00rem;
        text-transform: uppercase;
        transform: scaleY(0.8);
        gap: 15px; /* Espacement entre les éléments de la liste */
        margin: 0; /* Enlève les marges autour de la liste */
        padding: 0; /* Enlève les paddings autour de la liste */
      }

      .blurry-hover {
        transition: filter 0.6s ease; /* applique la transition en entrée et sortie */
      }

      .blurry-hover:hover {
        filter: blur(2px);
      }
      .pics img{width: 100%;
        height: auto;
        display: block;
      }




/* Container for the carousel ________________________________*/
.carousel img {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 80%;       /* force la hauteur à 100% du container */
  width: auto;        /* largeur auto pour garder le ratio */
  max-width: none;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.5s ease;
  border-radius: 5px;
  z-index: 0;
  object-fit: contain;

}

.carousel img.active {
  opacity: 1;
  z-index: 1;
  cursor: cell;
}




/* menu ________________________________*/

strong {font-family: inherit;
        text-transform: inherit;
        font-weight: inherit;
        font-style: inherit;
        font-size: 16px;
        margin: inherit;
        text-align: inherit;
        }

sup{position: relative;
  top: -0.27em;
  font-size: 1.1em;
  font-weight: 500;
}

/* version mobile ________________________________*/
@media (max-width: 768px) {
  .carousel-container {
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }

  .carousel img {
    width: 90%;
    height: auto;
    display: block;
  }
  .carousel img.landscape {
    height: auto;
    width: 90%;
    }
  }

  /* Overlay masquée par défaut */
.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-overlay .overlay-content {
  text-align: center;
  font-family: 'new-science', sans-serif;
  font-size: 2rem;
  color: white;
  font-weight: normal;
  display: flex;
  flex-direction: column;
  gap: 1em;
  text-shadow: 0 0 10px rgba(0, 0, 0, 1);
}

.mobile-overlay a {
  text-decoration: none;
  color: white;
}

.close-overlay {
  position: absolute;
  top: 2.5rem; /* vous pouvez ajuster cette valeur (ex: 3rem, 4rem) */
  right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  text-shadow: 0 0 10px rgba(0, 0, 0, 1);
}
