@font-face {
    font-family: police1;
    src: url(fonts/BBBDMSans-Regular.ttf);
}

@font-face {
    font-family: police2;
    src: url(fonts/BBBDMSans-Light.ttf);
}

@font-face {
    font-family: police3;
    src: url(fonts/Satoshi-Regular.otf);
}



body {
  margin: 0;
  padding: 0;
  font-family: police3;
  cursor: crosshair;

  position: relative;
  z-index: 0;

}


  

img.symbol {
  width: 2%;
}

/* --- Menu principal --- */
#Menus {
  flex: 1;
  text-align: right;
  height: 50px;
  margin-top: 2.5%;
  margin-bottom: 2%;
}

#Menus a {
  margin: 0 20px;
  text-decoration: none;
  color: inherit;
  line-height: 40px;
  font-size: 20px;
  border: 1px solid black;
  background-color: white;
  border-radius: 30px;
  padding: 10px 14px;
  font-family: police2;
  position: relative;
}

#Menus a .symbol {
  
  vertical-align: middle;
  width: 30px;
  margin-left: 2px;
  margin-bottom: -0.2%;

}

/* --- Cercle "entrer" au hover --- */
.hover-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 80px;
  height: 80px;
  background-color: rgba(44, 255, 2, 0.885);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: police1;
  font-size: 18px;
  pointer-events: none;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 10;
}

.menu-link:hover .hover-circle {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}



/* --- Header --- */
.site-header {
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
  background: transparent;
  position: relative;
  z-index: 10;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 15px;
}

.nom {
  flex: 1;
  margin: 0;
  font-size: 28px;
  line-height: 60px;
  color:#895426;
}

#navig {
  flex: 1;
  text-align: center;
  height: 50px;
  color: #895426;
}

#navig a {
  margin: 0 10px;
  text-decoration: none;
  color: inherit;
  line-height: 50px;
  font-size: 20px;

  border-radius: 30px;
  padding: 10px 14px;
}




#footer-container {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;

  background-color: white;              
  border-top: 1px solid #ddd;         

  overflow: hidden;
  white-space: nowrap;
  z-index: 1000;
  padding: 6px 0;
}

/* Texte défilant */
.footer-text {
  display: inline-block;
  animation: marquee 40s linear infinite;

  font-size: 16px;
  font-family: police2;
  color: #895426;                       
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
}

@keyframes marquee {
  from { transform: translateX(0%); }
  to { transform: translateX(-100%); }
}



/* Conteneur principal */
#trad {
    position: fixed;
    top: 110px;         
    right: 20px;
    display: flex;
    align-items: center;
    z-index: 1000;
}

/* Icône */
.info-icon {
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: transform 2s ease;
    z-index: 2;
}

/* Rotation du logo */
#trad:hover .info-icon {
    transform: rotate(360deg);
}

/* Conteneur des langues */
#lang-options {
    display: flex;
    gap: 10px;
    margin-right: 10px;
    overflow: hidden;
    max-width: 0;
    transition: max-width 0.6s ease;
    white-space: nowrap;
}

/* Apparition au survol */
#trad:hover #lang-options {
    max-width: 300px; 
}

/* Styles des langues */
.lang {
    background-color: white;
    padding: 8px 14px;
    border-radius: 20px;
    text-decoration: none;
    color: #895426;
    font-family: police2;
    font-size: 16px;

    transform: translateX(40px);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

/* Animation de glissement */
#trad:hover .lang {
    transform: translateX(0);
    opacity: 1;
}

/* Effet "roulement" léger */
#trad:hover .lang:nth-child(1) {
    transition-delay: 0.1s;
}
#trad:hover .lang:nth-child(2) {
    transition-delay: 0.2s;
}


/* Animation des liens */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Décalage pour effet “roulement” des liens */
#lang-options a:nth-child(1) { animation-delay: 0.1s; }
#lang-options a:nth-child(2) { animation-delay: 0.2s; }







/* Utilisé pour les petites icônes (internet) */
.icon {
  width: 15px;
  height: auto;
}

/*HEADER */

.site-header {
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
  background: transparent;
  position: relative;
  z-index: 10; 
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 15px;

}

.nom {
  flex: 1;
  margin: 0;
  font-size: 28px;
  line-height: 60px;
  
}

#navig {
  flex: 1;
  text-align: right;
  height: 40px;
}

#navig a {
  margin: 0 10px;
  text-decoration: none;
  color: inherit;
  line-height: 27px;
  font-size: 25px;
  
  border-radius: 30px;
  padding: 10px 14px;
}



#maindiv{
  width: 100%;
  position: fixed;
  bottom: 10px;
    overflow: hidden;
    white-space: nowrap;
    font-family: police3;
  }
  
  #div1 {
    display: inline-block;
    animation: marquee 40s linear infinite;
     transform: translateX(0%);
       transform: translateX(-100%);


   
  }


.color-header {
    margin: 0;
    padding: 0;
    width: 100%;
    display: flex;
    z-index: 999;
    position: fixed;
    top: 0;
    left: 0;


}

h2{
  font-family: police3;
  color:#895426
}
.link {
    cursor: pointer;
}

}
/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #895426;
    background-color: #fff;
    height: 40px;
    padding-top: 10px;
    float: right;
    grid-area: 1 / 2 / 2 / 3; 
  
}


a {
    text-decoration: none;
    color: #895426;
    margin: 0;
    padding: 0;
}




/* Styles pour le conteneur des boutons de menu */
.menu-buttons {
    margin-right: 10px;
    margin-top: 20px;
    
    display: flex;
    align-items: center;
    justify-content: flex-end; 
}

.menu-buttons a {
    margin-left: 10px; 
}

.menu-buttons img {
    width: 30px; 
    height: 30px;
}

img.info {
  width: 11%;
  height: 10%;
}


.titre a {
   
    display: flex;
    align-items: center;
   
}

.info {
    width: 60px;
z-index: 3;
   margin-top: 15px;
    align-items: center;
    margin-right: 8px; 
    transition: all 1s ease;
}

.info:hover {
rotate: 180deg;
}
.plus {
    transition: all 1s ease;
 
}
.plus:hover {
    rotate: 180deg;
    }

.roro:hover {
    rotate: 180deg;
        }

        .roro {
            rotate: 45deg;
            transition: all 1s ease;
        }
.italic {
    font-style: italic;
}



header#menu {
    position: absolute;
    z-index: 10;
    left: 25%;
    right: 0;
    
}

#page-headline { 
  font-size: 100%;
}




p {
    margin: 0; 
}


div.left-column {
  top: 10%;
}




.titre {
    position: absolute;
    top: -20px;
    display: flex;
}

.titre1 {
    position: absolute;
    margin-left: 15px;

    top: 230px;
    display: flex;
}

.left-column {
    z-index: 2;
    grid-area: 1 / 1 / 3 / 2; 
    margin-left: 20px;
    position: relative;
    color: #895426;
}

.columns p {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 0;
    

}

.info_close {
    width: 25px;
    height: 25px;
    z-index: 3;
  position: fixed;
    right: 10px;
    top: 20px;
    overflow: hidden;
    cursor: pointer;
    z-index: 9;
    transition: all 0.5s cubic-bezier(0.715, 0.195, 0.000, 0.925); /* custom */
    transition-timing-function: cubic-bezier(0.715, 0.195, 0.000, 0.925); /* custom */
  }
  .info_open.is_open {
    z-index: 40;
    overflow: hidden;
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
  }
  
  .info_open {
    position: fixed;
    z-index: 198;
    float: right;
    height: 100%;
  
  line-height: 1.1;
    font-family: Main;
    font-weight: normal;
    font-size: 20px;
    right: 0;
    text-align: left;
    overflow: scroll;
    -webkit-overflow-scrolling: touch;
    width: 100%; 
    box-sizing: border-box;
   
    color: #895426;
    background-color: rgb(255, 255, 255);
    transform: translateY(0%);
    transition: all .4s cubic-bezier(0.82, 0.09, 0.25, 1);
  
  }

  .text_info {
    margin-left: 25%;
    margin-top: 70px;
    width: 35%;

  }

.left-column p {
    position: relative;
    top: 50px;
    bottom: 0;
    overflow: hidden;
}

/* Reste du CSS inchangé */
.contact {
   width: 30%;
    position: fixed;
    
top: 70px;
right: -100px;
}
#maindiv{
  width: 100%;
  position: fixed;
  bottom: 10px;
    overflow: hidden;
    white-space: nowrap;
  }a
  
  #div1 {
    display: inline-block;
    animation: marquee 40s linear infinite;
   
  }

  @keyframes marquee {
    from {
      transform: translateX(0%);
    }
    to {
      transform: translateX(-100%);
    }
  }
  
  @keyframes marquee2 {
    from {
      transform: translateX(0%);
    }
    to {
      transform: translateX(-200%);
    }
  }

p {
    width: 90%;
    padding: 0;
    margin: 0;
    font-family: police2;
}
.title {
    grid-area: 1 / 1 / 2 / 2;
    line-height: 0.9;
    font-family: Main;
    z-index: 2;
    font-size: 40px;
}

.title2 {
    grid-area: 1 / 1 / 2 / 2;
    line-height: 0.9;
    font-family: Main;
    z-index: 2;
    font-size: 40px;
    opacity: 0;
}

.right-column {
position: relative;
padding: 0;
margin: 0;
grid-area: 1 / 2 / 3 / 3;

}

div.Intro p {

  margin-top: 4%;
  margin-bottom: 5%;
  margin-left: 5%;
  font-family: police2;
 font-size: 20px;
 
}

img.symbol {
  width: 21px;
  margin-left: 6px;

  
}

div.Introtitre {

  margin-top: 3%;
  margin-bottom: 2%;
  margin-left: 5%;
  
}

div.Introtitre p {

  display: inline-block;   
  width: auto;                       
  padding: 6px 18px;       
  line-height: 1;          
  font-size: 60px;        
  border: 1px solid #895426;
  border-radius: 40px;     
  background-color: #fff;
  text-align: center;
  
}

.footer-text {
  display: inline-block;
  animation: marquee 40s linear infinite;
  font-size: medium;
  background-color: white;
  color:#895426;
  border-color: black;
  
  
}


  

.parent {
    display: grid;
    grid-template-columns: 1fr 3fr;
    grid-template-rows: 0fr 2fr;
    grid-column-gap: 0px;
    height: 687px;
    padding-bottom: 5px;
    margin-top: 45px;
    
    }


.slider {
    width: 100%;
    height: 100%;
    position: absolute;
    overflow-x: scroll;
    display: flex;
    scroll-snap-type: x mandatory; /* Pour un défilement fluide sur chaque image */
    bottom: 0;
    overflow-y: hidden;
}



.slider img {
    width: 60%;
    height: auto;
    object-fit: cover; /* Redimensionne les images pour remplir le conteneur */
}

video {
    width: 60%;
    height: auto%;
    object-fit: cover;
}

.slider::-webkit-scrollbar {
display: none;
}

.info_open::-webkit-scrollbar {
    display: none;
    }

.spacer {
    height: 10px;
}

.audio-player {
    height: 70px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    bottom: 0;
    position: fixed;
    width: 100%;
    z-index: 999;
    visibility: hidden;

  
}

.audio-player.visible {
    visibility: visible;
  
}



audio::-webkit-media-controls-panel {
    background-color: white;
  }

audio {
    width: 100%;
    background-color: white;
    color: white;
    height: 20px; /* Ajustez la hauteur du lecteur selon vos besoins */
}

/* Style pour les autres éléments du lecteur audio (titre, durée, boutons) */
.player-info,
.player-controls {
    background-color: white;
    display: flex;
    align-items: center;
}

.player-controls button {
    background-color: white;
    margin: 0 10px;
    font-size: 10px;
    cursor: pointer;
    background: none;
    border: none;
}

.button-player-played  {
visibility: hidden;
position: absolute;
    right: 40px;
}

.button-player-stopped  {
visibility: visible;
position: absolute;
    right: 40px;
}

#button-player-played img {
width: 22px;
height: 24px;
position: absolute;
    right: 40px;
    top: 17px;
animation: rotat 5s linear infinite;
}

#button-player-stopped img {
width: 22px;
height: 24px;
/*animation: stopp 2s linear infinite;*/
}

@keyframes rotat {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }
  
@keyframes stopp {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(0deg);
    }
  }


/* EFFET “ROLLING WORDS” HOVER */
#navig a {
  display: inline-block;
  transform-style: preserve-3d;
  transition: transform 0.3s ease, color 0.3s ease;
}

#navig a:hover {
  animation: flipLink 0.6s forwards;
}

@keyframes flipLink {
  0% {
    transform: rotateX(0deg);
    opacity: 1;
  }
  50% {
    transform: rotateX(90deg);
    opacity: 0;
  }
  51% {
    transform: rotateX(-90deg);
    opacity: 0;
  }
  100% {
    transform: rotateX(0deg);
    opacity: 1;
  }
}







@media screen and (max-width: 768px) {

  /* ===== BODY ===== */
  body {
    cursor: default;
  }

  /* ===== HEADER ===== */
  .header {
    flex-direction: column;
    height: auto;
    padding: 10px;
    gap: 10px;
  }

  .nom {
    font-size: 22px;
    line-height: 1.2;
    text-align: center;
  }

  #navig {
    text-align: center;
    height: auto;
  }

  #navig a {
    font-size: 16px;
    padding: 6px 12px;
    margin: 0 5px;
  }

  /* ===== LANGUES ===== */
  #trad {
    position: static;
    margin-top: 10px;
    justify-content: center;
  }

  .info-icon {
    width: 35px;
    height: 35px;
  }

  .lang {
    font-size: 14px;
    padding: 6px 10px;
  }

  /* ===== SECTIONS PROJETS ===== */
  .parent {
    display: flex;
    flex-direction: column;
    height: auto;
    margin-top: 40px;
    padding-bottom: 40px;
  }

  .left-column,
  .right-column {
    position: relative;
    margin: 0;
    padding: 0 15px;
  }

  .left-column {
    order: 1;
  }

  .right-column {
    order: 2;
    margin-top: 20px;
  }

  /* ===== TITRES ===== */
  .titre {
    position: static;
    margin-bottom: 10px;
    align-items: center;
  }

  .titre h2 {
    font-size: 20px;
    line-height: 1.2;
  }

  img.info {
    width: 40px;
    margin-top: 0;
  }

  /* ===== TEXTE ===== */
  .left-column p {
    position: static;
    top: auto;
    font-size: 15px;
    line-height: 1.4;
    width: 100%;
  }

  /* ===== SLIDER ===== */
  .slider {
    position: relative;
    height: auto;
    overflow-x: scroll;
  }

  .slider .slide {
    display: block;
  }

  .slider img,
  .slider video {
    width: 100%;
    height: auto;
    margin-top: 56px;
    margin-left: 40px;
  }

  /* ===== FOOTER ===== */
  #footer-container {
    position: static;
    font-size: 12px;
  }

  .footer-text {
    font-size: 12px;
  }

}
