*{
    margin: 0;
    padding: 0;
    min-width: 0;
    max-width: 100vw;
    box-sizing: border-box;
    font-family: 'Lora', serif;
    scroll-behavior: smooth;
    /* text-transform: uppercase; */
    /* font-weight: 400; */
    color: #eaeaeb;
    /*background-color: #000000;*/
}

/* Custom Scroll */

/* width */
::-webkit-scrollbar {
    width: 10px;
  
    background-color: rgba(0, 0, 0, 0);
  }
  /* Track */
  ::-webkit-scrollbar-track {
    background-color: rgb(230, 111, 0);
  }
  
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: #eaeaeb;
    border-radius: 10px;
    width: 5px;
    height: 5px;
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: #686868;
  }

/* Nav Section Styles */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 500;
  }
  
  .sticky-bg {
    width: 100%;
  }
  
  nav {
    mix-blend-mode: difference; /* Fait la fusion avec l'arrière-plan */
    position: sticky;
    top: 0;
    z-index: 11;
  }
  
  nav a {
    text-decoration: none;
    color: #eaeaeb;
    font-size: 20px; 
    transition: 0.5s;
    display: flex;
  }
  
  nav a:hover {
    color: rgb(255, 255, 255);
    font-weight: 500;
  }
  
  .nav-links {
    position:absolute;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 2% 12% 1%;
    /*filter: invert(0);*/
  }
  
  .nav-links ul li {
    list-style: none;
    display: inline-block;
    padding-top: 17px;
    padding-right: 10px;
  }
  
  .nav-links ul li a {
    text-decoration: none;
    color: #eaeaeb;
    transition: 0.5s;
  }
  
  .nav-links ul li a:hover {
    text-decoration: none;
    color: #eaeaeb;
    text-decoration: underline;
    text-decoration-thickness: 2px; 
    font-weight: 500;
  }
  
  nav .fa {
    display: none;
  }

  .nav-links .home-link svg {
    height: 77px;
    width: 100px;
    pointer-events: none;
  } 

  /* Adding Responsivess to Nav Section */

@media (max-width: 700px) {

    .nav-links {
      padding: 2% 5% 1%;
      /*filter: invert(0);*/
    }

    nav .fa {
      display:block;
      padding-top: 10px;
      color: #eaeaeb;
      margin: 10px;
      font-size: 22px;
      cursor: pointer;
    }

    .nav-links .home-link p {
      display: flex;
      align-items: center;
      justify-content: center;
      padding-top: 0px;
    }

    .nav-links .home-link svg {
        height: 60px;
        width: 77px;
    }
  
    .nav-links ul li {
      display: block;
      text-align: left;
      width: 130px;
      padding: 2px 30px;
      background-color: rgba(255, 255, 255, 0.5);
      -webkit-backdrop-filter: blur(20px);
      backdrop-filter: blur(20px);
     
    }
  
    #nav-links-sub {
      left: -200px;
      text-align: right;
      margin-top: 70px;
      position: absolute;
      height: 100vh;
      width: 30%;
      transition: 1s;
    }
  }


/* Landing Section Styles */

#home {
    
    min-height: 100vh;
    max-width: 100vw;
    background-color: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  
.home-title {
    background-color: transparent;
    text-align: left;
    position: absolute;
    bottom: 0px;
    left: 0px;
    /*max-width: 30vw;*/
    margin-left: 12%;
    margin-bottom: 2%;
    /*display: flex;
    align-items: center;
    justify-content: center;*/
  }

.home-title h1 {
  background-color: transparent;
  padding-bottom:20px;
  color: #eaeaeb;
  font-size: 300%;
  overflow: visible;
}

.home-title h2 {
  background-color: transparent;
  color: #eaeaeb;
  font-weight: lighter;
  font-size: 110%;
}

@media (max-width: 700px) {
  .home-title h1 {
    font-size: 220%;
  }

}



/* About Us Section styles */

#about {
    min-height: 100vh;
    max-width: 100vw;
    background-color: #eaeaeb;
    background-image: url(assets/images/backdrop.png);
    background-position: center;
    background-size: cover;
  }
  
  #about p {
    background-color: transparent;
    color: black;
  }

  .about-svg-container{
    position: absolute;
    right:0px;
    float: right;
    max-width: 600px;
    overflow: hidden;
    z-index: 0;
  }

  .about-svg-container svg {
    height : 100%;
    max-height : 800px;
    stroke : lightgrey;
  }

  .about-container {
    background-color: transparent;
    text-align: left;
    width: 76%;
    margin: auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .about-title h2 {
    position:relative;
    top: 0px;
    left: 12%;
    margin-top: 15%;
    background-color: transparent;
    float: left;
    color: black;
    text-align: left;
    font-size: 250%;
  }

  .about-row {
    
    vertical-align: top;
    margin-top: 10%;
    margin-right: 10%;
    max-width: 90%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }
  
  .about-col {
    background-color: transparent;
    text-align: left;
    /*margin: auto;*/
    padding: 10px;
    flex-basis: 45%;
  }
  
  .about-col h3 {
    position: relative;
    top: 0%;
    background-color: transparent;
    color: black;
    margin-bottom: 10px;
    font-size: 150%;
    z-index: 500;
  }

  .about-col p {
    background-color: transparent;
    color: black;
    margin-bottom: 10px;
    font-size: 120%;
    z-index: 500;
  }

  /* Adding responsiveness to About Us Section */

@media (max-width: 700px) {
    #about {
      padding-left: 1%;
      padding-top: 0%;
      padding-bottom: 0%;
    }

    .about-container {
      background-color: transparent;
      text-align: left;
      margin: 0px;
      width: 100%;
      height: 100vh;
      padding: 0% 0%;
      align-items: flex-start; /* Aligner le texte en haut */
      justify-content: flex-start; /* Enlever le centrage vertical */
      position: relative;
      overflow: visible;
    }

    .about-row {
      position:relative;
      top:10%;
      flex-direction: column;
      margin:0px;
      padding-left:12%;
      /*min-height: auto;  Enlever toute contrainte de hauteur minimale */
    }

    .about-title h2 {
      position:relative;
      top: 50px;
      left: 12%;
      margin-top: 0%;
      background-color: transparent;
      float: left;
      color: black;
      text-align: left;
      font-size: 180%;
    }

    .about-col {
      position:relative;
      top:0px;
      margin:0px;
      padding:0%;
    }

    .about-col h3 {
      font-size: 110%;
    }

    .about-col p {
      font-size: 100%;
      padding: 5% 0%;
    }

    .about-svg-container {
      position: absolute;
      bottom: 0; /* Assure que le SVG est collé en bas */
      left: 0;
      right: 0;
      height: auto;
      max-width: 100%;
      z-index: 0;  /*Assure que le SVG reste derrière le texte si nécessaire */
      overflow: visible; /* Assure que le SVG déborde si nécessaire */
    
    }

    .about-svg-container svg {
      width: 100%; /* Ajuste la taille pour qu'il prenne toute la largeur */
      height: auto; /* Garde les proportions */
      max-height: 500px; /* Limite la hauteur pour éviter qu'il ne soit trop grand */
    }

  }
/* adding reveal and rotation animation  */

.reveal {
    background-color: transparent;
    position: relative;
    transform: translateY(150px);
    opacity: 0;
    transition: 1s all ease;
  }
  
  .reveal.active {
    background-color: transparent;
    transform: translateY(0px);
    opacity: 1;
  }
  
  .rotate {
    animation: rotation 10s infinite linear;
  }
  
  @keyframes rotation {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(359deg);
    }
  }

  /* Product Section Styles */

#services {
    min-height: 100vh;
    max-width: 100vw;
    background-color: #000000;
    margin: auto;
    text-align: center;
  }

  .service-title h2 {
    position:relative;
    top: 0px;
    left: 12%;
    margin-top: 12%;
    background-color: transparent;
    float: left;
    color: #eaeaeb;
    text-align: left;
    font-size: 250%;
  }
  
  .services-grid-wrapper {
    padding: 0% 12% 0%;
    width: 100%;
    min-height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .services-grid-container {
    display: grid;
    grid-template-columns: auto auto auto;
    padding: 0px;
  }

  .grid-item {
    margin: 0% 2% 0%;
    text-align: center;
    transition: 0.5s;
  }

  .grid-item img{
    margin: 20px;
    filter: invert(0.9);
    max-width: 15%;
    transition: 1s;
  }
  
  .grid-item:hover {
    transform: translateY(-20px);
  }
  
  .grid-item:hover img {
    animation: rotation 10s infinite linear;
  }
  
  .grid-item img:hover {
    cursor: pointer;
  }
  
  .grid-item h2 {
    font-size: 150%;
    text-align: center;
    padding-bottom: 10px ;
    color: #eaeaeb;
  }

  .grid-item p {
    max-width: 90%;
    text-align: center;
    /* text-align: justify; */
    font-size: 100%;
    margin: auto;
    color: #eaeaeb;
  }

  /* Adding Responsiveness */

@media (max-width: 700px) {
    .services-grid-wrapper {
      padding: 10% 0;
    }
    .services-grid-container {
      grid-template-columns: auto;
    }

    .grid-item {
      padding-top: 5%;
      transition: 1s;
    }

    .grid-item img {
      max-width: 15%;
      transition: 1s;
    }

    .grid-item h2 {
      font-size: 120%;
      padding-bottom: 5px ;
    }

    .grid-item p {
      font-size: 90%;
    }

    .service-title h2 {
      font-size: 180%;
      margin-top: 20%;
    }

  }

/* Call To Action Section */

#contact {
  height: 100vh;
  min-height: 100vh;
  max-width: 100vw;
  background-color: #eaeaeb;
  color: black;
}

#contact p,
#contact span,
#contact b {
  background-color: #eaeaeb;
  color: black;
}

.contact-row {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  height: 100%;
  padding: 0% 12%;
}

.contact-row h2 {
  position: relative;
  top: -20%;
  color: black;
  font-size: 250%;
  text-align: center; /* Aligné au centre par défaut pour les grands écrans */
}

.company_info {
  position: absolute;
  left: 0%;
  top: 40%;
  width: 500px;
}

.company_info ul {
  display: block;
  list-style-type: none;
  color: black;
  width: 100%;
  max-width: 100vw;
  margin-bottom: 10%;
  margin-left: 0%;
}

.company_info h3{
  color: black;
  font-size: 150%;
}

.company_info li{
  color: black;
  padding: 1%;
}

.contact-col {
  flex-basis: 50%;
  width: 100%;
  height: 100%;
  margin: auto;
}

.social-icon-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
}

.social-icon-wrapper img {
  transition: 0.5s;
}

.social-icon-wrapper img:hover {
  transform: translateY(-20px);
}

#map { 
  margin-top: 20%;
  width: 100%;
  height: 80%;
  color: #686868;
}

/* Responsivité pour les petits écrans */
@media (max-width: 700px) {
  .contact-row {
      flex-direction: column;
      padding-left: 12%;
      height: auto; /* Ajuste la hauteur automatiquement pour éviter de forcer un 100vh */
      margin: auto;
      align-items: flex-start; /* Ajout : Assure que les éléments s'alignent à gauche */
      
  }

  .contact-row h2 {
      position: relative;
      margin-top: 20%;
      top: 0; /* Ajustement de la position verticale */
      left: 0;
      color: black;
      font-size: 180%;
      text-align: left; /* Alignement à gauche pour les petits écrans */
      margin-left: 0; /* Supprimer les marges automatiques */
  }

  .company_info h3{
    color: black;
    font-size: 120%;
    padding: 0;
    margin: 0;
    width: 100%;
  }

  .contact-col {
      flex-basis: 100%; /* Prend tout l'espace disponible */
      margin: 0;
  }

  .company_info {
      position: relative; /* Ajuste la position pour éviter le chevauchement */
      margin-top: 30%;
      top: auto; /* Supprime le décalage vertical */
      margin-left: auto;
      margin-right: auto;
      width: 100%;
      display: flex;
      flex-direction: column; /* Si tu as plusieurs ul à centrer verticalement */
      align-items: center;
  }

  .company_info ul {
      text-align: center;
  }


  #map {
      display: none;
  }
}

canvas{
    width: 100%;
    height: 100svh;
    /* background-color: red; */
}


