* {
    font-family: 'Roboto', 'Octagen';
    box-sizing: border-box;
}

a {
    text-decoration: none;
    cursor: pointer;
}

body {
    font-family: 'DM Sans';
    background-color: black;
    color: white;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    height: 100%;
    background: rgb(85,110,83);
    background: linear-gradient(180deg, rgba(85,110,83,1) 0%, rgba(0,0,0,1) 100%);
    background-attachment: fixed;
    /* cursor: url(../images/cursor.svg), auto; */
}

main {
    margin: 0;
    padding: 0;
}

.hidden {
    display: none;
}

#big-logo, .video-texte, #index-header {
    transition: opacity 0.5s ease-in-out;
}


/*::-webkit-scrollbar {
    width: 10px;
}
  
::-webkit-scrollbar-track {
    background-color: #556E53;
    padding: 2px;
}
  
::-webkit-scrollbar-thumb {
    background-color: #fff;
    border-radius: 5px;
} */
  
section {
    height: 100vh; 
    width: 100vw;
}

#nav {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    margin: 0px;
    height: 100%;
    width: 85px;
    border-right: 1px solid rgba(255, 255, 255, 0.150);
    padding: 30px 0px;
    z-index: 50;
    background: none;
}

#logo {
    height: 50px;
}

#social {
    display: flex;
    flex-direction: column;
    z-index: 50;
    mix-blend-mode: difference;
}

#social:before {
    background-color: aqua;
    color: red;
    width: 100%;
}

#social:after {
    background-color: red;
    color: aqua;
    width: 20%;
}

#social a {
    color: white;
    font-size: 25px;
    margin-top: 25px;
}

#menu-icon {
    height: 35px;
    color: white;
    cursor: pointer;
}

.burger-menu {
    z-index: 500;
}

.menu {
    font-family: "open-sans";
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    background-color: black;
    overflow-x: hidden;
}

.menu-background {
    background: rgb(85,110,83);
    background: linear-gradient(45deg, rgba(85,110,83,1) 10%, rgba(0,0,0,1) 75%);
    background-size: cover;
    background-position: 0 100%;
    background-repeat: no-repeat;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}
  
.menu-content {
    position: relative;
    top: 25%;
    width: 100%;
    text-align: center;
    margin-top: 30px;
}

.menu-links {
    display: flex;
    flex-direction: column;
    align-items: start;
    padding-left: 125px;
}
  
.menu-links a {
    font-family: 'POPPINS';
    text-decoration: none;
    font-size: 5rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke-width: 3px;
    -webkit-text-stroke-color: white;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.menu-links a:hover {
    color: white;
}

.menu-logo {
    height: 50px;
    object-fit: cover;
    margin-top: 30px;
    margin-left: 65px;
}

.menu-social {
    position: absolute;
    bottom: 30px;
    right: 25px;
}

.menu-social a {
    background-color: #556E53;
    padding: 15px;
    border-radius: 50%;
    color: white;
    font-size: 25px;
    margin-left: 10px;
}

.no-scroll {
    overflow: hidden;
    height: 100%; /* Empêche le défilement sur toute la hauteur de la page */
}

.quote {
    position: fixed;
    top: 30px;
    right: 25px;
    background-color: white;
    padding: 15px;
    border-radius: 25px;
    cursor: pointer;
    color: black;
    z-index: 20;
}

.link {
    padding-left: 10px;
}

#top-page {
    height: 100vh;
    max-width: 100vw;
    position: relative;
}

.video-texte {
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0px;
    text-align: center;
    font-size: 20px;
    max-width: 750px;
}

#big-logo {
    opacity: 0;
    position: absolute; /* make it absolute to position it on the center */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* this will truly center it */
    object-fit: cover;
    width: 100%;
    max-width: 450px;
}

#scrollButton {
    animation: scrollAnimation 0.5s infinite;
}

#mouse {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid white ;
    padding: 10px;
    border-radius: 50px;
}

.video-texte h1 {
    font-size: 4em;
}

video {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    margin: 0px;
    padding: 0px;
}  

#services {
    display: flex;
    justify-content: center;
    padding-left: 100px;
    height: 100vh;
    margin: 0px;
    position: relative;
}

#services.fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
}

.index-services-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.index-services-wrapper h2 {
    font-family: 'Octagen';
    font-size: 3rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: white;
    transition: all 0.3s ease;
    text-transform: uppercase;
    padding-top: 100px;
    margin: 0px;
}

.index-services-wrapper p {
    font-size: 1rem;
    width: 35%;
}

.index-services-wrapper img {
    height: 50%;
    width: 50%;
    border-radius: 25px;
    object-fit: cover;
    position: absolute;
    right: 100px;
}

#propos {
    background-color: #F3ece4;
    margin-top: -16px;
    padding-left: 100px;
    height: 100vh;
}
  
#legal {
    font-size: 15px;
    text-align: center;
    position: absolute; 
    left: 0; 
    right: 0; 
    bottom: 0px;
    margin-left: auto; 
    margin-right: auto; 
    width: 150px;
    text-decoration: none;
    color: white;
    font-size: 15px;
    margin-bottom: 15px;
}

#cookies {
    position: fixed;
    right: 50px;
    bottom: 0px;
    width: 350px;
    display: flex;
    flex-direction: column;
    background-color: #556E53;
    padding: 15px;
    border-radius: 15px;
}

#cookies-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#cookies-heading {
    font-size: 20px;
    margin: 10px 0px;
}

#cookies-booster {
    width: 35px;
}

#cookies-text {
    font-size: 12px;
}

#cookies-btn {
    border: 2px solid white;
    border-radius: 25px;
    padding: 10px;
    font-size: 15px;
}

footer {
    border-top: 1px solid rgba(255, 255, 255, 0.150);
}

.credit {
    position: relative; 
    left: 0; 
    right: 0; 
    bottom: 0px;
    margin-left: auto; 
    margin-right: auto; 
    padding: 15px;
    width: 250px;
    /* width: 100vh; */
}


/* Services page */

.main-services {
    padding: 0px 90px;
}

.header-services_container {
    position: fixed;
    z-index: 2;
}

.header-services{
    font-family: 'POPPINS';
    font-size: 5rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: white;
    transition: all 0.3s ease;
    text-transform: uppercase;
    padding-top: 25px;
    margin: 0px;
    border-bottom: 2px solid white;
}

.services-number {
    font-family: 'Poppins';
    font-size: 5rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: white;
    margin: 0px;
}

.services {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: 100vh;
    transition: opacity 0.3s ease;
}

#dev {
    padding-top: 200px;
}

.services-title {
    font-family: 'Octagen';
    font-size: 50px;
    margin: 0px;
    text-transform: uppercase;
}

.services-texte {
    max-width: 50%;
}

.services-images {
    max-width: 400px;
}

/* Bouton devis  */
#quote-button{
    opacity: 0;
    transition: opacity 0.3s; 
}
#quote-button:hover{
    opacity: 1;
}

/* Page Clients */
  .slide-container {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 175px);
    height: 100vh;
  }
  #slide {
    width: max-content;
    margin-top: 50px;
  }
  .item {
    width: 200px;
    height: 300px;
    background-position: 50% 50%;
    display: inline-block;
    transition: 0.8s;
    background-size: cover;
    position: absolute;
    z-index: 1;
    top: 50%;
    transform: translate(0, -50%);
    border-radius: 20px;
  }
  /* .item:nth-child(1), */
  .item:nth-child(2) {
    left: 0;
    top: 0;
    transform: translate(0, 0);
    border-radius: 0;
    width: 100%;
    height: 100%;
    box-shadow: none;
  }
  .item:nth-child(3) {
    left: 50%;
  }
  .item:nth-child(4) {
    left: calc(50% + 220px);
  }
  .item:nth-child(5) {
    left: calc(50% + 440px);
  }
  .item:nth-child(n + 6) {
    left: calc(50% + 660px);
    opacity: 0;
  }
  .item .content {
    position: absolute;
    top: 50%;
    left: 100px;
    width: 300px;
    text-align: left;
    padding: 0;
    color: #eee;
    transform: translate(0, -50%);
    display: none;
  }
  .item:nth-child(2) .content {
    display: block;
    z-index: 11111;
  }
  .item .name {
    font-size: 50px;
    font-weight: bold;
    opacity: 0;
    animation: showcontent 1s ease-in-out 1 forwards;
  }
  .item .des {
    font-size: 13px;
    margin: 20px 0;
    opacity: 0;
    animation: showcontent 1s ease-in-out 0.3s 1 forwards;
  }
  .item button {
    padding: 10px 20px;
    border: none;
    opacity: 0;
    animation: showcontent 1s ease-in-out 0.6s 1 forwards;
  }
  @keyframes showcontent {
    from {
      opacity: 0;
      transform: translate(0, 100px);
      filter: blur(33px);
    }
    to {
      opacity: 1;
      transform: translate(0, 0);
      filter: blur(0);
    }
  }
  .buttons {
    position: absolute;
    bottom: 30px;
    z-index: 22;
    text-align: center;
    width: 100%;
  }
  .buttons button{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid black;
    transition: 0.5s;
    background-color: white;
    margin: 10px;
    color: black;
  }

  .content button {
    height: 50px;
    border-radius: 50px;
    border: 1px solid black;
    transition: 0.5s;
    background-color: white;
    margin: 10px;
    color: black;
  }

  .buttons button:hover, .content button:hover{
    background-color: #556E53;
    color: white;
    border: 1px solid white;
  }
  
  