body {
    margin: 0;
    padding: 0;
    max-width: 100vw;
    overflow-x: hidden;
    background-color: #FFFAF2!important;

 
  }


  @media (max-width: 768px) {
    .logo-desktop {
      width: 30vh; 
      margin-left:-30px;
    }
  
    .navbar-collapse {
      backdrop-filter: blur(15px);
      background-color:#726d5e28;
      text-align: center;   
      flex-direction: column;
      justify-content: center;
      align-items: center; 
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      padding-top: 180px; 
      z-index: 999;
    }
    .navbar-collapse.show {
      display: flex;
    }
  
    .navbar-nav {
      width: 100%;
      text-align: center;
    }
  
    .nav-item {
      margin: 1rem 0;
    }
    .navbar-collapse.collapsing,
    .navbar-collapse.show {
      display: block !important;
    }
  
    .navbar-toggler {
      position: fixed;
      top: 38px;
      right: 1rem;
      z-index: 1001; /* plus que .navbar-collapse */
    }
  
    .navbar-brand {
      position: fixed;
      top: -90px;
      left: 1rem;
      z-index: 1001;
    }
  }
  
  
  .navbar {
    overflow-x: hidden; 
    margin-top:-70px;
    width: 100%;
    max-width: 100%;
    z-index: 1050;
    font-family: 'Courier New', Courier, monospace;
    text-transform:uppercase;
    display: flex;
    align-items: flex-end;
  }
  
  .navbar-brand{
    margin-top:-20px;
  }
  
  .navbar-toggler{
   border:none !important;
  }
  
  .navbar-toggler:focus {
    outline: none !important; 
    box-shadow: none !important; 
  }
  
  
  .navbar-nav .nav-link {
    color: #333;
    font-weight: normal;
  }
  
  .navbar-nav .nav-link:hover {
    color: #000000;
    font-weight: bold;
  
  }
  
  .nav-item {
    font-family: 'Courier New', Courier, monospace;
  
  }
  
  .nav-item:hover {
    font-weight: bold;
  }
  
  .navbar-nav .nav-item .nav-link.active {
    font-weight: bold;
   
  }
  



  .popup-phone-content {
    background-color: white;
    padding: 20px;
    position: relative;
    width: 600px;  /* Largeur fixe de 600px */
    max-width: 100%;  /* Assure que le popup ne dépasse pas la largeur de l'écran */
    max-height: 80%;
    overflow: hidden;
  }

  @media (min-width: 768px) and (max-width: 1024px) {
    .popup-phone-content {
      max-width: 80%;  /* Augmente la largeur pour les tablettes */
      width: 100%;
      max-height: 70%; /* Ajuste la hauteur si nécessaire */
    }
  }

  @media (min-width: 1025px) {
    .popup-phone-content {
      max-width: 100%;  /* Largeur plus grande pour les écrans de bureau */
      width: 100%;
      max-height: 100%; /* Ajuste la hauteur si nécessaire */
    }
  }



  




/* page ARCHIVE */

body{
  overflow:hidden;
}

.image-reveal-container{
  width: 100%; /* Remplir la largeur de la div */
  height: 100%; /* Remplir la hauteur de la div */
  object-fit: cover;
}

.hidden {
    display: none;
  }
  

  
  .archive-page{
    font-family: 'Source Serif Pro', serif; 
    font-weight: bold;
  }
  
  
  .archive-img {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;          
    flex-wrap: wrap;       
    position: relative;   
   margin-left:25px;
   max-height: 100vh; 
   overflow: auto;
  }

  
  .img-reveal{
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    margin-top:-350px;
    margin-right: 100px;
   
  }
.flex-1{
  margin-top:-370px;
    max-height: 60vh; 
    overflow-y: auto; 
    padding-right: 10px; 
    height: 530px;
    overflow-y: scroll; 
    scrollbar-width: thin; 
    scrollbar-color: #000000 #726d5e18; 
    color:#AE9F9A;
  
}

  .img-reveal-hover{
  margin-top:10px;
}
  
  .img-reveal-hover p{
    font-family: 'Courier New', Courier, monospace;
    font-weight: normal;
    margin-bottom:-5px;
  }
  
  .img-reveal-hover h1{
    font-family: 'Source Serif Pro', serif; 
    font-weight: bold;
    font-size: 3rem;
  }
  
  .img-reveal-hover:hover{
    opacity: 1;
    color: black;
    font-weight: bold;
  }
  
  .bordered {
    border-bottom: 1px solid #ccc;
    margin-bottom:30px;
    width: 60vh;
   
  }
  
  .filters{
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.3rem;
  }

  .filter{
    margin-right: 50px;
    margin-top:50px;

  }
  .filter.active {
    font-weight: bold;
  }
  
  .filter:hover{
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    font-size: 1.3rem;
  }

  
  .filter-section {
    margin-top: 200px; 
    margin-left:140px;
    z-index:5;
  }
  
  button {
    all: unset;
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
  }

  @media (max-width: 768px) {
    .archive-global {
      display: none;
    }
  }
 
  





/* Format smartphone archive */

/* Cache le filtre mobile sur desktop */
@media screen and (min-width: 768px) {
  #mobileFilterSection {
    display: none;
  }
}

/* Affiche le filtre uniquement sur mobile */
@media screen and (max-width: 767px) {
  #mobileFilterSection {
    display: block;
  }
}





/* Afficher la section uniquement sur smartphone (moins de 576px) */
@media screen and (max-width: 575px) {
  .smartphone-section {
    display: block;
  }
}


/* Afficher les flèches uniquement sur les écrans de smartphone (max 576px) */
@media (max-width: 575px) {
  .carousel-custom-btn {
    display: block;
  }
}



.carousel-inner{
  display:flex;
  overflow: hidden;
}

.carousel-inner img {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  max-width: 70%;
  max-height: 400px;
  object-fit: contain;
  margin: 0 auto;
  display: block;
  margin-top:10px;
  margin-bottom: 20px;
}

/* Alignement du texte du slide */
.slide-caption {
  display: flex;
  justify-content: space-between; /* Aligne les éléments horizontalement */
  align-items: center; /* Centre verticalement les éléments */
  margin-left: 55px;
  margin-top: 10px;
  color: #000;
}

.slide-text {
  display: flex;
  flex-direction: column;
}

.slide-caption h1 {
  font-family: 'Source Serif Pro', serif;
  font-weight: bold;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  width: 200px;
  z-index:99;
}

.slide-text-gr h1 {
  font-family: 'Source Serif Pro', serif;
  font-weight: bold;
  font-size: 1.5rem;
  width: 300px;
  margin-bottom: 0.5rem;
  z-index:-1;

}

.slide-caption p {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.8rem;
  margin:0;
}

#slide-counter {
  font-family: 'Courier New', Courier, monospace;
  font-weight:200!;
  font-size: 0.9rem;
  color: #000;
  margin-right: 55px;
  margin-top: -40px;
  margin-left:-65px;
  display:flex;
  z-index:555;
  
}


.active-filter {
  font-weight: bold;
}


.carousel-custom-btn {
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}



.carousel-control-next {
  margin-right: 90px;
}

.carousel-control-prev {
  margin-left: 90px;
}
.titre h1{
  text-align: center;
  font-family: 'Courier New', Courier, monospace;
  font-size: 1rem;
}


.titre{
  display:flex;
  justify-content: center;
  margin-top:120px;
  gap:20px;
}


/* Style de l'image */
.img-slide {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  max-height: 70vh;
  
}


.popup-phone-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  display: none;
  z-index: 9999;
}

.popup-phone-content {
  background: #fff;
  width: 90%;
  max-width: 400px;
  height: 80%;
  margin: 40px auto;
  padding: 1rem;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

.popup-phone-close {
  position: absolute;
  top: 5px;
  right: 15px;
  font-size: 2rem;
  cursor: pointer;
}

.popup-phone-content iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 6px;
}
