/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Sticky Footer */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: black;
    z-index: 10;
}



/* Typography */
body {
  font-weight: bold;
    color: #fff;
    font-family: "Raleway", Georgia, serif;
    text-align: center;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.3);
}

a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.logo-container {
    position: fixed;
    top: 30px;
    left: 10px;
    z-index: 9999;
}

/* Header */
.language-toggle {
    position: fixed;
    top: 30px;
    right: 10px;
    background-color: #f1f1f1;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-weight: bold;
    z-index: 100;
}

.language-toggle:hover {
    background-color: #ff9900;
    color: #fff;
}

.logo {
  width: 180px;
  height: auto;
  z-index: 9999;
}


.social-link {
    transition: background-color 0.3s, color 0.3s;
}

.social-link:hover {
    background-color: #fff;
    color: #000;
}



.contact-link {
    font-style: italic;
}

.same-size {
    font-size: 1.5rem;
}
.wait {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: 250px;
  transform: translate(-50%, -50%);
  z-index: 15;
  font-size: 3rem;
  color: #f9f8f8;
  animation: fadeOut 3s forwards;
}
@keyframes fadeOut {
  to {
    opacity: 0;
  }
}
/* Video Styles */ 



.video-container {
  position: relative;
  width: 100vw; /* Utilise la largeur de la fenêtre */
  height: auto; /* Hauteur automatique pour permettre le défilement */
  overflow: hidden;
}

.background-video2 {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    position: relative;  /* Modifié de absolute à relative */
    z-index: -1;
}
.background-video {
  width: 100%;
  height: auto;
  object-fit: cover;
  position: relative;  /* Modifié de absolute à relative */
  z-index: -1;
}
 .title {
    position: absolute;
    z-index: 3;
    color: white;
    left: 50%;
    transform: translateX(-50%);
}
.video-title, .video-title10,  .video-title3, .video-title4, .video-title5, .video-title6, .video-title7, .video-title8, .video-title9, .video-title0 {
  position: absolute;
  z-index: 1;
  color: white;
  left: 50%;
  width: 80%;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 15px;
  border-radius: 5px;
  bottom:50px; /* Distance from the bottom */
  transform: translateX(-50%) translateY(50%); /* Adjust position */
  box-sizing: border-box;
}
/* Forcer les contrôles à rester visibles uniquement pour myVideo2 */
/*#myVideo20::-webkit-media-controls {
  opacity: 1 !important;
  visibility: visible !important;
}*/


.video-title {
  bottom:50px; /* Distance from the bottom */
}

.video-title2 {
  bottom:50px; /* Distance from the bottom */
}

.video-title3 {
  bottom:100px; /* Distance from the bottom */
}

.video-title4, .video-title9, .video-title0 {
  bottom:220px; /* Distance from the bottom */
}

.video-title5 {
  bottom:240px; /* Distance from the bottom */
}
.video-title6 {
  bottom:270px; /* Distance from the bottom */
}
.video-title7 {
  bottom:100px; /* Distance from the bottom */
}
.video-title8 {
  bottom:100px; /* Distance from the bottom */
}

.title, .tittle11 {
    /*top: 30px;*/
    margin-top: 10px;
    font-size: 4rem;
}
.title1 {
  font-size: 2rem;
  font-weight: bolder;
  margin-bottom: 10px;
}
.title2 {
  font-size: 1.3rem;
  font-weight: bold;
}

.nav-arrows {
    position: fixed;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    z-index: 1;
}


.arrow {
    font-size: 40px;
    color: white;
    cursor: pointer;
}

.left {
    position: absolute;
    left: 30px;
}

.right {
    position: absolute;
    right: 30px;
}

/* Contact */

section#contact {
    margin-top: 20px;
  }
  .contact-info {
    font-size: 1.3rem;
  }
  
  .contact-field {
    max-width: 400px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  
  .envoyer {
    max-width: 100px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  
  form {
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
  }
  
  label,
  input,
  textarea {
    margin-bottom: 1rem;
  }
  
  .partners{
    margin-top: 30px;
    font-size: 1.3rem;
  }
  
  .logoincub{
    margin-top: 10px;
    margin-right: 40px;
    margin-left: 40px;
  }
  a {
    text-decoration: none;
  }
  .logopartenaires a {
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
  }
  
  .logopartenaires img {
    border: 3px solid transparent;
  }
  
  .logocic, .logosf, .logoincub {
  width: 80px; 
  height: auto;
  }
  
  .logopartenaires a:hover img {
    border-color: #ff9900;
  }
  .mail:hover {
    color: #ff9900;
    text-decoration: none;
  }
  
  .googlemap:hover {
    color: #ff9900;
    text-decoration: none;
  }
  
/* Effet de survol pour les boutons */
.envoyer.fr-text,
  .envoyer.en-text {
    background-color: white; 
    color: black; 
    border: none; 
    padding: 5px 10px; 
    width: 70px; 
    cursor: pointer; 
    transition: background-color 0.3s; 
    text-align: center; 
  }
  
.envoyer.fr-text:hover,
.envoyer.en-text:hover {
  background-color: #ff9900; 
}

/* Footer */
footer {
  background-color: #000;
  color: #fff;
  padding: 2rem 0;
  border-top: 5px solid white; 
}

.footer-links a:hover,
.social-links a:hover {
  color: #ff9900; /* Remplacez la valeur par la couleur dorée souhaitée */
  text-decoration: none; /* Supprimez la décoration de soulignement */
}

.footer-links {
  display: flex;
  justify-content: space-around;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.social-links a {
  margin-right: 20px;
  margin-left: 20px;
}

a {
  color: #fff;
  text-decoration: none;
} 

/* Ajout pour les grands écrans --philippe-- */
@media screen and (max-width: 1024px) {
  .video-title4, .video-title10, .video-title, .video-title3, .video-title5, .video-title6, .video-title7, .video-title8, .video-title9, .video-title0 {
    position: relative;
    z-index: 1;
    color: white;
    width: 80%;
    background-color: rgba(255, 255, 255, 0.108);
    padding: 15px;
    border-radius: 5px;
    transform: translateX(-50%) translateY(50%); /* Adjust position */
  }
  .video-title {
    bottom: 10px;
  }

  .video-title3 {
    bottom: 100px;
  }

  .video-title7  {
    bottom: 100px;
  }
  .video-title8 {
    bottom: 10px;
  }

  .video-title4 {
  bottom: 200px;
}
.video-title0 {
  bottom: 180px;
}
.video-title9 {
  bottom: 170px;
}
.video-title6 {
  bottom: 250px;
}
.video-title5 {
  bottom: 200px;
}

.title, .tittle11 {
  font-size: 3rem;
}

footer {
  background-color: #000;
  color: #fff;
  padding: 2rem 0;
  border-top: 5px solid white; 
}
  .video-container {
    position: relative;
    padding-bottom: 10%; /* Espace pour le texte en dessous de la vidéo */
    background-color: black; /* Fond noir sous la vidéo et le texte */
    z-index: -5;
    
  }
  .ecologo {
    width: 50%;
  }
  #about
  {
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media screen and (max-width: 768px) and (orientation: portrait) {
  .video-title4, .video-title10, .video-title, .video-title5, .video-title3, .video-title7, .video-title8, .video-title9, .video-title0 {
    position: relative;
    z-index: 1;
    color: white;
    width: 80%;
    background-color: rgba(255, 255, 255, 0.108);
    padding: 15px;
    border-radius: 5px;
    transform: translateX(-50%) translateY(50%); /* Adjust position */
  }

  .logo {
    width: 140px;
    height: auto;

  }
  .video-container {
    position: relative;
    padding-bottom: 10%; 
    background-color: black; 
    z-index: -5;
  }
  .background-video {
    height: auto; 
    object-fit: cover; 
    object-position: 33% center;
    margin-top: 100px;
  }
  footer {
    background-color: #000;
    color: #fff;
    padding: 2rem 0;
    border-top: 5px solid white; 
  }
  .video-title {
    bottom: 10px;
  }
 
  .video-title3 {
    bottom: 110px;
  }
  .video-title8 {
    bottom: 150px;
  }
  .video-title7 {
    bottom: 200px;
  }
  .video-title4 {
  bottom: 280px;
}
.video-title0 {
  bottom: 265px;
}
.video-title9 {
  bottom: 265px;
}
.video-title6 {
  bottom: 400px;
}
.video-title5 {
  bottom: 340px;
}

  .title, .tittle11 {
    font-size: 2rem;
  }
 
  #about
  {
    padding-left: 10px;
    padding-right: 10px;
  }
  .blog-link{
    padding-left: 10px;
    padding-right: 10px;
  }
  .ecologo {
    width: 70%;
  }
  body {
    overflow: hidden;
  }
}

@media (max-width: 480px) and (orientation: portrait) {
  body,
  html {
    overflow-x: hidden;
    max-width: 100%;
  }
  body {
    overflow: hidden;
  }
  .title, .tittle11 {
    font-size: 1.5rem;
    margin-top: 5px;
  }
  .video-title {
    bottom: 10px;
  }
  .video-title3 {
    bottom: 110px;
  }
  .video-title8 {
    bottom: 150px;
  }
  .video-title7 {
    bottom: 200px;
  }
  .video-title4 {
  bottom: 450px;
}
.video-title0 {
  bottom: 410px;
}
.video-title9 {
  bottom: 425px;
}
.video-title6 {
  bottom: 590px;
}
.video-title5 {
  bottom: 500px;
}
  .blog-link{
    padding-left: 10px;
    padding-right: 10px;
  }
  #myVideo4, #myVideo5, #myVideo6
  {
    width: 70%;
    height: 70%;
  }
  .logo {
    width: 100px;
    height: auto;
    
  }
  #about
  {
    padding-left: 10px;
    padding-right: 10px;
  }
  .background-video {
    height: auto; 
    object-fit: cover; 
    object-position: 33% center;
  }
  footer {
    background-color: #000;
    color: #fff;
    padding: 2rem 0;
    border-top: 5px solid white; 
  }
 
  .service img {
    width: 200px;
    height: 200px;
    margin-bottom: 1rem;
  }
  .team img {
    width: 200px;
    height: 200px;
    margin-bottom: 1rem;
  }
  .subtitle {
    font-size: 30px;
  }
  .ecologo {
    width: 70%;
  }
  .reseau {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  
  
  
  .reseaux-container {
    margin-top: 20px;
    margin-right: 10px;
    display: flex;
    flex-direction: column;
  }
  
  .contact-field,
  .envoyer {
    max-width: 80%;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-direction: column;
    margin-bottom: 20px;
    transition: background-color 0.3s, color 0.3s;
  }

  .social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
 
  
  .logocic , .logosf , .logoincub {
    width: 70px; 
    height: auto;
    }
}
