body{background-color: black;
  background-image: url(../img/grotte.png);
  background-size: 2000px;
  background-position: center;
    padding: 10px 10px 10px 80px;
    background-attachment: fixed;

}

 {  font-family: Arial, sans-serif; 
}

@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: fixed;
  bottom: 0;
}
 .space
  {display: none;
    }

h1 {text-align: center; font-weight: bold;
    text-justify: inter-word; color: white; font-style: normal; 
    font-size: 200px; font-family: "sprat", Times, serif; 
    font-weight: normal; display: inline;  
   }

h2 {text-align: center; font-weight: bold;
    text-justify: inter-word; color: white; font-style: normal; 
    font-size: 140px; font-family: "sprat", Times, serif; 
    font-weight: normal; display: inline;  
   }

   h7 {text-align: center; font-weight: bold;
    text-justify: inter-word; color: white; font-style: normal; 
    font-size: 50px; font-family: "sprat", Times, serif; 
    font-weight: normal; display: inline;  
   }

h3{text-align: center; font-weight: bold;
    text-justify: inter-word; color: white; font-style: normal; 
    font-size: 120px; font-family: "Times New Roman", Times, serif; 
    font-weight: normal; display: inline;  
   }

h4{
    color:white; text-shadow: 2px 2px 10px white;
    text-decoration: none;
    font-size: 30px;
    font-family: "Times New Roman", Times, serif; 
    font-weight: normal; display: inline;  
    }

  h5{
    color:white; 
    text-decoration: none;
    font-size:15px;
    font-family: Arial, sans-serif; 
    font-weight: normal; display: inline;  
    }

p{
    color:white; 
    text-decoration: none;
    font-size:18px;
    font-family: Arial, sans-serif; 
    font-weight: normal; display: inline;  
     line-height: 1.4;
    }

h6 {
  font-size: 20px; color: white; 
  text-decoration: none; font-weight: normal;
}

h8 {
  font-size: 15px; color: white;   font-family: Arial, sans-serif; 
  text-decoration: none; font-weight: normal;
}


.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(70%, 1fr));
  gap: 20px;
  height: relative; background-color: ;
}

#imgbio { display: none; }
#imgbio1 {
  position: absolute;
  width: 400px;
  margin-left: 50%;
  margin-top: 5%;
}

.return {  position: fixed;
  top: 50%;
  left: 30px;
}

.ip
{ position:fixed; left:50%; right:0%; top:-5%;bottom:0%; 
}
 .ip img {
  max-width: auto; max-height: 100%;
  }

 .textp img {width: 100%;}

.titrep
{
  position: relative; 
  margin-left:5%;
  margin-right:25%;}

  .titrep img  {width: 80%;}

.textp
{position: absolute;
  margin-left:5%; margin-right:30%; width:500px;}

.past {
  position: absolute; 
  margin-left: 10%; margin-right:50%;
}

.contenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.contenu:target {
  max-height: 200px; /* adapte selon la taille du texte */
  margin-top: 10px;
}


a {
  color:white; 
  line-height: 150%; 
  text-shadow: 2px 2px 10px white;   
  text-decoration: none; display: inline-block;}
a:hover {
  color: black;}


.gallerie {position: absolute; margin-left: -15%; margin-right: -20%; 
  background-color: rgba(0,255,0,0.1); width:200%; }
.gallerie img {position: relative;display: inline-block; vertical-align: text-top; }
.gallerie .long {width: 40%;}
.gallerie .large {width: 45%;}



    .hover-image {
      display: none;
      position: fixed;
      top: 0;
      right:10%;
      height: 100%;
      object-fit: ;
      z-index: 1000;
    }

    a:hover + .hover-image {
      display: block;
    }

   


@media screen and (max-width:1100px){
  body {
    overflow: scroll; 
    padding: 0px;
    margin-left: 5%
     }


#imgbio1 { display: none;
  position: absolute;
  width: 300px;
  margin-left: 250%;
  right: 0;
}
#imgbio { display: inline;
  position: inline;
  width: 300px;
  margin-left: 10%;
  right: 0;
}


  .ip {
    position: absolute;
    left:0%;}

  .ip img { display: block; margin-right: auto; margin-left: auto;
    position:relative; width: auto; height: 100%;
  }

  .titrep{
    position: relative; 
    margin-left:10%;
    margin-right:20%; width: auto; background-color:;}

  .textpc
  {position: absolute ;
    margin-left:15%; margin-right:15%;  
    } 
    .space
  {display:  inline;
    }

  .textp{ 
  position: relative;
  margin-left:0%; width: 100% ; 
}

  .return {  relative
  position: fixed;
  top: 50%;
  left: 5%;}

    .hover-image {
      display: none;
      position: fixed;
      top: 0;
      right:0;
      height: 100%;
      object-fit: ;
      z-index: 1000;
    }
  h2 {
    font-size: 8.5vw;
  }
  h7 {
    font-size: 6vw;
  }

.gallerie .long {width: 70%;}
.gallerie .large {width: 75%;}}

