.titre {
  text-align: left;
background-color: ;}


.item {
  text-align: ;
  cursor: pointer;
}

.item img {
  width: 100%;
  height: auto;
  max-height: 400x;
  object-fit: cover;
  /* Supprimer le fond blanc (bordure) */
  border: none;
}

.description {
  margin-top: 1px;
  font-size: 0.9em;
  line-height: ;
}

.description i {
  font-style: italic;
}

.description u {
  text-decoration: underline;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 1000;
}

/* Lightbox image */
.lightbox img {
  max-width: 100%;
  max-height: 90%;
  box-shadow: none;
  border: none;
}

/* Lightbox caption */
#lightbox-caption {
  color: white;
  font-size: 1em;
  margin-top: 15px;
  text-align: center;
  max-width: 90%;
}

/* Bouton Fermer */
.lightbox-controls {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 20px;
  cursor: pointer;
}

/* Flèches par défaut masquées */
.arrow {
  position: absolute;
  top: 50%;
  font-size: 40px;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}

.arrow.left {
  left: 20px;
}

.arrow.right {
  right: 20px;
}

/* Flèches visibles au survol de la lightbox */
.lightbox:hover .arrow {
  opacity: 1;
  pointer-events: auto;
}

@media screen and (max-width:900px){ 
  .gallery {
    margin-left: 0%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }

}

@media screen and (max-width:570px){ 
  

    }