@charset "UTF-8";
/* Polices Space Mono */
@font-face {
  font-family: "Space Mono";
  src: url("../assets/fonts/SpaceMono-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Space Mono";
  src: url("../assets/fonts/SpaceMono-Italic.ttf") format("truetype");
  font-weight: normal;
  font-style: italic;
}
@font-face {
  font-family: "Space Mono";
  src: url("../assets/fonts/SpaceMono-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: "Space Mono";
  src: url("../assets/fonts/SpaceMono-BoldItalic.ttf") format("truetype");
  font-weight: bold;
  font-style: italic;
}
/* Poppins Black */
@font-face {
  font-family: "Poppins";
  src: url("../assets/fonts/Poppins-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
}
/* Poppins Black Italic */
@font-face {
  font-family: "Poppins";
  src: url("../assets/fonts/Poppins-BlackItalic.ttf") format("truetype");
  font-weight: 900;
  font-style: italic;
}
/* Poppins Bold */
@font-face {
  font-family: "Poppins";
  src: url("../assets/fonts/Poppins-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}
/* Poppins Bold Italic */
@font-face {
  font-family: "Poppins";
  src: url("../assets/fonts/Poppins-BoldItalic.ttf") format("truetype");
  font-weight: bold;
  font-style: italic;
}
/* Poppins Extrabold */
@font-face {
  font-family: "Poppins";
  src: url("../assets/fonts/Poppins-Extrabold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
}
/* Poppins Extrabold Italic */
@font-face {
  font-family: "Poppins";
  src: url("../assets/fonts/Poppins-ExtraboldItalic.ttf") format("truetype");
  font-weight: 800;
  font-style: italic;
}
/* Poppins Medium */
@font-face {
  font-family: "Poppins";
  src: url("../assets/fonts/Poppins-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}
/* Poppins Medium Italic */
@font-face {
  font-family: "Poppins";
  src: url("../assets/fonts/Poppins-MediumItalic.ttf") format("truetype");
  font-weight: 500;
  font-style: italic;
}
/* Poppins Light */
@font-face {
  font-family: "Poppins";
  src: url("../assets/fonts/Poppins-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}
/* Poppins Light Italic */
@font-face {
  font-family: "Poppins";
  src: url("../assets/fonts/Poppins-LightItalic.ttf") format("truetype");
  font-weight: 300;
  font-style: italic;
}
/* Poppins Extralight */
@font-face {
  font-family: "Poppins";
  src: url("../assets/fonts/Poppins-Extralight.ttf") format("truetype");
  font-weight: 200;
  font-style: normal;
}
/* Poppins Extralight Italic */
@font-face {
  font-family: "Poppins";
  src: url("../assets/fonts/Poppins-ExtralightItalic.ttf") format("truetype");
  font-weight: 200;
  font-style: italic;
}
/* Poppins Thin */
@font-face {
  font-family: "Poppins";
  src: url("../assets/fonts/Poppins-Thin.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
}
/* Poppins Thin Italic */
@font-face {
  font-family: "Poppins";
  src: url("../assets/fonts/Poppins-ThinItalic.ttf") format("truetype");
  font-weight: 100;
  font-style: italic;
}
/* Poppins Semibold */
@font-face {
  font-family: "Poppins";
  src: url("../assets/fonts/Poppins-Semibold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}
/* Poppins Semibold Italic */
@font-face {
  font-family: "Poppins";
  src: url("../assets/fonts/Poppins-SemiboldItalic.ttf") format("truetype");
  font-weight: 600;
  font-style: italic;
}
/* Poppins Regular */
@font-face {
  font-family: "Poppins";
  src: url("../assets/fonts/Poppins-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
/* Poppins Regular Italic */
@font-face {
  font-family: "Poppins";
  src: url("../assets/fonts/Poppins-RegularItalic.ttf") format("truetype");
  font-weight: normal;
  font-style: italic;
}
/* Variables de couleurs */
* {
  margin: 0;
  padding: 0;
}

html {
  margin-top: 0 !important;
}

body {
  font-family: "Space Mono", sans-serif;
  display: flex;
  height: 100vh;
  background: #000000 80%;
}

/* Bureau */
h1 {
  font-size: 96px;
  font-weight: 600; /* Extra-bold */
}

h2 {
  font-size: 58px;
  font-weight: 500; /* Semi-bold */
  font-style: italic;
  line-height: 58px;
}

h3 {
  font-size: 18px;
  font-weight: normal;
}

.description-photo {
  font-size: 14px;
}

p {
  font-size: 14px;
}

/* Mobile */
@media (max-width: 768px) {
  h1 {
    font-size: 27.6px;
    font-weight: bold;
  }
  h2 {
    font-size: 46px;
    font-weight: 600;
  }
  h3 {
    font-size: 18px;
  }
  .description-photo {
    font-size: 14px;
  }
  p {
    font-size: 14px;
  }
}
.section-home {
  width: 100vw;
  height: 99vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.main-header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 99vh;
  position: absolute;
  z-index: 3;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: baseline;
}
.container .logo {
  display: none;
}
.container .logo h1 {
  font-size: 24px;
  text-decoration: none;
}
.container nav.menu-header-container {
  display: flex;
  flex-direction: row;
  height: 80vh;
  margin-top: 40px;
}
.container nav.menu-header-container ul {
  display: flex;
  flex-direction: column;
  align-items: baseline;
  list-style: none;
  margin-top: 50px;
  gap: 60px;
}
.container nav.menu-header-container ul li {
  margin-left: 20px;
}
.container nav.menu-header-container ul li a {
  text-decoration: none;
  color: #000000;
  text-transform: uppercase;
  transition: color 0.6s ease;
  color: #ffffff;
}
.container nav.menu-header-container ul li a[aria-current=page] {
  font-weight: 500;
}
.container nav.menu-header-container ul li a:hover {
  font-weight: 600;
}

.menu-header-container {
  position: flex; /* Pour activer le z-index */
  visibility: hidden; /* Cacher le menu par défaut */
  opacity: 0; /* Menu invisible par défaut */
  transition: opacity 0.3s ease, visibility 0s 0.3s; /* Transition sur l'opacité */
  /* Bloque le scroll de la page quand le menu est ouvert */
}
.menu-header-container.active {
  visibility: visible; /* Rendre le menu visible */
  opacity: 1; /* Menu visible */
  transition: opacity 0.3s ease; /* Transition de l'opacité */
  overflow: hidden; /* Empêche le scroll */
}
.menu-header-container .main-menu a:hover {
  color: #ddd; /* Changer la couleur au survol */
}

.nav.menu-header-container {
  display: none;
}

.burger-menu {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 30px;
  height: 25px;
  background-color: transparent;
  border: none;
  cursor: pointer;
  margin-top: 30px;
  z-index: 2;
  margin-left: 20px;
  position: fixed;
    
}
.burger-menu .line {
  display: block;
  width: 100%;
  height: 1px;
  background-color: #ffffff;
  border-radius: 1px;
  transition: all 0.3s ease-in-out;
}
.burger-menu.active .line:nth-child(1) {
  transform: rotate(45deg) translateY(16px);
}
.burger-menu.active .line:nth-child(2) {
  opacity: 0;
}
.burger-menu.active .line:nth-child(3) {
  transform: rotate(-45deg) translateY(-16px);
}


nav.menu-header-container.portfolio-active {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 22px;
  width: 170px;
  height: auto;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  padding: 20px;
  padding-bottom: 50px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0s 0.3s;
  
}
nav.menu-header-container.portfolio-active.active {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
}
nav.menu-header-container.portfolio-active:hover {
  background: rgba(255, 255, 255, 0.2);
}
nav.menu-header-container.portfolio-active ul {
  display: flex;
  flex-direction: column;
  align-items: start;
  list-style: none;
  margin-top: 30px;
}
nav.menu-header-container.portfolio-active ul li {
  position: relative;
  margin-left: 0;
}
nav.menu-header-container.portfolio-active ul li a {
  padding: 8px 20px;
  text-decoration: none;
  text-transform: uppercase;
  color: #ffffff;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
  transition: all 0.4s ease-in-out;
}
nav.menu-header-container.portfolio-active ul li a[aria-current=page] {
  font-weight: normal;
  background: rgba(255, 255, 255, 0.1);
  color: black;
}
nav.menu-header-container.portfolio-active ul li a:hover {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
  animation: glass 2s infinite;
}

.burger-menu.portfolio-active {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 30px;
  height: 25px;
  background-color: transparent;
  border: none;
  cursor: pointer;
  position: fixed;
  z-index: 4;
}
.burger-menu.portfolio-active .line {
  width: 100%;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 1px;
  transition: all 0.3s ease-in-out;
}
.burger-menu.portfolio-active.active .line:nth-child(1) {
  transform: rotate(45deg) translateY(18px);
}
.burger-menu.portfolio-active.active .line:nth-child(2) {
  opacity: 0;
}
.burger-menu.portfolio-active.active .line:nth-child(3) {
  transform: rotate(-45deg) translateY(-18px);
}

.header-image {
  position: static;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 962px;
  color: white;
  text-align: end;
  width: 100%;
  /* Animation de fading et déplacement */
}
@keyframes fadeInMove {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.header-image h2 {
  margin: 0;
  font-size: 3rem;
  line-height: 1.3;
  z-index: 2;
  max-width: 80%;
  font-family: "Arial", sans-serif;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.header-image h2 span {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px); /* Déplacement initial vers le bas */
  animation: fadeInMove 1s ease-out forwards;
  margin: 5px 0;
  font-size: 2rem;
  position: absolute; /* Permet de positionner les mots librement */
}
.header-image h2 span:first-child {
  font-size: 5rem;
  font-weight: bold;
  color: #f9841c;
  top: auto;
  left: auto;
  transform: translate(-600px, -200px);
  animation: none;
  opacity: 1;
}
.header-image h2 span:nth-child(2) {
  font-size: 4rem;
  font-weight: normal;
  color: rgba(255, 255, 255, 0.8);
  top: auto;
  left: auto;
  transform: translate(40px, -185px);
  animation-delay: 0.2s;
}
.header-image h2 span:nth-child(3) {
  font-size: 2.5rem;
  font-weight: normal;
  color: rgba(255, 255, 255, 0.8);
  top: auto;
  left: auto;
  transform: translate(-600px, -110px);
  animation-delay: 0.5s;
}
.header-image h2 span:nth-child(4) {
  font-size: 2rem;
  font-weight: normal;
  color: rgba(255, 255, 255, 0.8);
  top: auto;
  left: auto;
  transform: translate(-580px, -230px);
  animation-delay: 0.7s;
}
.header-image h2 span:nth-child(5) {
  font-size: 2rem;
  font-weight: 500;
  font-style: bold;
  color: #f9b31c;
  top: auto;
  left: auto;
  transform: translate(-350px, 80px);
  animation-delay: 1s;
}
.header-image h2 span:last-child {
  font-size: 2.5rem;
  color: rgb(255, 255, 255);
  margin-top: 15px;
  top: auto;
  left: auto;
  transform: translate(-470px, 100px);
  animation-delay: 1.5s;
}
.header-image .design {
  position: absolute;
}
.header-image .design::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 10%, rgb(0, 0, 0) 40%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.8) 200%);
  z-index: 1;
  pointer-events: none;
}
.header-image .design .front {
  display: flex;
  flex-direction: row;
  justify-content: end;
  background-color: #000;
}
.header-image .design .front img {
  top: 0;
  left: 0;
  width: 15%;
  height: 962px;
  -o-object-fit: cover;
     object-fit: cover;
  z-index: 0;
  -webkit-clip-path: polygon(6% 0px, 100% 0px, 94% calc(100% - 0px), 0% 100%);
  clip-path: polygon(6% 0px, 100% 0px, 94% calc(100% - 0px), 0% 100%);
}
.header-image .design .front .img1 {
  -o-object-position: 51% center;
     object-position: 51% center;
}
.header-image .design .front .img2 {
  -o-object-position: 63% center;
     object-position: 63% center;
}
.header-image .design .front .img3 {
  -o-object-position: 45% center;
     object-position: 45% center;
}
.header-image .design .front .img4 {
  -o-object-position: 50% center;
     object-position: 50% center;
  -webkit-clip-path: polygon(6% 0px, 100% 0px, 100% calc(100% - 0px), 0% 100%);
          clip-path: polygon(6% 0px, 100% 0px, 100% calc(100% - 0px), 0% 100%);
}

/* Animation pour effet lumineux */
@keyframes light-glow {
  0% {
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5), 0 0 10px rgba(255, 255, 255, 0.3), 0 0 20px rgba(255, 255, 255, 0.1);
  }
  50% {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.6), 0 0 40px rgba(255, 255, 255, 0.4);
  }
  100% {
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5), 0 0 10px rgba(255, 255, 255, 0.3), 0 0 20px rgba(255, 255, 255, 0.1);
  }
}
.main-header.competences-active {
  height: 80px;
  width: 100vw;
  position: absolute;
}

.container.competences-active {
  display: block;
}
.container.competences-active .logo {
  display: block;
  text-decoration: none;
  color: #ffffff;
}
.container.competences-active .logo h1 {
  margin-left: 40px;
  margin-top: 13px;
  font-size: 24px;
  text-decoration: none;
}
.container.competences-active .logo h1:hover {
  /* Appliquer un effet lumineux */
  animation: light-glow 3s infinite ease-in-out;
}
.container.competences-active nav.menu-header-container.competences-active {
  width: auto;
  height: auto;
  position: absolute;
  top: 0;
  right: 0;
  margin-right: auto;
  margin-top: 0;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  padding: 20px;
  visibility: visible;
  opacity: 1;
}
.container.competences-active nav.menu-header-container.competences-active ul {
  display: flex;
  flex-direction: row;
  margin-top: 0;
  list-style: none;
}
.container.competences-active nav.menu-header-container.competences-active ul li {
  position: relative;
  margin-left: 0;
}
.container.competences-active nav.menu-header-container.competences-active ul li a {
  padding: 8px 20px;
  text-decoration: none;
  text-transform: uppercase;
  color: #ffffff;
  font-weight: 500;
  transition: all 0.4s ease-in-out;
}
.container.competences-active nav.menu-header-container.competences-active ul li a:hover {
  animation: glass 2s infinite;
}

.burger-menu.competences-active {
  display: none;
}

@media (max-width: 1440px) {
  .header-image h2 span:first-child {
    font-size: 5rem;
    transform: translate(-380px, -200px);
  }
  .header-image h2 span:nth-child(2) {
    font-size: 4rem;
    transform: translate(250px, -185px);
  }
  .header-image h2 span:nth-child(3) {
    font-size: 2.5rem;
    transform: translate(-380px, -110px);
  }
  .header-image h2 span:nth-child(4) {
    font-size: 2rem;
    transform: translate(-360px, -230px);
  }
  .header-image h2 span:nth-child(5) {
    font-size: 2rem;
    transform: translate(-30px, -30px);
  }
  .header-image h2 span:last-child {
    font-size: 2.5rem;
    transform: translate(-150px, -10px);
  }
  .header-image .design::before {
    content: "";
    background: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 10%, rgb(0, 0, 0) 20%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.1) 200%);
  }
  .header-image .design .front img {
    width: 20%;
  }
}
@media (max-width: 1024px) {
  .container.competences-active nav.menu-header-container.competences-active ul li a {
    padding: 5px 10px;
  }
  .header-image h2 span:first-child {
    font-size: 3.5rem;
    transform: translate(-260px, -200px);
  }
  .header-image h2 span:nth-child(2) {
    font-size: 2.5rem;
    transform: translate(190px, -185px);
  }
  .header-image h2 span:nth-child(3) {
    font-size: 2.5rem;
    transform: translate(-260px, -140px);
  }
  .header-image h2 span:nth-child(4) {
    font-size: 2rem;
    transform: translate(-250px, -230px);
  }
  .header-image h2 span:nth-child(5) {
    font-size: 2rem;
    transform: translate(-100px, -30px);
  }
  .header-image h2 span:last-child {
    font-size: 2.5rem;
    transform: translate(-220px, -10px);
  }
  .header-image .design::before {
    content: "";
    background: linear-gradient(to left, rgba(0, 0, 0, 0) 30%, rgb(0, 0, 0) 100%, rgb(0, 0, 0) 0%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 0%);
  }
  .header-image .design .front img {
    width: 26%;
  }
}
@media (max-width: 928px) {
  nav.menu-header-container.portfolio-active {
    top: -80px;
    left: 0;
    width: 100%;
    height: 110vh;
    padding: 10px;
    background: rgba(0, 0, 0, 0.3) !important;
  }
  nav.menu-header-container.portfolio-active ul {
    align-items: center;
    gap: 80px;
    margin: 100px 0;
  }
  nav.menu-header-container.portfolio-active ul li a {
    color: #ffffff;
    background: rgba(0, 0, 0, 0.1);
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
  }
  nav.menu-header-container.portfolio-active .header-image h2 span:first-child {
    font-size: 3rem;
    transform: translate(-190px, -190px);
  }
  nav.menu-header-container.portfolio-active .header-image h2 span:nth-child(2) {
    font-size: 2rem;
    transform: translate(195px, -175px);
  }
  nav.menu-header-container.portfolio-active .header-image h2 span:nth-child(3) {
    font-size: 2rem;
    transform: translate(-190px, -140px);
  }
  nav.menu-header-container.portfolio-active .header-image h2 span:nth-child(4) {
    font-size: 1.5rem;
    transform: translate(-180px, -215px);
  }
  nav.menu-header-container.portfolio-active .header-image h2 span:nth-child(5) {
    font-size: 1.5rem;
    transform: translate(-60px, -30px);
  }
  nav.menu-header-container.portfolio-active .header-image h2 span:last-child {
    font-size: 2rem;
    transform: translate(-160px, -10px);
  }
}
@media (max-width: 700px) {
  .header-image h2 span:first-child {
    font-size: 2.5rem;
    transform: translate(-190px, -190px);
  }
  .header-image h2 span:nth-child(2) {
    font-size: 1.7rem;
    transform: translate(130px, -177px);
  }
  .header-image h2 span:nth-child(3) {
    font-size: 1.7rem;
    transform: translate(-192px, -150px);
  }
  .header-image h2 span:nth-child(4) {
    font-size: 1.5rem;
    transform: translate(-180px, -215px);
  }
  .header-image h2 span:nth-child(5) {
    font-size: 1.2rem;
    transform: translate(-60px, -20px);
  }
  .header-image h2 span:last-child {
    font-size: 1.3rem;
    transform: translate(-120px, -10px);
  }
  .header-image .design .front img {
    width: 26%;
  }
  .header-image .design .front .img1 {
    -o-object-position: 53% center;
       object-position: 53% center;
  }
  .header-image .design .front .img2 {
    -o-object-position: 67% center;
       object-position: 67% center;
  }
  .header-image .design .front .img3 {
    -o-object-position: 41% center;
       object-position: 41% center;
  }
  .header-image .design .front .img4 {
    -o-object-position: 48% center;
       object-position: 48% center;
    -webkit-clip-path: polygon(6% 0px, 100% 0px, 100% calc(100% - 0px), 0% 100%);
            clip-path: polygon(6% 0px, 100% 0px, 100% calc(100% - 0px), 0% 100%);
  }
}
@media (max-width: 440px) {
  .header-image h2 {
    margin-top: 350px;
  }
  .header-image h2 span:first-child {
    font-size: 1.75rem;
    transform: translate(-130px, -380px);
  }
  .header-image h2 span:nth-child(2) {
    font-size: 1.3rem;
    transform: translate(100px, -375px);
  }
  .header-image h2 span:nth-child(3) {
    font-size: 1.3rem;
    transform: translate(-130px, -350px);
  }
  .header-image h2 span:nth-child(4) {
    font-size: 1.2rem;
    transform: translate(-123px, -400px);
  }
  .header-image h2 span:nth-child(5) {
    font-size: 0.9rem;
    transform: translate(-126px, -300px);
  }
  .header-image h2 span:last-child {
    font-size: 0.9rem;
    transform: translate(-128px, -295px);
  }
  .header-image .design .front img {
    width: 100%;
  }
  .header-image .design .front .img1 {
    -o-object-position: 53% center;
       object-position: 53% center;
  }
  .header-image .design .front .img2 {
    -o-object-position: 67% center;
       object-position: 67% center;
  }
  .header-image .design .front .img3 {
    -o-object-position: 41% center;
       object-position: 41% center;
    -webkit-clip-path: polygon(6% 0px, 100% 0px, 100% calc(100% - 0px), 0% 100%);
            clip-path: polygon(6% 0px, 100% 0px, 100% calc(100% - 0px), 0% 100%);
  }
  .header-image .design .front .img4 {
    display: none;
    -webkit-clip-path: polygon(6% 0px, 100% 0px, 100% calc(100% - 0px), 0% 100%);
            clip-path: polygon(6% 0px, 100% 0px, 100% calc(100% - 0px), 0% 100%);
  }
  nav.menu-header-container.portfolio-active {
    top: -80px;
    left: 0;
    width: 100%;
    height: 110vh;
    padding: 0;
  }
  nav.menu-header-container.portfolio-active ul {
    align-items: center;
    gap: 80px;
    margin: 100px 0;
  }
  nav.menu-header-container.portfolio-active ul li {
    position: relative;
    margin-left: 0;
  }
}

@media screen and (orientation: landscape) and (max-width: 850px) {
     .header-image h2 span:first-child {
    font-size: 2.5rem;
    transform: translate(-200px, -80px);
  }
  .header-image h2 span:nth-child(2) {
    font-size: 1.7rem;
    transform: translate(130px, -67px);
  }
  .header-image h2 span:nth-child(3) {
    font-size: 1.7rem;
    transform: translate(-202px, -35px);
  }
  .header-image h2 span:nth-child(4) {
    font-size: 1.5rem;
    transform: translate(-190px, -110px);
  }
  .header-image h2 span:nth-child(5) {
    font-size: 1.2rem;
    transform: translate(-70px, 40px);
  }
  .header-image h2 span:last-child {
    font-size: 1.3rem;
    transform: translate(-120px, 50px);
  }
  .header-image .design .front img {
    width: 100%;
  }
  .header-image .design .front .img1 {
    -o-object-position: 53% center;
       object-position: 53% center;
  }
  .header-image .design .front .img2 {
    -o-object-position: 67% center;
       object-position: 67% center;
  }
  .header-image .design .front .img3 {
    -o-object-position: 41% center;
       object-position: 41% center;
    -webkit-clip-path: polygon(6% 0px, 100% 0px, 100% calc(100% - 0px), 0% 100%);
            clip-path: polygon(6% 0px, 100% 0px, 100% calc(100% - 0px), 0% 100%);
  }
  .header-image .design .front .img4 {
    display: none;
    -webkit-clip-path: polygon(6% 0px, 100% 0px, 100% calc(100% - 0px), 0% 100%);
            clip-path: polygon(6% 0px, 100% 0px, 100% calc(100% - 0px), 0% 100%);
  }
  nav.menu-header-container.portfolio-active {
    top: -80px;
    left: 0;
    width: 100%;
    height: 110vh;
    padding: 0;
  }
  nav.menu-header-container.portfolio-active ul {
    align-items: center;
    gap: 40px;
    margin: 80px 0;
  }
  nav.menu-header-container.portfolio-active ul li {
    position: relative;
    margin-left: 0;
  }
  .btn-glass {
    transform: translate(-20px, 100px) !important;
  }
}

/* Styles pour le footer */
.main-footer {
  visibility: hidden; /* Caché initialement */
  opacity: 0; /* Invisible */
  transition: opacity 0.3s ease, visibility 0.3s 0s; /* Transition douce */
  width: 100%;
  color: azure;
  padding-top: 5px;
  z-index: 3;
  position: fixed;
  bottom: 0px;
  left: 0px;
}
.main-footer .footer-container {
  margin: 0 10px;
}
.main-footer .footer-menu {
  list-style: none;
  display: flex;
  justify-content: left;
}
.main-footer .footer-menu a {
  text-decoration: none;
  color: azure;
  transition: color 0.3s ease;
  text-transform: uppercase;
}
.main-footer .footer-menu a:hover {
  font-weight: 900;
}

.main-footer.footer-visible {
  visibility: visible; /* Le rendre visible */
  opacity: 1; /* Pleine opacité */
}

/* Footer caché par défaut avec la classe portfolio-active */
.main-footer.portfolio-active {
  visibility: hidden; /* Caché initialement */
  opacity: 0; /* Invisible */
  transition: opacity 0.3s ease, visibility 0.3s 0s; /* Transition douce */
  padding-top: 5px;
  color: azure;
  position: fixed;
  bottom: 10px;
  left: 0px;
  z-index: 3;
}
.main-footer.portfolio-active .footer-container {
  margin: 0 10px; /* Centrage horizontal */
}
.main-footer.portfolio-active .footer-menu {
  list-style: none;
  display: flex;
  justify-content: left;
}
.main-footer.portfolio-active .footer-menu a {
  text-decoration: none;
  color: azure;
  transition: color 0.3s ease;
  text-transform: uppercase;
  border-radius: 10px;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 8px 20px;
  margin-left: 15px;
}
.main-footer.portfolio-active .footer-menu a:hover {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
  animation: glass 2s infinite;
}

/* Classe activant l'affichage avec animation */
.portfolio-active.footer-visible {
  visibility: visible; /* Le rendre visible */
  opacity: 1; /* Pleine opacité */
}

.main-footer.competences-active {
  visibility: visible; /* Caché initialement */
  opacity: 1;
  display: flex;
  flex-direction: column !important;
  align-items: center;
  margin: 5px 0;
  z-index: 3;
}

@media (max-width: 928px) {
  .main-footer.portfolio-active .footer-menu {
    display: flex;
    flex-direction: column !important;
    align-items: center;
    margin: 5px 0;
  }
  .main-footer.portfolio-active .footer-menu a {
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.1);
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
  }
}
.about-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  width: 100vw;
  background-color: #000000;
}
.about-page .about-content {
  max-width: 800px;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  font-family: Arial, sans-serif;
  color: #ffffff;
}
.about-page .about-content h1 {
  text-align: center;
  margin-bottom: 50px;
  margin-top: 100px;
}
.about-page .about-content h2 {
  font-size: 2em;
  margin-bottom: 10px;
  margin-top: 50px;
  text-transform: uppercase;
}
.about-page .about-content p, .about-page .about-content ul {
  line-height: 1.6;
  margin-bottom: 20px;
}
.about-page .about-content ul {
  padding-left: 20px;
}
.about-page .about-content ul li {
  margin-bottom: 10px;
}

.modal-overlay {
  visibility: hidden;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 4;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.modal-overlay.open {
  visibility: visible;
  opacity: 1;
}
.modal-overlay .modal-content {
  max-width: 600px;
  width: 100%;
  position: relative;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 20px;
  color: #000;
}
.modal-overlay .modal-content:hover {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 3px 10px rgba(255, 255, 255, 0.3);
}
.modal-overlay .modal-content .modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 30px;
  cursor: pointer;
}
.modal-overlay .modal-content .modal-title {
  line-height: 100px;
  height: 100px;
  color: white;
  text-align: center;
}

.modal-close {
  color: white;
}

#wpcf7-f45-o1 {
  max-width: 360px;
  margin: 20px auto 0;
  padding: 30px;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(241, 241, 241, 0.5);
}
#wpcf7-f45-o1 label {
  font-size: 16px;
  font-family: "Poppins", sans-serif;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 10px;
  display: block;
  text-align: left;
}
#wpcf7-f45-o1 input[type=text],
#wpcf7-f45-o1 input[type=email],
#wpcf7-f45-o1 textarea {
  width: 100%;
  padding: 10px 0;
  font-size: 16px;
  background: rgba(0, 0, 0, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  margin-bottom: 10px;
  margin-top: 5px;
}
#wpcf7-f45-o1 input[type=text]:focus,
#wpcf7-f45-o1 input[type=email]:focus,
#wpcf7-f45-o1 textarea:focus {
  border-color: rgba(255, 255, 255, 0.8);
  outline: none;
}
#wpcf7-f45-o1 .wpcf7-submit {
  background-color: rgba(0, 0, 0, 0.1);
  color: #ffffff;
  padding: 10px 20px;
  height: 50px;
  width: 360px;
  font-size: 14px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}
#wpcf7-f45-o1 .wpcf7-submit:hover {
  background-color: #000000;
  color: white;
}
#wpcf7-f45-o1 .wpcf7-response-output {
  color: red;
  font-size: 12px;
  margin-top: 10px;
}

.wpcf7-submit {
  background-color: rgba(0, 0, 0, 0.1);
  color: #000000;
  padding: 10px 20px;
  height: 50px;
  width: 360px;
  font-size: 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease; /* Transition ajoutée */
}
.wpcf7-submit:hover {
  background-color: #000000;
  color: white;
}
.wpcf7-submit .wpcf7-response-output {
  color: red;
  font-size: 12px;
  margin-top: 10px;
}

@media (max-width: 1440px) {
  .modal-content {
    max-width: 600px !important;
  }
  .modal-content .modal-title {
    background-size: cover;
    background-position: center;
    width: 100%;
    color: transparent;
    text-align: center;
  }
}
@media (max-width: 700px) {
  .modal-content {
    max-width: 300px !important;
  }
  #wpcf7-f45-o1 {
    max-width: 290px !important;
    min-height: 400px;
    padding: 20px;
  }
  .wpcf7-submit {
    width: 260px !important;
  }
  input[type=text],
  input[type=email],
  textarea {
    width: 100%;
    padding: 10px 0;
    font-size: 12px;
  }
  .modal-content .modal-title {
    background-size: cover;
    background-position: center;
    font-size: 40px;
    width: 100%;
    color: transparent;
    text-align: center;
  }
}
.section-single {
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  background: radial-gradient(circle, #41aeff 10%, #051025 90%);
}

.photo {
  background: rgba(255, 255, 255, 0.1);
  margin-left: 250px;
}

.photo-contenair {
  margin-top: 45px;
}

.photo-content-wrapper {
  width: 100%;
}

.photo-title {
  font-size: 2rem;
  margin-bottom: 10px;
  color: white;
  text-align: center;
}

.portfolio-container {
  text-align: center;
}

.portfolio-link a {
  font-size: 1rem;
  color: white;
  text-decoration: none;
}

.portfolio-section {
  display: flex;
  align-items: center;
  flex-direction: column;
  margin: 10px auto;
  padding: 0 170px;
}

.portfolio-text {
  flex: 1;
  padding: 5px;
  font-size: 1rem;
  text-align: left;
  color: white;
}
.portfolio-text h3 {
  margin-bottom: 5px;
}

.portfolio-image {
  position: relative;
  margin-top: 15px;
}

.portfolio-main {
  width: 100%;
  text-align: center;
}

.portfolio-info {
  color: white;
}

.photo-info {
  text-transform: uppercase;
  color: white;
}

.photo-interactions-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.photo-interactions {
  display: flex;
  justify-content: center;
  gap: 30px;
  border-bottom: 1px solid #000;
}

.photo-navigation {
  display: flex;
  flex-direction: column;
  align-items: end;
  width: 50%;
}

.thumbnail-container {
  position: relative;
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

.next-thumbnail {
  max-width: 100px;
  max-height: 100px;
  transition: transform 0.3s;
}

.arrows-navigation {
  display: flex;
  gap: 40px;
}

.nav-link {
  font-size: 24px;
  color: #000;
  text-decoration: none;
  transition: color 0.3s;
  color: white;
}
.nav-link:hover {
  color: #555;
}

.related-photos-wrapper {
  padding: 0;
  margin-bottom: 80px;
}

.related-grid {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  max-height: 495px;
  width: 100%;
  gap: 30px;
}

.related-item {
  position: relative;
  width: 50%;
}
.related-item img.photo-full {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.related-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s;
}
.related-overlay .eye {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.related-overlay .fullscreen {
  position: absolute;
  top: 10px;
  right: -20px;
}
.related-overlay .fullscreen img {
  width: 50%;
}
.related-overlay .text-bottom {
  position: absolute;
  bottom: 10px;
  padding: 0 10px;
  color: white;
  width: 100%;
  display: flex;
  justify-content: space-between;
}

@media (max-width: 768px) {
  .photo {
    margin: 0;
  }
  .photo-content-wrapper {
    margin-bottom: 20px;
  }
  .photo-main {
    flex-direction: column-reverse;
    align-items: center;
    gap: 20px;
  }
  .photo-info {
    width: 100%;
  }
  .photo-display {
    justify-content: center;
    margin-top: 20px;
    width: 100%;
  }
  .photo-display img.photo-full {
    max-height: 397px;
  }
  .photo-interactions {
    flex-direction: column;
    align-items: center;
  }
}
@media (max-width: 375px) {
  .photo {
    margin: 0;
  }
  .photo-content-wrapper {
    margin-bottom: 20px;
  }
  .photo-main {
    flex-direction: column-reverse;
    align-items: center;
    gap: 20px;
  }
}
.section-portfolio {
  width: 100vw;
  height: 100vh;
  position: absolute;
}
.section-portfolio .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.section-portfolio .filters {
  position: absolute;
  left: 20px;
  bottom: 80px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  padding: 15px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 2;
  text-transform: uppercase;
}
.section-portfolio .filters:hover {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
}
.section-portfolio .filters .filter-group, .section-portfolio .filters .filter-sort {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.section-portfolio .filters select {
  width: 180px;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  background: rgba(0, 0, 0, 0.8);
  color: rgb(208, 255, 0);
  cursor: pointer;
  box-shadow: inset 0 0 10px rgba(0, 255, 255, 0.5);
  transition: all 0.3s ease-in-out;
}
.section-portfolio .filters:focus {
  border-color: #215aff;
}
.section-portfolio .filters.active {
  border-color: #215aff;
}
.section-portfolio .filters option {
  background-color: #22334a;
  border: none;
  padding: 10px;
}
.section-portfolio .filters option:hover {
  background-color: #FFD6D6 !important;
}
.section-portfolio .filters option:active {
  background-color: #FE5858 !important;
}
.section-portfolio .filters option:checked {
  background-color: #E00000 !important;
  color: white;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  -moz-column-gap: 5px;
       column-gap: 5px;
  margin-left: 250px;
}
.photo-grid .photo-item {
  width: 100%; /* Divise l'espace en 3 colonnes avec un petit espace entre elles */
  height: -moz-max-content;
  height: max-content;
  overflow: hidden;
  position: relative;
  /* Espacement vertical entre les éléments */
}
.photo-grid .photo-item a {
  display: block;
}
.photo-grid .photo-item .photo-full {
  -o-object-fit: cover;
     object-fit: cover; /* Permet à l'image de remplir le conteneur sans déformer l'image */
  width: 100%;
  height: 100%;
}
.photo-grid .photo-item .photo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-direction: column;
  text-align: center;
}
.photo-grid .photo-item .photo-overlay .eye {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.photo-grid .photo-item .photo-overlay .fullscreen {
  position: absolute;
  top: 10px;
  right: -10px;
}
.photo-grid .photo-item .photo-overlay .fullscreen img {
  width: 50%;
}
.photo-grid .photo-item .photo-overlay .text-filtre {
  display: flex;
  justify-content: space-between;
  width: 90%;
  color: white;
}
.photo-grid .photo-item .photo-overlay .text-filtre .text-filtre-flex {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 10px;
}
.photo-grid .photo-item .photo-overlay:hover {
  opacity: 1;
  transition: opacity 0.3s ease;
}

.select2-container {
  font-family: "Poppins", sans-serif;
}
.select2-container--default .select2-selection--single {
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  padding: 0 10px;
  position: relative;
}
.select2-container--default .select2-selection--single:hover {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 40px;
}
.select2-container--default .select2-selection--single:focus {
  border-color: #feb058;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 26px;
  position: absolute;
  top: 6px;
  right: 20px;
  width: 20px;
  font-family: "Arial", sans-serif;
  font-size: 16px;
  color: azure;
}
.select2-container--default .select2-selection--single .select2-selection__arrow::before {
  font-size: 16px;
  color: azure;
  display: inline-block;
  margin-left: -4px;
  margin-top: -2px;
}
.select2-container--open .select2-selection__arrow::before {
  font-size: 16px;
  color: azure;
  display: inline-block;
}
.select2-container .select2-results__options {
  list-style: none;
  margin: 0;
  padding: 0;
  border: none;
}
.select2-container .select2-results__options .select2-results__option {
  background-color: transparent !important;
  color: #000000 !important;
}
.select2-container .select2-results__options .select2-results__option:hover {
  background-color: #7df2ff !important;
}
.select2-container .select2-results__options .select2-results__option:active {
  background-color: #feb058 !important;
}
.select2-container .select2-results__options .select2-results__option[aria-selected=true]:not(:hover) {
  background-color: #e0dc00 !important;
  color: #ffffff !important;
}
.select2-container .select2-results__option--selected[aria-selected=false] {
  background-color: #feb058 !important;
  color: #ffffff !important;
}
.select2-container .select2-results__option--selected[aria-selected=false]:focus-visible {
  background-color: #feb058 !important;
  color: #ffffff !important;
}
.select2-container .select2-search input {
  display: none;
}

.select2-search--dropdown {
  display: block;
  padding: 0px;
}

/*.select2-container .select2-results__options .select2-results__option--highlighted[aria-selected=true]:not(:hover) {
  background-color: #e00000 !important;
  color: #ffffff !important;

}*/
.select2-container .select2-results__options .select2-results__option--highlighted[aria-selected=true]:not(:hover) {
  background-color: transparent !important;
  color: #000000 !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #ffffff;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
  border-color: transparent;
  border-style: solid;
  border-width: 0;
  height: 0;
  left: 50%;
  margin-left: -4px;
  margin-top: -10px;
  position: absolute;
  top: 50%;
  width: 0;
  font-size: 16px; /* Taille de la flèche */
  font-weight: 100;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: transparent;
  border-style: solid;
  border-width: 0;
  height: 0;
  left: 50%;
  margin-left: -4px;
  margin-top: -10px;
  position: absolute;
  top: 50%;
  width: 0;
  font-size: 16px; /* Taille de la flèche */
  font-weight: 100;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: azure;
}

/* Masquer le bouton de suppression dans Select2 */
.select2-selection__clear {
  display: none !important;
}

@media (max-width: 1440px) {
  .photo-grid {
    margin-left: 250px;
  }
}
@media (max-width: 1024px) {
  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 928px) {
  .section-portfolio .filters {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: center; /* Centre horizontalement */
    align-items: center; /* Centre verticalement si besoin */
    width: -moz-fit-content;
    width: fit-content; /* S'étend à toute la largeur possible */
    max-width: 700px; /* Largeur maximale de 700px */
    margin: 0 auto; /* Centre horizontalement */
    padding: 15px; /* Espacement interne pour aérer */
    top: 15px; /* Positionner en haut */
    left: 10px;
    margin-bottom: 30px;
    z-index: 1;
  }
  .section-portfolio .filters .filter-group, .section-portfolio .filters .filter-sort {
    display: flex;
    flex-direction: row;
    gap: 10px;
  }
  .photo-grid {
    margin: 0 20px;
  }
}
@media (max-width: 700px) {
  .section-portfolio .filters {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centre horizontalement */
    align-items: center; /* Centre verticalement si besoin */
    width: -moz-fit-content;
    width: fit-content; /* S'étend à toute la largeur possible */
    max-width: 600px; /* Largeur maximale de 700px */
    margin: 0 auto; /* Centre horizontalement */
    padding: 15px; /* Espacement interne pour aérer */
    top: 15px; /* Positionner en haut */
    margin-bottom: 30px;
  }
  .section-portfolio .filters .filter-group, .section-portfolio .filters .filter-sort {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .section-portfolio .photo-grid {
    grid-template-columns: 1fr;
    margin: 0 15px;
  }
}
.lightbox-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 4;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  /* Effet glassmorphism */
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}
.lightbox-overlay .lightbox-main {
  display: flex;
  max-width: 50%;
  top: 20%;
  left: 23%;
  margin: auto;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  box-shadow: 0 1px 8px rgba(255, 255, 255, 0.5);
  padding: 50px 100px;
  z-index: 4;
}
.lightbox-overlay .lightbox-main:hover {
  background: rgba(255, 255, 255, 0.3);
  box-shadow: 0 3px 10px rgba(240, 240, 240, 0.3);
}
.lightbox-overlay .lightbox-main .lightbox-photo-containt {
  display: flex;
  justify-content: center;
}
.lightbox-overlay .lightbox-main .lightbox-photo-containt .lightbox-flex {
  position: relative;
  display: flex;
  flex-direction: column;
}
.lightbox-overlay .lightbox-main .lightbox-photo-containt .lightbox-flex .lightbox-title {
  color: white;
  text-align: center;
  text-transform: uppercase;
  font-size: 42px;
  margin-bottom: 40px;
}
.lightbox-overlay .lightbox-main .lightbox-photo-containt .lightbox-flex .lightbox-close {
  position: absolute;
  top: -35px;
  right: -55px;
  font-size: 20px;
  color: white;
  cursor: pointer;
  transition: all 0.3s;
}
.lightbox-overlay .lightbox-main .lightbox-photo-containt .lightbox-flex .lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
  box-shadow: 0 3px 10px rgba(240, 240, 240, 0.3);
}
.lightbox-overlay .lightbox-main .lightbox-photo-containt .lightbox-flex .lightbox-text,
.lightbox-overlay .lightbox-main .lightbox-photo-containt .lightbox-flex .lightbox-text-layout,
.lightbox-overlay .lightbox-main .lightbox-photo-containt .lightbox-flex .lightbox-details {
  color: white;
  padding: 10px;
  font-size: 16px;
  text-align: left;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  margin-bottom: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 1px 8px rgba(255, 255, 255, 0.3);
}
.lightbox-overlay .lightbox-main .lightbox-photo-containt .lightbox-flex .lightbox-text p,
.lightbox-overlay .lightbox-main .lightbox-photo-containt .lightbox-flex .lightbox-text-layout p,
.lightbox-overlay .lightbox-main .lightbox-photo-containt .lightbox-flex .lightbox-details p {
  font-size: 16px;
}
.lightbox-overlay .lightbox-main .lightbox-photo-containt .lightbox-flex .lightbox-text p strong,
.lightbox-overlay .lightbox-main .lightbox-photo-containt .lightbox-flex .lightbox-text-layout p strong,
.lightbox-overlay .lightbox-main .lightbox-photo-containt .lightbox-flex .lightbox-details p strong {
  font-weight: bold;
  font-size: 20px;
}
.lightbox-overlay .lightbox-main .lightbox-photo-containt .lightbox-flex .lightbox-text p a,
.lightbox-overlay .lightbox-main .lightbox-photo-containt .lightbox-flex .lightbox-text-layout p a,
.lightbox-overlay .lightbox-main .lightbox-photo-containt .lightbox-flex .lightbox-details p a {
  color: white;
  text-decoration: none;
}
.lightbox-overlay .lightbox-main .lightbox-photo-containt .lightbox-flex .lightbox-text p a:hover,
.lightbox-overlay .lightbox-main .lightbox-photo-containt .lightbox-flex .lightbox-text-layout p a:hover,
.lightbox-overlay .lightbox-main .lightbox-photo-containt .lightbox-flex .lightbox-details p a:hover {
  transform: scale(1.1);
}
.lightbox-overlay .lightbox-main .lightbox-footer {
  text-align: center;
  margin: 30px 0;
}
.lightbox-overlay .lightbox-main .lightbox-footer .btn-en-savoir-plus {
  padding: 12px 24px;
  font-size: 20px;
  color: white;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 1px 8px rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  transition: all 0.3s;
  text-decoration: none;
}
.lightbox-overlay .lightbox-main .lightbox-footer .btn-en-savoir-plus:hover {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
  animation: glass 2s infinite;
  transform: scale(1.1);
}
.lightbox-overlay .lightbox-main .lightbox-nav {
  position: absolute;
  bottom: 20px;
  width: 100%;
  display: flex;
  justify-content: space-evenly;
}
.lightbox-overlay .lightbox-main .lightbox-nav .lightbox-prev,
.lightbox-overlay .lightbox-main .lightbox-nav .lightbox-next {
  color: white;
  font-size: 20px;
  cursor: pointer;
  transition: color 0.3s;
}
.lightbox-overlay .lightbox-main .lightbox-nav .lightbox-prev:hover,
.lightbox-overlay .lightbox-main .lightbox-nav .lightbox-next:hover {
  transform: scale(1.1);
}

/* Media queries pour mobile */
@media (max-width: 1440px) {
  .lightbox-overlay .lightbox-main {
    top: 12%;
  }
  .lightbox-overlay .lightbox-main .lightbox-photo-containt .lightbox-flex .lightbox-close {
    font-size: 18px;
    top: -20px;
    right: -50px;
  }
}
/* Media queries pour mobile */
@media (max-width: 1440px) {
  .lightbox-overlay .lightbox-main {
    top: 7%;
    left: 16%;
  }
}
/* Media queries pour mobile */
@media (max-width: 928px) {
  .lightbox-overlay .lightbox-main {
    top: 10%;
    left: 6%;
    max-width: 80%;
    padding: 30px 30px;
  }
  .lightbox-overlay .lightbox-main .lightbox-photo-containt .lightbox-flex .lightbox-title {
    font-size: 30px;
  }
  .lightbox-overlay .lightbox-main .lightbox-photo-containt .lightbox-flex .lightbox-close {
    font-size: 18px;
    top: -20px;
    right: -10px;
  }
  .lightbox-overlay .lightbox-main .lightbox-photo-containt .lightbox-flex .lightbox-text {
    display: none;
  }
  .lightbox-overlay .lightbox-main .lightbox-photo-containt .lightbox-flex .lightbox-text-layout {
    display: none;
  }
  .lightbox-overlay .lightbox-main .lightbox-photo-containt .lightbox-flex .lightbox-footer {
    margin: 50px 0;
  }
  .lightbox-overlay .lightbox-main .lightbox-photo-containt .lightbox-flex .btn-en-savoir-plus {
    font-size: 14px;
    padding: 10px 20px;
  }
}
.section-parcours {
  width: 100vw;
  height: 99vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  background: radial-gradient(circle, #41aeff 10%, #051025 90%);
}

.parcours {
  position: absolute;
  top: 10%;
  left: 250px;
  color: azure;
}

.parcours1, .parcours2, .parcours3 {
  text-align: center;
  position: relative;
  color: azure;
}
.parcours1 h3, .parcours2 h3, .parcours3 h3 {
  font-size: 24px;
}
.parcours1 p, .parcours2 p, .parcours3 p {
  font-size: 16px;
}

.parcours1 {
  left: -220px;
  top: -50px;
}

.parcours2 {
  left: 5px;
  top: 120px;
}

.parcours3 {
  left: -30px;
  top: -180px;
}

.content {
  position: relative;
  bottom: 20px;
  text-align: center;
}

.timeline {
  width: 100vw;
  height: 50vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
}

.event {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: -2px;
}
.event .half-circle {
  width: 150px;
  height: 82px;
}
.event.top .half-circle {
  /* Créer un demi-cercle par le haut : */
  border-top-left-radius: 150px;
  border-top-right-radius: 150px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  margin-top: -127px;
  border-top: 5px solid #77c1f7;
  border-left: 5px solid #77c1f7;
  border-right: 5px solid #77c1f7;
}
.event.bottom .half-circle {
  /* Créer un demi-cercle par le bas : */
  border-bottom-left-radius: 150px;
  border-bottom-right-radius: 150px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom: 5px solid #77c1f7;
  border-left: 5px solid #77c1f7;
  border-right: 5px solid #77c1f7;
}

.timeline2 {
  width: 100vw;
  height: 50vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
}

.event {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: -2pxpx;
}
.event .half-circle {
  width: 150px;
  height: 82px;
}
.event.top2 .half-circle {
  /* Créer un demi-cercle par le haut : */
  border-top-left-radius: 150px;
  border-top-right-radius: 150px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  margin-top: -127px;
  border-top: 5px solid #001b69;
  border-left: 5px solid #001b69;
  border-right: 5px solid #001b69;
}
.event.bottom2 .half-circle {
  /* Créer un demi-cercle par le bas : */
  border-bottom-left-radius: 150px;
  border-bottom-right-radius: 150px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom: 5px solid #001b69;
  border-left: 5px solid #001b69;
  border-right: 5px solid #001b69;
}

.btn-glass {
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 1.2rem;
  font-weight: bold;
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  z-index: 2;
  transform: translate(-255px, 250px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
  animation: glass 2s infinite;
}

@keyframes glass {
  0%, 100% {
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
  }
  50% {
    box-shadow: 0 0 20px rgb(255, 255, 255);
  }
}
@media (max-width: 1440px) {
  .btn-glass {
    transform: translate(60px, 150px);
  }
}
@media (max-width: 1024px) {
  .btn-glass {
    transform: translate(0px, 160px);
  }
}
@media (max-width: 440px) {
  .btn-glass {
    transform: translate(0px, 0px);
  }
}
/* Pour centrer la bannière au milieu de l'écran */
.skills-banner {
  position: absolute; /* Cela fixe la bannière sur l'écran */
  top: 50px;

  width: 100%;
  height: 640px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: #000;
  overflow: hidden;
}

.banner-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 350px;
  margin: 20px 0; /* Marges sur les côtés */
  border-radius: 15px; /* Coins arrondis de l'image */
  overflow: hidden; /* Cache l'excédent de l'image qui dépasse des coins arrondis */
}

.banner-image img {
  width: 80%;
  height: 80%;
  border-radius: 15px;
  -o-object-fit: cover;
     object-fit: cover; /* Remplir le conteneur tout en conservant les proportions */
  -o-object-position: center 9%;
     object-position: center 9%; /* Positionner l'image verticalement (vous pouvez changer ce pourcentage) */
}

/* Pour le contenu de la bannière */
.banner-content {
  position: absolute;
  z-index: 1; /* Assure que le contenu soit au-dessus de l'image */
  padding: 40px 80px;
  color: #fff;
  border-radius: 10px;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
  width: 80%; /* Contrôle la largeur du contenu */
  max-width: 600px; /* Largeur maximale pour le contenu */
  margin-top: -220px; /* Dépassement par rapport à l'image */
  text-align: center;
}
.banner-content:hover {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
  animation: glass 3s infinite;
}
.banner-content h2 {
  font-size: 3em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

p {
  font-size: 1.2em;
  margin-bottom: 20px;
}

.button-group {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.skills-button {
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
  color: #fff;
  cursor: pointer;
  font-size: 1em;
  transition: background-color 0.3s ease;
}

.skills-button:hover {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  animation: glass 2s infinite;
}

/* Apparence du bouton actif */
.skills-button.active {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
  animation: glass 2s infinite;
}

.skill-list {
  display: flex;
  margin-top: 340px;
}

/* Style général de la carte */
.card {
  width: 1000px;
}

#card-title {
  font-size: 1.2em;
  color: #ffffff;
  line-height: normal;
  margin-top: -140px;
}

.hidden {
  display: none;
}

/* Conteneur pour la liste des compétences */
#skills-list {
  display: flex;
  gap: 10px; /* Espacement entre les cartes */
}

/* Style de chaque carte */
.skill-card {
  padding: 15px;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  transition: box-shadow 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
}

.skill-card:hover {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 3px 10px rgba(255, 255, 255, 0.3);
}

/* Titre des compétences */
.skill-card h3 {
  font-size: 20px;
  font-weight: bold;
  color: #ffffff;
  height: 50px;
}

/* Description des compétences */
.skill-card p {
  font-size: 16px;
  color: #ffffff;
}

/* Lightbox style */
.lightbox-comp {
  display: none; /* Par défaut, masqué */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
}

.lightbox-content {
  background: white;
  padding: 20px;
  border-radius: 8px;
  max-width: 500px;
  text-align: center;
}

.close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 2rem;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .banner-content {
    padding: 30px 40px;
  }
  .card {
    width: 800px;
  }
}
@media (max-width: 928px) {
     .skills-banner {
        height: 1300px;
        align-items: baseline;
    }
     .banner-image {
        height: 490px;
    }
    
  .button-group {
    display: flex;
    justify-content: center;
    flex-direction: column;
  }
  .button-group .skills-button {
    margin: 0 100px;
  }
  .banner-content {
    top: 340px;
    width: 70%;
  }
  .banner-content h2 {
    font-size: 1.7em;
  }
  .banner-content p {
    font-size: 0.9em;
  }
  #card-title {
    font-size: 1em;
    margin-top: 460px;
    padding: 0 20px;
  }
 
 #skills-list {
     margin-top: 480px;
 }
 
 
  .skill-list {
    width: 600px;
    margin-top: 0;
  }
  
  .skill-list .card ul {
    display: flex;
    flex-direction: column;
  }
}
@media (max-width: 700px) {
     .skills-banner {
        height: 1300px;
        align-items: baseline;
    }
     .banner-image {
        height: 490px;
    }
    
  .button-group {
    display: flex;
    justify-content: center;
    flex-direction: column;
  }
  .button-group .skills-button {
    margin: 0 100px;
  }
  .banner-content {
    top: 340px;
    width: 70%;
  }
  .banner-content h2 {
    font-size: 1.7em;
  }
  .banner-content p {
    font-size: 0.9em;
  }
 
 
 #skills-list {
     margin-top: 470px;
 }
 
 
  .skill-list {
    width: 420px;
    margin-top: 0;
  }
  
  .skill-list .card ul {
    display: flex;
    flex-direction: column;
  }
}
@media (max-width: 550px) {
  .banner-content {
    width: 80%;
  }
}
@media (max-width: 440px) {
 
    
  .button-group {
    display: flex;
    justify-content: center;
    flex-direction: column;
  }
  .button-group .skills-button {
    margin: 0 50px;
  }
  #card-title {
    font-size: 0.9em;
    margin-top: 470px;
    padding: 0 20px;
  }
  .skill-list {
    width: 350px;
  }
}/*# sourceMappingURL=main.css.map */