@font-face {
  font-family: police1;
  src: url(fonts/HealTheWebA-Regular.otf);
}

@font-face {
  font-family: police2;
  src: url(fonts/WorkSans-Regular.ttf);
}

@font-face {
  font-family: police3;
  src: url(fonts/WorkSans-Bold.ttf);
}

@font-face {
  font-family: police4;
  src: url(fonts/CoasterSans-Regular.otf);
}

@font-face {
  font-family: police5;
  src: url(fonts/DejaVuSerif-Bold.ttf);
}

@font-face {
  font-family: police7;
  src: url(fonts/Sentient-Variable.ttf);
}

@font-face {
  font-family: police8;
  src: url(fonts/Necon-Regular.ttf);
}

h2 {
  font-family: police7;
  margin: 40px;    
}

a:hover {
  text-decoration: underline;
}

h1 {
  font-family: police7;

  font-size: 65px;
  letter-spacing: 20px;   
  text-align: center;
}

body {
  margin: 0px;
  font-family: police7; 
  background: rgb(63, 53, 63);
  color:#fdfdfd;
  margin-bottom: 50px;
}

.gallery-container {
}

.gallery-title {  
}

img {
  margin-top: 40px;
  filter: grayscale(10);
  transition: filter 1s ease;
}

a {
  text-decoration: none;
  color: #fdfdfd;
}

img:hover {
  filter: grayscale(0);
}
#entete {
  margin-bottom: 100px;
}

h2 {
  width: 60%;    

}

h3 {
  margin-left: 40px;
  width: 30%; 
}

h4{
  margin-right: 20px;
}

#Langue {
  text-align: right;
}

h5{
  color: black;
  background: rgba(255, 255, 255, 0.5);
  padding: 10px;
  border-radius: 50px;
  font-size: 20px;
  width: 2%;
  position: absolute;
  top: 140px;
  right: 30px;



}

/*************************************** CSS SCROLL HORIZONTAL GALLERY *************************/

.scroll-gallery {
  display: none;
  overflow-x: auto;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-bottom: 10px;
  scrollbar-width: none;         
  flex-wrap: nowrap;
}

.scroll-gallery img {
  display: block;
  height: 400px;
  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 {
  margin-top: 20px;
  display: flex;
  font-size: 20px;
  letter-spacing: 20px;
  justify-content: space-between;
  font-family: police7;
  border-bottom: solid #d4ccdf 9px;
  border-top: solid #d4ccdf 9px;
  cursor: pointer; 
}

/*************************************** CSS POPUP *************************/

#popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  background-color: rgba(5, 5, 5, 0.8);
}

#popup img {
  position: absolute;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%);
  width:80%;
  height: 80%;
  object-fit: contain;
}

#croix {
  position: absolute;
  opacity: 0.5;
  width: 300px; 
  height: 250px;
  cursor: pointer;
}

#popup {
  cursor: pointer;
}


/*********************************************************************************************************************/

/* SMARTPHONE MODE PORTRAIT */
@media screen and (orientation: portrait) {

  .scroll-gallery img {
    display: block;
    height: 200px;
    width: auto; 
    object-fit: cover;
  } 

  h1 {
    line-height: 1;
  }

  .infos {

  letter-spacing: 2px;

}

.scroll-gallery {
    display: none;
    overflow-x: auto;
    align-items: center;
    justify-content: normal;
    gap: 10px;
    padding-bottom: 10px;
    scrollbar-width: none;
    flex-wrap: nowrap;
}

#croix {
  position: absolute;
  opacity: 0.5;
  width: 300px;
  height: 250px;
  cursor: pointer;
  margin-left: 180px;
  top: 0px;
}

img {
  margin-top: 40px;
  filter: grayscale(10);
  transition: filter 1s ease;
}


#popup img {
  position: absolute;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%);
  width:80%;
  height: 80%;
  object-fit: contain;
}

.image-box {
  flex: 0 0 auto;
  scroll-snap-align: start;
  overflow: hidden;
  
}

h5{
  margin-right: 10px;
  color: black;
  background: rgba(255, 255, 255, 0.5);
  padding: 20px;
  border-radius: 50px;

}


}
