* {
  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(bio_thing.png) ;
  height: 80vh; 
  margin-top: 5%;    /* Medium height relative to viewport */
  width: 70%;  
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;       /* Maintain aspect ratio */
  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;
  font-size: 150%;
  background-color: rgba(0, 0, 0, 0.796);
  font-style: italic;
  line-height: 1.9;
}
.Click_card{
  background-image: url(city_background.png);
  width: 100%;
  height: 9vh;
  display: flex;
  align-items: center;         /* Vertically center */
  justify-content: center;  
}
.Click_card{
  color: white;
  font-size: xx-large;
  text-shadow: 2px 2px 4px #000000;
}
.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(crewpic.png);
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;              /* flexbox for centering */
  justify-content: center;    /* horizontal center */
  align-items: center;        /* vertical center */
  text-align: center;         /* center text lines */
  padding: 2rem;              /* spacing for small screens */
  box-sizing: border-box;
}
.crew_mention p {
  color: #fff;                                /* white text */
  background-color: rgba(0, 0, 0, 0.741);       /* transparent black backdrop */
  padding: 2rem;
  border-radius: 10px;                        /* rounded edges for backdrop */
  max-width: 800px;                           /* keeps text from stretching too wide */
  font-size: 1.7rem;
  line-height: 1.6;
}
footer {
  width: 100%;
  border-top: 4px solid #bebebe;
  background-image: url("IMG_4578.GIF");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 4rem 5rem;   /* top/right/left */
  padding-bottom: 9rem; /* increase bottom */
  color: white;
}
.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap; /* makes it responsive */
  gap: 4rem;
  max-width: 1000px;
  margin: 0 auto;
}
.footer-column {
  min-width: 180px;
  color: #fff;
}
.footer-column h3 {
  color: #fff;
  font-family: "Nunito", sans-serif;
  font-weight: 200;
  margin-bottom: 1rem;
  font-size: 1.8rem;
  border-bottom: 2px solid #ffd700;
  padding-bottom: 0.5rem;
}
.footer-column ul {
  color: #fff;
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-column ul li {
  color: #fff;
  font-size: 1.3rem;

  margin: 0.5rem 0;
}
.footer-column ul li a {
  text-decoration: none;
  color: #fff;
  transition: color 0.3s ease;
}
.footer-column ul li a:hover {
  color: #ffd700; /* gold hover effect */
}
  .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: 100%;
  height: 100%;
  object-fit: cover; /* fills the card while keeping proportions */
  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: 15%;
                    margin: 5%;
                    font-size:x-large;
            background: rgb(0, 0, 0);
              font-family: "Playfair Display", serif; /* Fond semi-transparent */
        }
        @media (max-width: 768px) {
          .crew_mention p {
      font-size: 1.2rem;
      line-height: 1.9;
}
  footer {
      min-height: 600px; 
}
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }}
@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 screen and (max-height: 870px) {
  .flip_card_section {
    height: 350vh;
  }
}
@media screen and (max-height: 765px) {
  .flip_card_section {
    height: 390vh;
  }
}
@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: 9%;
            margin-top: 16%;
        }
.crew_mention{
    width: 100%;
    height: 115vh;
    background-image: url(crew_mention.png);
    background-repeat: no-repeat;
    background-size: cover;
}
}
@media (max-width: 410px){
.svg_links img {
  margin: 3px;
  max-width: 25px;
  height: auto;
}
#youtube{
  max-width: none;
  margin-top:19px;  /* Removes the 30px cap */
  width: 26px;
}
}
@media (max-width: 447px){
.svg_links img {
display: none;
}
}
