body{background-color: black;
  background-image: url(../img/grotte.png);
  background-size: 2000px;
  background-position: center;
    padding: 10px 10px 10px 80px;
}
* {

}
@font-face {
  font-family: sprat; /* set name */
  src: url(font/bbb.woff); /* url of the font */
}
.link a img { }
.link a {}
.link a:hover img { -webkit-filter: drop-shadow(0px 0px 8px rgba(0, 231, 255, 0.8));}
.link a span {}
.link a:hover span {}

.bottom {  position: relative;
  bottom: 0;}

h1 {text-align: center; font-weight: bold;
    text-justify: inter-word; color: black; font-style: normal; 
    font-size: 200px; font-family: "Times New Roman", Times, serif; 
    font-weight: normal; display: inline;  
   }
a {;  
  color:white; text-shadow: 2px 2px 10px whitesmoke; 
 text-decoration: none;
 font-family: "Times New Roman", Times, serif; }


a:hover {
color: white; 
text-shadow: 1px 1px 1px black;
}

p {font-size: 40px; line-height: 10%; color: white;}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.item {
  text-align: center;
  cursor: pointer;
}

.item img {
  width: 100%;
  height: auto;
  max-height: 350px;
  object-fit: cover;
  /* Supprimer le fond blanc (bordure) */
  border: none;
}

.description {
  margin-top: 10px;
  font-size: 0.9em;
  line-height: 1.5;
}

.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: 90%;
  max-height: 80%;
  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){ 
  body {
    overflow: scroll; 
    padding: 0px;
    margin-left: 5%}

h1 {
    font-size: 20vw;
}
    }

   .return { 
  position: fixed;
  top: 50%;
  left: 1%;}


@media screen and (max-width:570px){ 
  
body{
  overflow: scroll;
}
h1 {
    font-size: 20vw;
  position: relative;
}


.bottom {  
  position: relative;
  bottom:10% ;}

    }


