@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: police5;
  src: url(fonts/InterVariable.ttf);
}

@font-face {
  font-family: police3;
  src: url(fonts/HeadlinerNo.45\ DEMO.ttf);
}

@font-face {
  font-family: police6;
  src: url(fonts/archivo-black-latin-400-normal.ttf);
}


@font-face {
  font-family: police4;
  src: url(fonts/Supreme-Variable.ttf);
}

@font-face {
  font-family: police7;
  src: url(fonts/bowlby-one-sc-latin-400-normal.ttf);
}


h1 {
  font-family: police4;
  font-size: 55px;
  color: aliceblue;
  margin: 20px;

}

h2 {
  font-family: police2;
  color: aliceblue;
  margin: 20px;
}

body {
  margin: 0;    
  font-family: police2; 
  font-size: 18px;
  background: radial-gradient(black, rgb(68, 65, 65));
}

.gallery-container {
}

.gallery-title {  
}

a img:hover {
  filter: grayscale(3);
  margin: 20px;
}

#entete {
  display: flex;
  justify-content: space-between;
  vertical-align: middle;
}

h2 {
  width: 60%;
  color: aliceblue;
  margin: 20px;
}

h3 {
  width: 20%; 
  font-size: 30px;
  color: aliceblue;
  margin: 20px;
}

img {
  
  margin: 20px;
}

h4 {
  color: rgb(210, 17, 17);
  margin: 20px;
  font-size: 30px;
}



/*************************************** 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; 
}

/*************************************** CSS POPUP *************************/

#popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  display: none;
}

#popup img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width:80%;
  height: 80%;
  object-fit: contain;
}

#popup p {
  color: aqua;
  text-decoration:underline;
  cursor: pointer;
}

/*********************************************************************************************************************/

/* SMARTPHONE MODE PORTRAIT */
@media screen and (orientation: portrait) {

  .scroll-gallery img {
    display: block;
    height: 150px;
    width: auto; 
    object-fit: cover;
  } 

}
