@font-face {
  font-family: police1;
  src: url(fonts/dof-1-reg.ttf);
}

@font-face {
  font-family: police2;
  src: url(fonts/Barlow-Black.ttf);
}

a{
  text-decoration: none;
}

p{ 
  margin-left: 10px;
  color:rgb(116, 43, 24);
  font-family: police1;
}

h1, h2, h4 {

  color: rgb(246, 189, 1);
  padding-left: 10px;
    
}

h2{
  font-family: police1;
  margin-top: -40px;
  margin-bottom: 50px;
  background-color:rgba(246, 189, 1, 0.2) ;
}

h3:hover{
  color:rgb(246, 189, 1)
 }

h4:hover{
  color:rgb(116, 43, 24)
}

 h4{ 
  font-size: 30px;
  margin-right: 10px;


 }
h1, h4{
   margin-top:0%;
   font-family: police2;
}

h1{
  font-size: 90px;
}

#jaune1{
  background-color:rgba(246, 189, 1, 0.2);
}

#jaune2{
  background-color:rgba(246, 189, 1, 0.3);
}

#jaune3{
  background-color:rgba(246, 189, 1, 0.4);
}


body {
   
  font-family: police2; 
  background-color: #FCEBDA;
   margin: 0px;

}

.gallery-container {
}

.gallery-title {  
}

a img:hover {
  filter: grayscale(3);
}

#entete {
  display: flex;
  justify-content: space-between;
  vertical-align: middle;
}

#texte{
  color: rgb(116, 43, 24);
}


h2 {
  width: 60%;
  color: rgb(116, 43, 24);
  padding-left: 10px;
  margin-left: 20px;
}

h3 {
  width: 20%; 
  color: rgb(116, 43, 24);
  padding-left: 10px;
}

/*************************************** 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: 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 {
  display: flex;
  justify-content: space-between;
  border-bottom: solid rgb(116, 43, 24) 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;
  } 

}
