/*-------------------NEW--------------------*/
@import url('https://fonts.googleapis.com/css2?family=Indie+Flower&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.cdnfonts.com/css/avenir');

*{
    box-sizing: border-box;
}

@font-face {
  font-family: Hangover;
  src: url("../font/Hangover.otf");
  font-weight: normal;
  font-style: normal;
}
/*html{
  margin: 0;
}

#wpadminbar{
  display: none!important;
}*/

body {
  --sb-track-color: #191919;
  --sb-thumb-color: #404040;
  --sb-size: 9px;
}

body::-webkit-scrollbar {
  width: var(--sb-size);
}

body::-webkit-scrollbar-track {
  background: var(--sb-track-color);
  border-radius: 0;
}

body::-webkit-scrollbar-thumb {
  background: var(--sb-thumb-color);
  border-radius: 0;
  border: 1px solid #4f5050;
}

@supports not selector(::-webkit-scrollbar) {
  body {
      scrollbar-color: var(--sb-thumb-color)
                     var(--sb-track-color);
  }
}

.menu{
  display: flex !important;
  gap: 25px;
}

.contact-section{
  display: flex;
  height: 75vh;
  align-items: top;
justify-content: space-between;
position: relative;

}
.coordonnee{
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 50px;
 
}

.contact-section h2{
  margin-bottom:50px ;
}

.coordonnee a{
  color: white;
  text-align: center;
  margin-top: 20px;
  text-decoration: none;
  font-size: 1.1em;
}

.coordonnee-img{
  width: 15%;
}

.coordonnee-img img{
  width: 100%;
height: auto;
}
.contact-section article{
flex-basis: 48%;
}

#wpcf7-f102-o1 form p span input, #wpcf7-f102-o1 form p span textarea{
border: none;
border-bottom: #404040 1px solid;
background-color: transparent;
background: linear-gradient(0deg, rgb(18, 18, 18) 0%, rgba(34,34,34,0) 100%);
width: 100%;
padding: 10px;
}

#wpcf7-f102-o1 form p input[type=submit]{
  background-color: white;
  color: black;
  width: 100%;
  text-align: center;
  border: none;
  padding: 17px;
  text-transform: uppercase;
  font-weight: bold;
} 

body:has(.main-carousel) {
  overflow: hidden;
  max-height: 100vh;
}
body:has(.main-carousel)::-webkit-scrollbar {
  width: 0;
}

body:has(.main-carousel)::-webkit-scrollbar-thumb {
  border: 0px solid #4f5050;
}

body:has(.main-carousel) footer {
  display: none;
}

body:has(.main-carousel) .container {
  padding: 0;
}

.menu li{
  list-style: none;
}
.wait-screen{
  display: flex;
  position: absolute;
  background-color: black;
  transition: all 300ms ease 150ms;
  user-select: none;
  pointer-events: none;
opacity: 1;
height: 100vh;
width: 100vw;
z-index: 10000000;
top: 0;
left: 0;
}
p{
  font-size: 0.9em;
}

.menu li a{
  text-decoration: none;
  color: white;
  list-style: none;
}

body {
  background: rgb(46,46,46);
  background: linear-gradient(0deg, rgb(51, 51, 51) 0%, rgba(0,0,0,1) 85%, rgba(0,0,0,1) 100%);
  overflow-x: hidden;
  font-family: "Roboto";
  margin: 0;
  padding: 0;
  position: relative;
  min-height: 100vh;
  color: white;
}

body::before {
  content: "";
  position: fixed;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-size: cover!important;
  background: url('http://lourydevanne.fr/test-wordpress/wp-content/uploads/2024/08/Hazy_black_ink_texture_with_brushstrokes-scaled.jpg') repeat; /* Replace with the path to your texture image */
  opacity: 0.1; /* Adjust opacity to blend the texture with the gradient */
  pointer-events: none; /* Ensures the texture layer doesn't interfere with other interactions */
  
}


.barre-navigation{
  display: flex;
  justify-content: space-between;
  padding: 0 50px;
height: 10vh;
align-items: center;
}

.burger{
  display: block;
}

.menu-menu-principale-container{
  display: block;
}

.burger{
  display: none;
}

.custom-logo-link{
  display: flex;
  align-items: center;
  flex-basis: 15%;
}


.custom-logo-link img{
  width: 100%;
  height: auto;
}
.main-carousel{
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    scroll-behavior: auto;
    overflow-x: scroll; /* Permet le défilement si nécessaire */
    width: 100vw;
    height: 90vh;


}

.text-oeuvre{
  text-align: center;
  opacity: 0;
  transition: opacity 150ms ease;
  font-size: 0.8em;
  padding-top: 5px;
}

.ontop .text-oeuvre{
  opacity: 0.8;
}

.main-carousel figure{
    width: 25%; /* Taille minimale des éléments */
    flex-shrink: 0; /* Empêche les éléments de se rétrécir */
    user-select: none;
    user-select: none;
}

.main-carousel div{
  width: 25%; /* Taille minimale des éléments */
  flex-shrink: 0; /* Empêche les éléments de se rétrécir */
  user-select: none;
  user-select: none;
}



.ontop{
    cursor: pointer;
    z-index: 1000;
}
.ontop:hover{
    transform: scale(1.05);
    transition: transform 0.3s;

}

.space{
    width: 37.5% !important;
    height: 100%;
}

.fluid{
    width: 100%;
    height: auto;
    transition: filter 0.3s, opacity 0.3s, transform 0.3s;

}

.footer-info p{
  text-align: center;

}

footer{
  padding: 15px 0;
  color: white;
}

.main-carousel {
    --sb-track-color: #ffffff00;
    --sb-thumb-color: #1b1b1b;
    --sb-size: 6px;
  }
  
  .main-carousel::-webkit-scrollbar {
    width: 7px;
    height: 7px;
  }
  
  .main-carousel::-webkit-scrollbar-track {
    background: var(--sb-track-color);
    border-radius: 3px;

  }
  
  .main-carousel::-webkit-scrollbar-thumb {
    background: var(--sb-thumb-color);
    border-radius: 3px;

    
  }
.scale-up{
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    top: 0;
    left: 0;
    transform: scale(0);
    transition: transform ease 300ms;
width: 100%;
height: 100%;
backdrop-filter:blur(15px);
cursor: pointer;
z-index: 2000;
}
.animation-enter{
    transform: scale(1);
}
.none{
    display: none;
}

  .scale-up-img{
    width: auto;
    height: 90%;
    user-select: none;
  }
  
  .scale-up-text{
    font-weight: bold;
  }

  .img-magnifier-container {
    position: relative;
  }
  .container{
    padding: 0 150px ;
  }

.img-contact{
  height: 100%;
}

.img-contact figure{
  height: 100%!important;
  display: flex;
  justify-content: center;
  align-items: center;
}

  .img-contact img{
height: 100%;
width:auto;
  }

h2{
font-family: 'Avenir', 'Arial Narrow', Arial, sans-serif;
font-size: 2em;
color: white;
  }
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 9999;
  opacity: 0; /* Initialement caché */
  pointer-events: none; /* Empêche les interactions avant la transition */
  transition: opacity 0.15s ease; /* Transition pour l'apparition */
}

.overlay.show {
  cursor: pointer;
  opacity: 1; /* Devenir visible après l'ajout de la classe .show */
  pointer-events: all; /* Permet l'interaction une fois visible */
}

.large-img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transform: scale(0.5); /* Initialement plus petit */
  opacity: 0; /* Initialement cachée */
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease; /* Transition pour l'apparition et agrandissement */
}

.large-img.show {
  transform: scale(1); /* Devient à taille normale */
  opacity: 1; /* Devient visible */
}
  .wp-block-image{
    aspect-ratio: 1/1;
    overflow: hidden;
    flex-basis: 24%;
    flex-grow: unset !important;
    cursor: pointer;
    transition: transform ease 150ms;
  }
  .img-contact .wp-block-image:hover{
    transform: scale(1);
    z-index: unset;
  }

  .img-contact .wp-block-image{
    cursor: default!important;
  }

  .wp-block-image:hover{
    transform: scale(1.1);
    z-index: 100;
  }

  .wp-block-image img{
    object-fit: cover!important;
    min-height: 100%;
    min-width: 100%;
  }

  .wp-block-image figcaption{
 opacity: 0;
user-select: none;
  }

.wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption):before{
  display: none;
}

.wp-block-gallery.has-nested-images figure.wp-block-image{
  align-items: center;
}

  .img-magnifier-glass {
    opacity: 0;
    position: absolute;
    border: 1px solid #0000004b;
    border-radius: 50%;
    cursor: none;
    /*Set the size of the magnifier glass:*/
    width: 150px;
    height: 150px;
  }


  @media screen and (max-width: 1024px) {

    body{
      background: #191919;
    }
    body:has(.main-carousel) {
      overflow-y: auto;
    }
    
    body:has(.main-carousel) footer {
      display: block;
    }
    
    body:has(.main-carousel) .container {
      padding: auto;
    }

    .main-carousel{
      display: block;
    scroll-behavior: auto;
    width: 100%;
    height: auto;
    }
    
.main-carousel figure{
  width: 100%; /* Taille minimale des éléments */
  flex-shrink: auto; /* Empêche les éléments de se rétrécir */
  user-select: none;

}

.main-carousel{
  margin-top: 80px;
}

body:has(.main-carousel) .container{
  width: 100vw;
  padding: 15px;
}

.barre-navigation{
  display: flex;
  justify-content: space-between;
  padding: 0 15px;
  width: 100%;
height: 80px;
align-items: center;
position: fixed;
z-index: 10000;
background-color: #191919;
}



.menu-menu-principale-container{
  display: none;
  position: fixed;
  top:60px;
  left: 0;
  width: 100%;
  
}

.burger{
  display: block;
  font-size: 2em;
}

.custom-logo-link{
  display: flex;
  align-items: center;
  flex-basis: 30%;
}

.custom-logo{
  height: 40px!important;
  width: auto!important;
}

.menu{
  position: fixed;
  display: block !important;
  gap: 25px;

  width: 100%;
  padding: 0;
  background-color: #191919;
}

.menu li{
  display: flex;
  justify-content: center;
  padding: 15px;
  z-index: 15;
}

.menu li:last-child{
  -webkit-box-shadow: 0px 19px 14px -17px rgba(0,0,0,0.75);
  -moz-box-shadow: 0px 19px 14px -17px rgba(0,0,0,0.75);
  box-shadow: 0px 19px 14px -17px rgba(0,0,0,0.75);
  z-index: 14;
}

.menu li a{
 text-align: center;
 width: 100%;
 font-size: 1.5em;
}

.text-oeuvre{
  color: white;
  opacity: 1!important;
}

body::before {
 display: none;
}


.wp-block-image{
  aspect-ratio: unset;
  width: 100%;
  height: auto;
  overflow: hidden;
  flex-basis: unset;
  flex-grow: unset !important;
  cursor: pointer;
  transition: transform ease 150ms;
}

.wp-block-gallery.has-nested-images:not(.is-cropped) figure.wp-block-image:not(#individual-image) {
margin-bottom: 15px !important;
}

.wp-block-image:hover{
  transform: scale(1);
  z-index: unset;
}

.wp-block-image img{
  object-fit: cover!important;
}

h2{
  margin-top: 0;
}
.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) {
  width: auto!important;
}
.wp-block-image figcaption{
  display: none;
}

.wp-block-gallery{
  display: block!important;
  width: 100%;
}

.container{
  padding: 0 15px ;
}

.contact-section{
  display: flex;
  flex-direction: column-reverse;
}

.contact-section{
  padding-top: 320px;
  margin-bottom: 50px;
}

.contact-section .wp-block-image{
  aspect-ratio: 1/1;
}

.contact-section .wp-block-image img{
  aspect-ratio: 1/1;
}

.img-contact img{
  height: auto;
}
  }