@font-face {
  font-family: 'orkney-bold';
  src: url('../fonts/orkney-bold.otf') format('opentype');
}

@font-face {
  font-family: 'orkney-light';
  src: url('../fonts/orkney-light.otf') format('opentype');
}

@font-face {
  font-family: 'orkney-medium';
  src: url('../fonts/orkney-medium.otf') format('opentype');
}

@font-face {
  font-family: 'orkney-regular';
  src: url('../fonts/orkney-regular.otf') format('opentype');
}



* {
box-sizing: border-box;
}

/* CSS pour le header */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-evenly; 
  flex-wrap: wrap;
  background-color: rgba(223, 1, 30, 0.5);
  width: 100%;
  padding: 10px 20px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  font-size: 24px;
  font-weight: bold;
  font-family: "Montserrat", serif;
}
.nav_left img {
  width: 8vw;
}

img.qrcode{
  width: 10%;
}

img.ecole{
  width: 13vw;
}

.nav_left{
  display: flex;
  align-items: center;
}

.nav_center {
  color: #1B263B;
  font-family: "orkney-light", serif;

}
.nav_center:hover {
  color: #000;
}

.nav_right{
  display: flex;
}

.nav_right a{
  text-decoration: none;
  color: #1B263B;
  margin-left: 20px;
  transition: 0.3s;
  font-family: "orkney-light", serif;
}
.nav_right a:hover {
  color: #000;
}

.nav_links {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

/* Bouton hamburger caché par défaut */
.nav-right-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
}

.hamburger {
  display: none; /* Cachée par défaut */
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
  
}

.banner {
  width: auto;
  height: 100%; 
  background-image: url('../media/photo2022/bonnets.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: opacity 1s ease-in-out;
  opacity: 1;
}

.hidden {
  opacity: 0;
}


.banner-text {
background-color: rgba(223, 1, 30, 0.5);
color: #000;
padding: 15px 25px;
font-size: 24px;
font-weight: bold;
border-radius: 10px;
font-family: "Montserrat", serif;
}


/* CSS pour l'index*/
.contenu {
text-align: center;
padding-top: 1.5em;

}

.contenu p {
margin: 1em 1em;
color: rgba(200, 184, 219);
}

.fond_p {
background: rgb(24, 23, 23);
border-radius: 10px;
padding: 1em; 
display: flex;
flex-direction: column; 
align-items: center; 
margin: 2em;
font-family: "orkney-medium", serif;
font-size: 20px;
}

.contenu h2{
color: rgba(223, 1, 30);
font-family: "Montserrat", serif;

}

.annee {
display: flex;
justify-content: center; 
align-items: center; 
height: 20vh;
background-color:  #181717;
color:   rgba(200, 184, 219, 1.0);
font-family: "orkney-bold", serif;

}

.pdf{
background: rgba(0, 0, 255, 0);
font-family: "orkney-medium", serif;
font-size: 20px;
display: flex;
align-items: center;
flex-direction: column;

}

.affiches{
display: flex;
align-items: center;
justify-content: space-around; 
width: 100%;
height: auto;
padding: 30px;
}

embed{
width: 130%;
height: 55vh;
}

.officiel{
width:100%;
height: 55vh;
}

#affiche-officiel{
  width: 30vw;
}

img.arrow_down{
width: 30px;
height: auto;
margin: 0.25em 0;
background: rgb(255,255,255,0.2);

}

div.commande{
display: flex;
align-items: center;
justify-content: center; 
gap: 5px; 
text-decoration: none;
padding-top: 10px; 
color: #005a4f;
}

.commande a {
color: #83C1E8; 
text-decoration: none;
font-weight: bold; 
}


.commande a:hover {
color: #5A9ACD; 
}


div.vers_contact{
display: flex;
align-items: center; 
text-decoration: none;
justify-content: center;
padding-top: 10px; 
color: #005a4f;
}


.infos{
display: flex;
justify-content: center; 
align-items: center; 
background-color: #181717;
color: rgba(200, 184, 219, 1.0);
text-align: center;
padding: 2em 2em;
font-family: "Montserrat", serif;
}


/* CSS pour Les Partenaires*/


.partenaires {
  background: rgb(255,255,255,0.3);
  flex-direction: row;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center; 
  width: 100%;
}

.partenaires img{
  gap: 10px;
  margin: 1em 1em;
}

.deremaux{
  height: 50vh;
}

.legrand{
  width: auto;
  height: 10vh;
}

#treunet{
  width: 30vw;
}

#lasthome{
  width: 30vw;
}

#credit{
  width: 30vw;
}

#espel{
  width: 30vw;
}

#funeraire{
  width: 30vw;
}

#feves{
  width: 30vw;
}

#agrec{
  width: 30vw;
}

/* CSS pour le About-Us*/

.about_us {
  display: flex;
  flex-wrap: wrap;
  width: 90%; 
  margin: 2em auto; 
}

.about_us h3{
  margin-left: 1em;
  color: #1B263B;
  font-family: "orkney-bold", serif;
  padding: 0.75em;
}

.poster{
  width: 23vw;
}

.about_us h2{
  margin: 1em 1em;
  color: rgba(200, 184, 219);
  font-family: "orkney-medium", serif;
  padding: 0.75em;

}

.about_us p{
  font-family: 'orkney-regular', serif;
  margin-left: 25px;
}




/* CSS pour le footer */
footer {
  position: relative;
  background-color: rgba(200, 184, 219);
  color: #1B263B;
  text-align: center;
  padding: 10px;
  font-family: "Montserrat", serif;
  overflow: hidden; 
}


.links {
display: flex;
justify-content: space-around; 
align-items: start; 
gap: 20px; 
flex-wrap: wrap; 
}


.links a {
text-decoration: none; 
color: #1B263B; 
font-size: 18px;
align-items: center;
transition: color 0.3s;
}

.links a :hover {
color: rgba(223, 1, 30);
}

.reseaux {
display: flex;
gap: 20px;
align-items: center; 
}

.reseaux img {
height: auto; 

}

.reseaux .facebook {
  width: 45px; 
}

.reseaux .insta {
  width: 50px; 
}

.contact {
text-align: left;
display: flex;
flex-direction: column;
}

.contact ul {
list-style-type: none; 
padding: 0;
margin: 0;
}

.contact li {
display: block; 
}


/*CSS pour le fond d'écran*/

body {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
  background: #FFFFF0; 
}

/* CSS pour la galerie */


.filters_wrapper {
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  grid-gap: 10px;
  list-style: none;
  cursor: pointer;
  justify-content: space-evenly;
  font-family: "orkney-medium",serif;
  font-weight: bold;
  

}

.filters_wrapper li.activer {
  color: rgba(200, 184, 219);
  background-color: #181717;
  padding: 0.5em 0.5em;
}

.filters_wrapper li {
  color: #181717 ;
  background-color: rgba(200, 184, 219);
  padding: 0.5em 0.5em;
}


.gallery-wrapper {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 10px;
  padding: 1em 1em;
  justify-items: center;
}

.gallery-wrapper .card-item {
  display: none;
}

.gallery-wrapper .card-item.showed {
  display: block;
}

.gallery-wrapper .card-item .picture-wrapper {

  display: block;
  height: 150px;
  overflow: hidden;
}


.gallery-wrapper .card-item .picture-wrapper img {
  transition: transform 0.3s ease, box-shadow 0.3s ease; 
  height: 100%;
  width: fit-content;
  display: block;
}


.gallery-wrapper .card-item .picture-wrapper:hover img {
  transform: scale(1.1); 
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3); 
  z-index: 1; 
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}


/* CSS pour la presse */

.presse{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.titre {
  color: rgba(223, 1, 30);
  font-family: "Montserrat", serif;
}

.news{
  display: flex;
  flex-direction: column;
  width: 90%;
}

.journal{
  color: rgba(200, 184, 219);
  font-family: "orkney-bold", serif;
}


.presse a {
  color: inherit; 
  text-decoration: none; 
}


.presse h3{
  margin: 1em 1em;
  color: #1B263B;
  font-family: "orkney-medium", serif;
  padding: 0.75em;

}


/* Pour le Galaxy Note20 en mode portrait */
@media only screen and (min-width: 412px) and (orientation: portrait) {
  /* Tes styles ici */
}

/* Pour le Galaxy Note20 en mode paysage */
@media only screen and (min-width: 915px) and (orientation: landscape) {
  /* Tes styles ici */
}

/* Pour cibler la densité de pixels */
@media only screen and (-webkit-min-device-pixel-ratio: 2.625) {
  /* Tes styles ici */
}


@media (max-width: 900px) {

  .banner{
    height: 55vh;
    align-items: flex-end;
  }

  #idelec{
    width: 60 vw;
    padding-top: 7em;
  }

  #credit{
    width: 40vw;
  }

  #lasthome{
    width: 40vw;
  }

  #funeraire{
    width: 40vw;
  }

  #agrec{
    width: 40vw;
  }

  #feves{
    width: 40vw;
  }

  .filters_wrapper{
    padding-top: 7em;
  }

  .presse{
    padding-top: 7em;
  }

  .banner-text{
    font-size: 15px;
    margin-bottom: -6em;
    text-align: center;
  }



  #treunet{
    width: 40vw;
  }

  #espel{
    width: 40vw;
  }

  embed{
    width: 100%;
    height: 55vh;
  }

  .partenaires img{
    width: 80vw;
    
  }

}



@media (max-width : 768px) {
  .about_us{
    padding-top: 5em;
  }  

  .filters_wrapper{
    padding-top: 7em;
  }
  .banner{
    max-height: 35vh;
  }

}

@media (max-width: 897px) {

  .contenu h2{
    padding-top: 3em;

  }
  
}


@media (max-width: 1047px) {
  .gallery-wrapper{
    display: flex;
    flex-wrap: wrap;
    grid-template-columns: none;
  }

  .navbar{
    margin: 0;
    padding: 0;
  }

  .nav_links {
    display: none; 
    flex-direction: column;
    position: relative;
    width: 100%;
    z-index: 10;
  }

  .nav_links.activer {
      display: flex; 
  }

  .hamburger {
      display: block; /* Afficher l'icône hamburger */
  }

  .nav_right.activer {
    display: flex;
  }

  .nav-right-toggle {
    display: block;
    position: absolute;
    top: 10px;
    right: 20px;
  }

  .legrand{
    height: 6vh;
  }

  .deremaux{
    height: 415px;
  }

  .affiches{
    display: flex;
    flex-wrap: wrap;  
  }

  .links{
    justify-content: space-between;
  }

  .banner-text {
    position: relative;
    top: auto;
  }

}


@media (max-width: 454px) {

  div.commande, div.vers_contact{
    text-align: center;
  }

  .pdf{
    display: flex;
    align-items: center;
    flex-direction: column;

  }

  #treunet{
    width: 50vw;
  }
  
  #espel{
    width: 50vw;
  }

  #lasthome{
    width: 50vw;
  }

  #funeraire{
    width: 50vw;
  }

  #feves{
    width: 50vw;
  }

  #idelec{
    padding-top: 0;
  }

  #credit{
    width: 50vw;
  }


  .banner-text {
    position: absolute;
    top: auto;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    padding: 1em 1em;
  }

  .contenu h2{
    padding-top: 4em;
  }

 

  .nav_left img{
    width: 20vw;
  }

  img.qrcode{
    width: 11vw;
  }

  .filters_wrapper, .partenaires {
    padding-top: 8em;
  }

  .about_us{
    padding-top: 7em;
  }


  
}