@font-face {
  font-family: police1;
  src: url(fonts/Millimetre-Bold.otf);
}

@font-face {
  font-family: police1;
  src: url(fonts/Millimetre-Bold.otf);
}

h1 {
  font-family: police1;
  color: rgb(254, 250, 224);
}

#milieu {
  display: grid;
  place-items: center;

}


 h4 {

  width: 160px;
   height: 20px;
   background-color: rgb(129, 144, 103);
   color: rgb(10, 64, 12);
   
   border :2px solid rgb(129, 144, 103);
   display: flex;
   
   justify-content: center;
   border-radius: 8px;
   cursor: pointer;

   } 

   h4:hover {
     background-color: rgb(254, 250, 224);
    color: rgb(10, 64, 12);
   }

   .Flexcenter {
    display: flex;
    justify-content: center;
    align-items: center;

   }

  .button {
   width: 100px;
   height: 20px;
   background-color: red;
   color: white;

   border :2px solid black;
   display: flex;
   justify-content: center;
   text-align: center;
   border-radius: 8px;
   cursor: pointer;
  }

  .button:hover {
    background-color: white;
    color: red;
  }


    
body {
      background-color: rgb(254, 250, 224);
      margin: 0;       
}

.gallery-container {
  background-color: rgb(177, 171, 134);

  
}

.gallery-title {
      
}

a img:hover {
  filter: grayscale(3);
}

#entete {
  background-color: rgb(10, 64, 12);
  display: flex;
  justify-content: space-between;
  vertical-align: middle;
  justify-content: center;
}


h2 {
    width: 60%;
}

h3 {
  width: 20%; 
}


/*************************************** CSS SCROLL HORIZONTAL GALLERY *************************/

  .scroll-gallery {
    display: none;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 10px;
    scrollbar-width: none;
             
    flex-wrap: nowrap;
  }

  .scroll-gallery img {
    display: block;
    height: 300px;
    width: auto;
    object-fit: cover;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: auto;
  }

  .scroll-gallery::-webkit-scrollbar {
    height: 8px;
    display: none;
  }

  .image-box {
    flex: 0 0 auto;
    scroll-snap-align: start;
    overflow: hidden;
  }

  .infos {
    display: flex;
    justify-content: space-between;
    border-bottom: solid black 4px;
    cursor: pointer; 
  }

/*********************************************************************************************************************/





/* SMARTPHONE MODE PORTRAIT */
@media screen and (orientation: portrait) {

.scroll-gallery img {
  display: block;
  height: 150px;
  width: auto; 
  object-fit: cover;
}
   

}
