* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.background_header{
   width: 100%;
    width: 100%;
  height: 80px;
background-image: url(IMG_4578.GIF);
  position: fixed;
    background-repeat: no-repeat;
  background-size: cover;
  z-index: 10;
}
.nav{
  width: 90%;               /* Match white-overlay width */
  height: 5vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  margin-top: 2vh;         /* Space for fixed nav */
  top: 0;
  z-index: 10;
  left: 50%;          
   background-color: transparent;      /* Center horizontally */
  transform: translateX(-50%);
}
.nav, .nav ul, .nav li, .nav a, .svg_links, .svg_links img {
  background-color: transparent !important;
}
.nav_logo{
  width: 80px;
  height:auto;
  margin-left: 2%;
}
.navlist{
  margin-right: -80px;
}
.navlist ul{
  display:flex;
  flex-direction: row;
  list-style: none;
  font-family: "Nunito", sans-serif;
}
.navlist li a{
  text-decoration: none;
  color:white;
  margin: 10px;
  font-size: larger;
  font-weight: 500;
}
.navlist a::before{
    content:'';
    position: absolute;
    top: 100%;
    left: 0;
    width: 0;
    height: 2px;
    background: #fff;
    transition: .3s;

}
.hamburger{
    display: none;
    cursor: pointer;
}
.bar{
    display: block;
    width:25px;
    height: 3px; 
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: white;
}
.svg_links{
  padding:2%;

}
.svg_links img{
  margin: 8px;
  max-width: 30px;
  height: auto;
}
.svg_links img:not(#youtube) {
  width: 120px;
}
#youtube{
  max-width: none;
  margin-top:19px;  /* Removes the 30px cap */
  width: 33px;
}
.bio_section {
  background-color: black;
  width: 100%;
  height: 110vh;
  display: flex;
  align-items: center;         /* Vertically center */
  justify-content: center;     /* Horizontally center */
}
.background_bio{
    background-image: url(pexels-photo-276374.jpeg) ;
     height: 80vh; 
     margin-top: 5%;    /* Medium height relative to viewport */
  width: 70%;  
   background-repeat: no-repeat;
     background-size: cover;
       /* Maintain aspect ratio */
      display: flex;
  align-items: center;         /* Vertically center */
  justify-content: center;  
}
.bio_box{
    padding: 6px;
  width: 90%;
  height: 90%;
    border: 4px solid #ffbd59;
display: flex;
justify-content: center;
align-items: center;
}
.bio_box p{
    font-family: "Playfair Display", serif;
text-align: center;
padding: 10%;
color: #fff;
background-color: rgba(90, 90, 90, 0.596);
}
.background_bio img {
  /* Optional: contain inside bounds */
}
.flip_card_section{
    width: 100%;
  height: 100vh;
  background-image: url(IMG_4578.GIF);
      background-repeat: no-repeat;
  background-size: cover;
  border: 4px solid #ffbd59;
  padding-left: 10%;


}
.crew_mention{
        width: 100%;
  height: 105vh;
  background-image: url(crew.png);
      background-repeat: no-repeat;
  background-size: cover;
}
footer{

  width: 100%;
  height: 30vh;
  border: 4px solid #bebebe;
  background-image: url(IMG_4578.GIF);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;

}
  .grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 50px;
        }

        .flip-container {
            perspective: 1000px;
           
        }

        .flip-card {
            width: 240px; /* Plus large */
            height: 400px; /* Plus haut */
            position: relative;
            transform-style: preserve-3d;
            transition: transform 0.6s;
            cursor: pointer;
            margin: 10px; 
        }

        .flip-card:hover {
            transform: rotateY(180deg);
        }

        .flip-card .front, .flip-card .back {
            position: absolute;
            width: 100%;
            height: 100%;
            backface-visibility: hidden;
            display: flex;
            justify-content: center;
            align-items: center;
            border-radius: 15px;
            border: 2px solid rgba(255, 255, 255, 0.8); /* Bord rose transparent */
            box-shadow: 0 0 15px rgba(209, 208, 209, 0.8); /* Effet néon */
            background: rgba(255, 255, 255, 0.1); /* Fond semi-transparent */
            color: white;
        }

        .flip-card .front {
            background: rgba(255, 255, 255, 0.1); /* Fond semi-transparent */
        }
        .flip-card .front img{
            background: rgba(255, 255, 255, 0.1);
            width: auto;
            height: 395px;
              border-radius: 14px;
 /* Fond semi-transparent */
        }
        .flip-card .back {
            background: rgb(0, 0, 0); /* Fond semi-transparent */
            transform: rotateY(180deg);
        }
                .flip-card .back p{ 
                    padding: 10px;
            background: rgb(0, 0, 0);
              font-family: "Playfair Display", serif;
 /* Fond semi-transparent */
        }

@media only screen and  (max-height: 550px), (max-width: 775px) {

   .hamburger{
        display: block;
        padding-left: 20px;
        padding-right: 16px;
        z-index:100;
      
    }
    .hamburger.active .bar:nth-child(2){
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(1){
        transform: translateY(8px) rotate(45deg);
    } 

    .hamburger.active .bar:nth-child(3){
        transform: translateY(-8px) rotate(-45deg);
    } 
     .navlist{
      margin-left:-10;
    position:fixed;
    left:-100%;
    top: -19px;
    background-color: black; /* Optional */
    gap: 0;
    flex-direction: column;
    width: 93%;
    height: 101vh;
    text-align: center;
    transition: 0.3s;
    display:flex;
          justify-content: space-around;

    }
      .navlist ul {
    flex-direction: column;
font-size:xx-large;

  }
    .navlist a{
    display: block;

    }
    .navlist.active{
    left: -40px;
    flex-direction: column;
    }
.svg_links{
  padding:8%;
  margin-right: 20px;
}
  .grid {
            display: grid;
            grid-template-columns: repeat(1, 1fr);
            gap: 50px;
            margin-left: 16%;
            margin-top: 16%;
        }
        .flip_card_section{
    width: 100%;
  height: 320vh;
  background-image: url(IMG_4578.GIF);
      background-repeat: no-repeat;
  background-size: cover;
  border: 4px solid #ffbd59;
  padding-left: 10%;


}
.crew_mention{
        width: 100%;
  height: 115vh;
  background-image: url(crew_mention.png);
      background-repeat: no-repeat;
  background-size: cover;
}
}


@media only screen and (max-height: 250px), (max-width: 775px) {

   .hamburger{
        display: block;
        padding-left: 20px;
        padding-right: 16px;
        z-index:100;
      
    }
    .hamburger.active .bar:nth-child(2){
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(1){
        transform: translateY(8px) rotate(45deg);
    } 

    .hamburger.active .bar:nth-child(3){
        transform: translateY(-8px) rotate(-45deg);
    } 
     .navlist{
      margin-left:-10;
    position:fixed;
    left:-100%;
    top: -19px;
    background-color: black; /* Optional */
    gap: 0;
    flex-direction: column;
    width: 93%;
        height: 114vh;
    text-align: center;
    transition: 0.3s;
    display:flex;
          justify-content: space-around;

    }
      .navlist ul {
    flex-direction: column;
font-size:xx-large;

  }
    .navlist a{
    display: block;

    }
    .navlist.active{
    left: -40px;
    flex-direction: column;
    }
.svg_links{
  padding:8%;
  margin-right: 20px;
}
  .grid {
            display: grid;
            grid-template-columns: repeat(1, 1fr);
            gap: 50px;
            margin-left: 16%;
            margin-top: 16%;
        }
        .flip_card_section{
    width: 100%;
  height: 390vh;
  background-image: url(IMG_4578.GIF);
      background-repeat: no-repeat;
  background-size: cover;
  border: 4px solid #ffbd59;
  padding-left: 10%;


}
.crew_mention{
        width: 100%;
  height: 115vh;
  background-image: url(crew_mention.png);
      background-repeat: no-repeat;
  background-size: cover;
}
}

