@charset "UTF-8";
@charset "UTF-8";
html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}


.container1 {
    height: 40vh;
    width: 100vw;
    top: 4rem;
    left: 0;
    position: relative;
    align-items: center;
 

}

.container2 {
    height: 4000px;
    width: 100vw;
    top: 0;
    left: 0;
    position: relative;
    align-items: center;
    margin-top: 30rem;
    
}

.container3 {
    width: 100%;
    height: 80dvh;
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
    background-color: rgb(255, 255, 255);
    display: flex;
    flex-wrap: nowrap;
    
}


.container5 {
    width: 100%;
    height: 5dvh;
    z-index: 1000;
    top:0;
    position: fixed;
    background-color: black;
    
    
    
}

.black_margin1 {
    width: 100%;
    height: 5dvh;
    background-color: black;
    position:absolute
}


.logo_form{
    position: sticky;
    height: 600px;
    
}


.suzuki_form {
    height: 1000px;
    position: sticky;
    top: 6vh;
    z-index: 99;
    overflow-x: hidden;
}

.swift_form {
    position: sticky;
    top: 33vh;
    height: 1000px;
    z-index: 98;
    overflow-x: hidden;
}

.glx_form {
    height: 1000px;
    top: 60vh;
    position: sticky;
    overflow-x: hidden;
}


.align-center {
    display: flex;
    flex-direction: row;
    justify-content: center;
    
}

.fullwidth-image {
    width: 100%;
}

.container-height {
    height: 80dvh;
    flex-shrink: 0;
    width: auto;
    margin-right: 5dvh;
    
}

video {
    width: 100%;
}

.logo_menu {
    height: 5dvh;
    z-index: 10;
    border-radius: 15px;
    overflow: hidden;
    mix-blend-mode: difference;
}

.container3::-webkit-scrollbar {
    width: 100%;
    height: 1dvh;
    
}

.container3::-webkit-scrollbar-track {
    background-color: transparent; /* Hide the track */
}

.container3::-webkit-scrollbar-thumb {
    background-color: transparent;
    border-radius: 30px;
    height: 5dvh;
    
}

.container::-webkit-scrollbar-thumb:hover {
    background-color: #000000; 
}

.bandeau_text_menu {
    height: 5dvh;
    position: absolute;
    animation: scrollImage linear infinite; 
    animation-duration: 7s;
    width: auto;
    z-index: -10;
    
}

.container4 {
    width: 100%;
    height: 80dvh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
}


.drive {
    left: 0%;
    position: relative;
    justify-items: center;
    align-items: center;
    width: 50dvw;
    overflow-x: hidden;
}

.drive:hover{
    animation: shake 0.3s;
    animation-iteration-count: infinite;
    background-color: transparent;
  }
  
  .my-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 90px 400px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    /* z-index: -10; */
  }

  @keyframes shake {
    0%{
      transform: translate(1px,1px) rotate(0deg);
      }
    10%{
      transform: translate(2px,-1px) rotate(-1deg);
      }
    20%{
      transform: translate(-1px,0px) rotate(1deg);
      }
    30%{
      transform: translate(1px,2px) rotate(0deg);
      }
    40%{
      transform: translate(-2px,-1px) rotate(-1deg);
      }
    50%{
      transform: translate(1px,1px) rotate(1deg);
      }
    60%{
      transform: translate(0px,-2px) rotate(0deg);
      }
    70%{
      transform: translate(2px,1px) rotate(-1deg);
      }
    80%{
      transform: translate(-1px,-1px) rotate(1deg);
      }
    90%{
      transform: translate(0px,-1px) rotate(-1deg);
      }
    100%{
      transform: translate(1px,2px) rotate(1deg);
      }
  }

  @keyframes scrollImage {
    0% {
      left: 100%; /* Position initiale à droite du conteneur */
    }
    100% {
      left: -60%; /* Position finale à gauche du conteneur */
    }
  }

  @keyframes scrollImageMobile {
    0% {
      left: 100%; /* Position initiale à droite du conteneur */
    }
    100% {
      left: -150%; /* Position finale à gauche du conteneur */
    }
  }

@media screen and (max-width: 600px) {
    .suzuki_form {
        top: 32vh;
    }

    .swift_form {
        top: 43vh;
    }
    .glx_form {
        top: 54vh;
    }

    video{
        width: 170%;
    }
    .container1 {
        top: 10rem;
    }

    .logo_form{
      
      height: 350px;
    }

    .drive {
      width: 80dvw;
    }

    .bandeau_text_menu {
   
      animation: scrollImageMobile linear infinite; 
      animation-duration: 7s;
      
  }
  
    
  

}

