@font-face {
  font-family: police1;
  src: url(fonts/monor-.otf);
}

@font-face {
  font-family: police2;
  src: url(fonts/WorkSans-Thin.otf);
}

@font-face {
  font-family: police3;
  src: url(fonts/BorelDisplay-Regular.otf);
}

h1 {
  color:rgba(247, 236, 89);
  font-family: police3;
  font-size: 50px;
  margin-bottom: 10px;
  padding-left: 5%;
}

a{
  text-decoration: none;
}


#popup img {
    pointer-events: none;
  }

 h2 {

color:rgba(247, 236, 89);
  font-family: police2;
  padding-left: 5%;
  width: calc(100% - 5%);
 }

body { 
  background-color: rgba(51, 24, 50);
  margin: 0;    
  font-family: police2; 
}

.gallery-container {
}

.gallery-title {  
}

#texte p{
  width:17vw;
}

a img:hover {
  filter: grayscale(3);
}

#entete {
  display: flex;
  justify-content: space-between;
  vertical-align: middle;
  width: calc(100% - 5%);
}
#rose{
  background-color:rgba(169, 159, 150, 0.5);
  }
 #rose2{
  background-color:rgba(169, 159, 150, 0.6);
 }
  #rose3{
     background-color:rgba(169, 159, 150, 0.7);
  }
 #rose4{
  background-color:rgba(169, 159, 150, 0.8);
 }
  #rose5{

    background-color:rgba(169, 159, 150, 0.9);
  }
  


#texte2{
  width: 20%;

}

.pair {
  margin-left: 10%;
}

.impair{
  margin-right: 10%;
}

h2 {
  color:rgba(211, 211, 211);
  width: calc(100% - 5%);
}

h3 {
  font-family: police3;
  color:rgba(247, 236, 89);
  width: 20%;
  height:;
  margin-left:10%;
}

p {
  color:rgba(255, 255, 255);
}



h4 {
  color:rgba(247, 236, 89);
}

/*************************************** 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;
  cursor: pointer; 
  width: 100%;
}

/*************************************** 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 {
  
  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;
  } 

}
