
/**************** CODE GLOBAL ****************/
* {
  margin: 0;
  padding: 0;
  text-decoration: none;
  box-sizing: border-box;
  list-style: none;
}

body {
  min-height: 100vh;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}

nav ul {
  display: flex;
  justify-content: space-evenly;
  width: 100%;
}

#icons {
  cursor: pointer;
  display: none;
}

@media (max-width: 1156px) {
  #icons {
    display: block;
    top: 16px;
    right: 16px;
    z-index: 999;
    background-color: #0a121a;
    border-radius: 15px;
    box-sizing: border-box;
    width: 50px;
    height: 54px;
  }
  #icons:before {
    content: url(img/icons8-menu.png);
  }
  .active #icons:before{
    content: url(img/icons8-multiplier-50.png);
  }

  nav ul {
    position:fixed;
    left: -100%;
    top: 5%;
    flex-direction: column;
    width: 100%;
    align-items: center;
    transition: 0.25s;
  }

  nav li {
    padding: 3px 0;
  }
  
  nav.active ul {
    left: 0 ;
    height: 100vh;
    z-index: 999;
    background-color: #0a121a;
  }

  .slider-content h1 {
    font-size: 2rem;
  }

  .section {
    flex-direction: column;
    align-items: center;
    padding: 20px !important;
  }

  .skills {
    padding: 20px !important;
  }

  .logos-slide {
    height: 150px;
  }

  .footer-content h3 {
    font-size: 1.2em;
  }

  .filter {
    flex-direction: column;
  }

  .implantation {
    flex-direction: column;
    gap: 30px;
    width: 100%;
  }
  .implantation .text {
    width: 100%;
    align-items: center;
    justify-content: center;
  }
  .implantation .image {
    width: 100%;
  }
  .card-container {
    flex-direction: column;
  }
}


nav li {
  height: 50px;
  font-size: 1.2rem;
  margin: 15px;
  text-transform: uppercase;
  font-weight: 600;
}


nav a {
  height: 100%;
  padding: 0 30px;
  text-decoration: none;
  display: flex;
  align-items: center;
  color: white;
  border-radius: 15px;

}

nav a:hover {
  transition: 0.5s;
  background: var(--clr);
  color: white;
  box-shadow: 0 0 35px var(--clr);
}

.accueil  {
  height: 100vh;
}

.video-background {
  position: absolute;
  object-fit: cover;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
  /* Place la vidéo en arrière-plan */
  filter: brightness(0.15);
}

footer {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Cela pousse le contenu en bas */
  height: 250px;
  background-color: #0a121a;
}

.footer-content {
  padding-top: 100px;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

footer h3 {
  font-size: 2rem;
}

footer a{
  height: 50px;
  padding: 0 30px;
  text-decoration: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  color: white;
  border-radius: 15px;
}

footer p {
  color: white;
  margin-bottom: 10px;
  text-align: center;
}

footer a:hover {
  transition: 0.5s;
  background: var(--clr);
  color: white;
  box-shadow: 0 0 35px var(--clr);
}

.slider {
  width: 100%;
  height: 100vh;
}

.slider-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  width: 100%;
}

.slider video {
  object-fit: cover;
}

h1 {
  font-size: 4rem;
}

.slider-content p {
  font-size: 2rem;
}

.section {
  color: white;
  padding: 70px 200px;
  display: block;
  justify-content: space-between;
}


.section-title {
  text-align: center;
  font-size: 1.5rem;
  text-transform: uppercase;
}


.section-text p {
  font-size: 1.2rem;
  text-align: justify;
}

.dark {
  background-color: #0a121a;
  color: white;
}

.light {
  color: black;
  background-color: white;
}

.w30 {
  width: 30%;
}

.w65 {
  width: 65%;
}

.w100 {
  width: 100%;
}
/**************** FIN CODE GLOBAL ****************/

/**************** DEBUT CODE GALERIE FILTRE ****************/

.container {
  position: relative;
  max-width: 100%;
  width: 100%;
  margin: 50px auto;
}

.container .filter {
  display:flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.container button {
  padding: 10px 20px;
  font-size: 18px;
  background: #fff;
  border: none;
  box-shadow: 0 5px 5px rgba(0,0,0,.2);
  border-radius: 7px;
  cursor: pointer;
}

.container button.active {
  background: #0a121a;
  color: #f1f1f1;
}

.cards {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 25px;
  gap: 20px;
  flex-wrap: wrap;
  box-sizing: border-box;
}

.card:hover {
  transform: scale(1.05); /* Agrandit l'élément de 5% lors du survol */
}

.card {
  flex-basis: 426px;
  background:#0a121a;
  padding: 3px;
  border-radius: 8px;
  transition: transform 0.3s ease; /* Ajoute une transition douce pour l'effet de transformation */
}

.card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.card-content {
  padding: 20px;
  color: white;
}

.card-content h6 {
  font-size: 20px;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.card-content p {
  font-size: 18px;
}


.filtre {
  display: none;
}



/**************** FIN CODE GALERIE FILTRE ****************/


/**************** DEBUT CODE ENTREPRISE ****************/



.implantation {
  display: flex;
  justify-content: space-between; 
  align-items: flex-start; 
  padding: 20px;

  }

.text {

  width: 30%;
}

.image {
  
  width: 70%;
}

.image img {
  width: 100%;
  height: auto;
}

.card-container {
display: flex;
justify-content: center;
gap: 20px; /* Espace entre les cartes */
background: #fff;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.card-entreprise {
flex: 1; /* Les cartes prennent la même taille */
padding: 20px;
background: #ffffff;
border: 1px solid #dddddd;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
min-width: 250px; /* Largeur minimum pour chaque carte */
box-sizing: border-box; /* Inclut padding et border dans la largeur */

}

.card-entreprise:hover {
background-color: #0a121a;
color: white;

}

.card-entreprise h2 {
margin-top: 0;

}

.card-entreprise h2, .card-entreprise p {
transition: color 0.3s; /* Transition douce pour la couleur du texte */
}

.card-entreprise:hover h2, .card-entreprise:hover p {
color: #ffffff; /* Assure que tout le texte à l'intérieur change de couleur */
}

/**************** FIN CODE ENTREPRISE ****************/

/**************** DEBUT CODE PP ****************/


.pp-cards {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 25px;
  gap: 20px;
  flex-wrap: wrap;
}



.pp-card {
  flex-basis: 426px;
  height: 500px;
  background:#0a121a;
  padding: 3px;
  border-radius: 8px;
}

.pp-card img {
  width: 426px;
  height: 240px;
  object-fit: cover;
}

.pp-card-content {
  padding: 20px;
  color: white;
}

.pp-card-content h6 {
  font-size: 20px;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.pp-card-content p {
  font-size: 15px;
}


.filtre {
  display: none;
}

/**************** DEBUT CODE PP ****************/

