.elementor-kit-9{--e-global-color-primary:#FCE38B;--e-global-color-secondary:#E5A902;--e-global-color-text:#070A0D;--e-global-color-accent:#364F6B;--e-global-color-d210bbf:#FEFAEB;--e-global-color-196d22a:#F55E00;--e-global-color-bb418d8:#0745D6;--e-global-color-93e4186:#4A0769;--e-global-color-628837e:#FFFFFF;--e-global-typography-primary-font-family:"Poppins";--e-global-typography-primary-font-weight:700;--e-global-typography-secondary-font-family:"Source Serif Pro";--e-global-typography-secondary-font-weight:500;--e-global-typography-secondary-font-style:italic;--e-global-typography-text-font-family:"Poppins";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Poppins";--e-global-typography-accent-font-weight:400;background-color:var( --e-global-color-d210bbf );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );--e-preloader-animation-duration:1500ms;--e-preloader-delay:600ms;--e-preloader-color:#FFF;--e-preloader-size:20px;}.elementor-kit-9 button,.elementor-kit-9 input[type="button"],.elementor-kit-9 input[type="submit"],.elementor-kit-9 .elementor-button{background-color:var( --e-global-color-primary );font-family:"Poppins", Sans-serif;font-size:18px;font-weight:400;color:var( --e-global-color-text );border-radius:20px 20px 20px 20px;padding:18px 32px 18px 32px;}.elementor-kit-9 button:hover,.elementor-kit-9 button:focus,.elementor-kit-9 input[type="button"]:hover,.elementor-kit-9 input[type="button"]:focus,.elementor-kit-9 input[type="submit"]:hover,.elementor-kit-9 input[type="submit"]:focus,.elementor-kit-9 .elementor-button:hover,.elementor-kit-9 .elementor-button:focus{background-color:var( --e-global-color-secondary );}.elementor-kit-9 e-page-transition{background-color:var( --e-global-color-primary );}.elementor-kit-9 p{margin-block-end:0px;}.elementor-kit-9 h1{font-family:"Poppins", Sans-serif;font-size:80px;font-weight:700;line-height:1em;}.elementor-kit-9 h2{font-family:"Poppins", Sans-serif;font-size:80px;font-weight:700;}.elementor-kit-9 h3{font-family:"Poppins", Sans-serif;font-size:65px;font-weight:700;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){margin-block-end:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-kit-9 h1{font-size:30px;line-height:1.2em;}.elementor-kit-9 h2{font-size:38px;}.elementor-kit-9 h3{font-size:23px;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS */.header1 .elementor-nav-menu .menu-item:last-child a.elementor-item  {
    margin-left:15px;
    color: #070A0D !important;
    background: #FCE38B;
    border-radius: 12px;
    box-shadow: 0px 0px 10px 1px rgba(252, 227, 139, 0.80);
}
.header1 .elementor-nav-menu .menu-item:last-child a.elementor-item:hover {
    background: #E6A902;
      box-shadow: 0px 0px 10px 1px rgba(230, 169, 2, 0.80);
}
.elementor-nav-menu__container.elementor-nav-menu--dropdown {
    margin:0 !important;
    height:100vh;
    padding:0;
}
.swiper-wrapper{
  -webkit-transition-timing-function: linear !important;
  transition-timing-function: linear !important; 
}
h1 i, h2 i, em {
    font-family: "Source Serif Pro";
    font-weight: 400;
    font-size: 1.2em;
    line-height:1em;
}
.zoom-effect p {
        transition: all 0.2s ease-out;
}
.zoom-effect p:hover {
    font-size:1.1em;
    transition: all 0.2s ease-out;
    cursor:default;
}

.bg-blur {
    backdrop-filter: blur(5px);
}

@media screen and (max-width: 1600px) and (min-width: 768px) {
    .moto-home .elementor-widget-container {
        margin-top:100px !important;
        margin-bottom:10px !important;
    }
    .moto-home h1.elementor-heading-title {
        font-size:48px !important;
    }
    .megamenu .menu-item a {
        font-size:80px !important;
    }
}

/* Home : vidéos */
#video1 {
    position: relative; 
    width: 70%; 
    z-index: 2; 
    border-radius:30px !important;
    margin-left:15%;
}
.video1-wrapper:hover .overlay {
  opacity: 0.4 !important;
}
#video2 {
    width:100%;
}

.custom-mute-button {
  position: absolute;
  bottom: 30px;
  right: 200px;
  background: transparent !important;
  border: none !important;
  cursor: pointer;
  margin:0 !important;
  padding:0 !important;
  z-index: 10;
}

#menuhopin {
    position: fixed;
    top:20px;
    width: 100%;
    z-index:100 !important;
}
 #menuhopin .menu-item a {
    line-height:1em;
}

/* Home : Carousel réalisations */
body {
    overflow-x: hidden;
}
.scroll-container {
    overflow: visible;
    will-change: transform;
    transition: transform 0.3s ease; /* Smooth transition for transform */
}
.panel:nth-child(even) {
    margin-top:100px;
}
.panel {
    display:block;
    will-change: transform;
    aspect-ratio: 1.1;
    transition: 0.3s ease;
}
.panel:hover {
    background-size: 110% !important;
    transition: 0.2s;
}
.panel:hover::before {
    background:black !important;
    transition: 0.2s;
}
.panel .elementor-image-box-description {
    opacity:0;
    transition: 0.3s ease;
}
.panel:hover .elementor-image-box-description {
    opacity:1;
    transition: 0.3s ease;
}
.overflow-hidden {
    overflow: hidden;
}

.sticky-section {
    transition: all 0.2s ease; /* Smooth transition for position change */
}


/* Articles */
.cat-article .elementor-post-info__terms-list-item {
    display: inline-block !important;
    background:white;
    padding:4px 15px;
    border-radius:20px;
    margin-bottom:10px;
}
.carousel {
  overflow: hidden;
  white-space: nowrap;
  flex-direction: row;
  position: relative;
  width: 100%;
  padding: 10px 0;
}
.carousel-track, .carousel-track2, .carousel-track3 {
  display: flex;
  animation: scroll 40s linear infinite;
  width: max-content;
}
.carousel-supports .carousel-track2 {
      animation: scroll 60s linear infinite;
}

.carousel-track:hover, .carousel-track2:hover {
  animation-play-state: paused;
}
.carousel-track .elementor-widget-image, .carousel-track2 .elementor-widget-image {
  flex: 0 0 auto; /* Pour empêcher les images de se redimensionner ou de se casser sur plusieurs lignes */
}
.carousel-track img, .carousel-track2 img {
  max-height: 460px;
  width: auto;
  display: block;
}
.autres-projets .elementor-post img{
   transition: 0.3s ease; 
}
.autres-projets .elementor-post:hover img{
    width:110%;
    transition: 0.3s ease;
}

/* Réalisations */
.panel-realisations a.elementor-element ~ .img-real:after {
    transition: all 1s ease-out;
}

.panel-realisations a.elementor-element:hover ~ .img-real:after {
    content:"";
    display:block;
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background: rgb(0, 0, 0, 0.5);
    border-radius:30px;
    transition: all 1s ease-out;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}



@keyframes rotating {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.rotate {
  animation: rotating 10s linear infinite;
}



@media screen and (max-width: 768px) {
    #video1 {
       width: 90%;  
       margin-left:5%;
    }
    .video1-wrapper .overlay {
        width:90% !important;
        margin-left:5% !important;
        height:97% !important;
    }
    #video2 {
       height:480px ;
    }
    .custom-mute-button {
         right: 50px;
    }
}

@media screen and (min-width: 768px) {
    .elementor-nav-menu__container{
        top:0px!important;
    }
    #menuhopin.headershow{
        transform: translateY(0);
    }
    #menuhopin{
        -webkit-transition: transform 0.34s ease;
        transition : transform 0.34s ease;
        transform: translateY(-200px); /*adjust this value to the height of your header*/
    }
    .separator-right::after {
        content:""; 
        background: rgba(252, 227, 139, 0.30); 
        position: absolute; 
        bottom: 0; 
        right: -20px; 
        height: 100%; 
        width: 1.5px;
    }
    .carousel::before, .carousel::after {
          content: "";
          position: absolute;
          top: 0;
          width: 100px;
          height: 100%;
          z-index: 2;
          pointer-events: none;
    }
    .carousel::before {
      left: 0;
      background: linear-gradient(to right, rgba(254, 250, 235, 1) 0%, rgba(254, 250, 235, 0) 100%);
    }
    .carousel::after {
      right: 0;
      background: linear-gradient(to left, rgba(254, 250, 235, 1) 0%, rgba(254, 250, 235, 0) 100%);
    }
    .carousel-track {
    gap: 60px;
        
    }
}/* End custom CSS */