/* HEADER */
.main-header{
    max-width: 1920px;
    width: 100%;
    height: auto;
    position: relative;
}



.main-header img{
    display: block;
}

.main-header picture::after{
    content:"";
    display: block;
    width: 100%;
    height: 100%;
    background: rgb(37,48,59);
    background: linear-gradient(0deg, rgba(37,48,59,0.75) 0%, rgba(37,48,59,0) 100%);
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    animation: fadeIn 1s forwards;
}

.header-title{
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(calc(50% - 100px));
    overflow: hidden;
}

.header-title h1{
    color: #fff;
    font-family: "Titillium Web", Arial, sans-serif;
    text-transform: uppercase;
    font-size: 5.5rem;
    transform: translateY(100%);
    padding: 2.5rem 0;
}


.block-animated>*{
    animation: slideUp 1s forwards ease-in-out;
}

.fade-separation{
    width: 100%;
    max-width: 1920px;
    height: 100px;
    background: rgb(255,255,255);
    background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgb(255 255 255 / 0%) 100%);
    transform: translateY(-100px);
}

/* ASSETS */

.gamme-assets{
    display: flex;
    justify-content: center;
    gap: 50px;
    padding: 0 8%;
    overflow: hidden;
}

.gamme-assets svg{
    stroke:none;
    width: 100%;
    height: auto;
    max-width: 150px;
    aspect-ratio: 1/1;
    margin: 0 auto;
   
}

.asset-picto{
    width: 100%;
    max-width: 250px;
    height: auto;
    aspect-ratio: 1/1;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
  
    padding: 3.5rem;
    margin: auto;
}

.strong-point .asset-picto{
    border: 5px solid #35b12d;
}

.asset-title{
    color: #25303b;
    font-family: "Titillium Web", Arial, sans-serif;
    text-transform: uppercase;
    font-size: 2.5rem;
    text-align: center;
}

.asset-item{
    flex-basis: 100%;
    transform: translateY(100%);
}




/* GENERALITES */
section.generalites h2{
    font-family: "Titillium Web", Arial, Helvetica, sans-serif;
    font-size: 5.5rem;
    line-height: 5.8rem;
    font-kerning: none;
 }

 .text-ctn{
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 0 16%;
    text-align: center;
 }

 .text-ctn p{
    text-align: center;
 }


 section p{
    font-size: 1.6rem;
 }

 .animate-text p{
    font-size: 2.1rem;
 }

 section h2{
    font-family: "Titillium Web", Arial, Helvetica, sans-serif;
    font-size: 3.5rem;
    text-align: center;
    text-transform: uppercase;
}

.tab-title-ctn{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
}

.tab-title{
    padding: 1rem 1.5rem;
    border-radius: 15px;
    background: #f7f7f7;
    text-transform: uppercase;
    color: #25303b;
    font-family: "Titillium Web", Arial, Helvetica, sans-serif;
    font-size: 1.8rem;
    cursor: pointer;
}

.tab-title.active{
    background: #35b12d;
    color: #fff;
}

.d-flex{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.d-flex>div{
    flex-basis: 50%;
}

main img{
    width: 100%;
    height: auto;
}

.d-flex img{
    max-width: 665px;
}

.block.block-grey{
    background: #f7f7f7;
}

.small_container{
    margin: 0 32% 0 0;
    padding: 1.5rem;
}
.small_container p{
    margin: 1rem 0;
}

h4{
    font-size: 1.8rem;
}

 /* THREEJS */

 canvas{
    max-width: 1920px;
    width: 100%!important;
    margin: auto;
    height: auto!important;
 }

 #three_ctn{
    border: 1px solid #b7b7b7;
    border-radius: 30px;
    overflow: hidden;
    margin: 2.5rem 16%;
 }


 /* TABS */
 
 .tab-content{
    display: none;
    padding: 3rem;
    border: 1px solid #b7b7b7;
    border-radius: 30px;
    margin: 2.5rem 0;
 }

 .tab-content.active{
    display: block;
 }

 .tab-content img{
    max-width: 100%;
 }

 section h3{
    font-family: "Titillium Web", Arial, Helvetica, sans-serif;
    color: #35b12d;
    text-transform: uppercase;
    font-size: 2.5rem;
 }

 /* TOUCH POINTS */
 .touch_ctn{
    padding: 3rem;

    border-radius: 30px;
    
  

 
 }

 .touch_obj{
    position: relative;
    /* overflow: hidden; */

 }

 .touch_obj img{
    max-width: 994px;
    display: block;
    margin: auto;
 }


.touch_info{
    position: absolute;
    max-width: 100%;
}
.touch_info p{
    position: relative;
    transform: translateX(-100%);
    opacity: 0;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    /* margin: 0 1.5rem; */
    gap: 18px;
    z-index: 0;
    
}
.touch_info .line{
    position: relative;
    width: 0;
    height: 1px;
    background: #25303b;
    /* right: 100%; */
    /* top: 1.25rem; */
    display: block;
    z-index: 0;
    margin-left: 0;
    margin-right: auto;
}

.touch_info_ctn{
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.touch_point{
    display: block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    transform: scale(0);
    position: relative;
    margin-left: -100px;
    margin-right: -15px;
    border: 5px solid #35b12d;
    z-index: 1;
    min-width: 20px;
    
}

.touch_point::after{
    display: block;
    content: "";
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid #35b12d;
    position: absolute;
    left: 0;
    top: 0;
    transform: scale(0);
    animation: scaleOp 1.5s  infinite  ease-in-out;
    z-index: -1;
}


#resine_a{
    left: 50%;
    bottom: 15%;
}

#resine_b{
    left: 49%;
    bottom: 22%;
}


#resine_c{
    left: 50%;
    bottom: 30%;
}

#resine_d{
    left: 48%;
    bottom: 43%;

}

#resine_e{
    left: 49%;
    bottom: 70%;
}

#peint_a{
    left: 43%;
    bottom: 47%;
}

 #peint_b{
    left: 42%;
    bottom: 65%;
 }

#peint_c{
    left: 43%;
    bottom: 82%;

}


#peint_d{
    left: 42%;
    bottom: 102%;
 }

.arrow.left-bottom.large{
    width: 150px;
    transform: rotate(45deg);
}

.arrow.left-top.large{
    width: 150px;
    transform: rotate(-6deg);
}
.mobile_version{
    padding-top: 3rem;
}

/* SLIDING MODULE */
.sliding-container {
    position: relative;
    width: 1920px;
    
    aspect-ratio: 1920/800;
    max-width: 100%;
    max-height: 100%;
    border: 2px solid white;
}

.sliding-container .sliding-img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
}
.sliding-img.background-img {
    background-image: url("./../images/campagne/campagne_4/sliding-galva.jpg");
}
.sliding-img.foreground-img {
    background-image: url("./../images/campagne/campagne_4/sliding-peint.jpg");
    width: 50%;
}  

.slider {
    position: absolute;
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 100%;
    background: black;
    opacity:0.1;
    outline: none;
    margin: 0;
    transition: all 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}





/* .slider::-webkit-slider-thumb{
    -webkit-appearance: none;
    appearance: none;
    width: 6px;
    height: 100%;
    background: white;
    cursor: pointer;
}

.slider::-moz-range-thumb{
    width: 6px;
    height: 100%;
    background: white;
    cursor: pointer;
} */
.slider-button {
    pointer-events: none;
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: white;
    left: calc(50% - 15px);
    top: calc(50% - 15px);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.slider-button::after{
    content: "";
    padding: 3px;
    display: inline-block;
    border: solid #5d5d5d;
    border-width: 0 2px 2px 0;
    transform: rotate(-45deg);
}
.slider-button::before{
    content: "";
    padding: 3px;
    display: inline-block;
    border: solid #5d5d5d;
    border-width: 0 2px 2px 0;
    transform: rotate(135deg);
}

/* ANIMATIONS */
@keyframes slideUp{
    0%{
        transform: translateY(100%);
    }

    100%{
        transform: translateY(0%);
    }
}


@keyframes fadeIn{
    0%{
        opacity: 0;
    }

    100%{
        opacity: 1;
    }
}

@keyframes pointUp{
    from{
        opacity: 0;
        transform: translateY(-15px);
    }
    to{
        opacity: 1;
        transform: translateY(10px);
    }
}

@keyframes pointDown{
    from{
        opacity: 1;
        transform: translateY(10px);
    }
    to{
        opacity: 0;
        transform: translateY(-15px);
        
    }
}

@keyframes bounceInCircle {
    0% {
      transform: scale(1.3);
   
    }
 
    50%{
        transform: scale(1.4);
    }
   
    100% {
      transform: scale(1.3);
    }
  }

  @keyframes scaleOp{
    0%{
        transform: scale(0);
        opacity: 1;
    }

    50%{
        opacity: 1;
    }
    100%{
        transform: scale(3);
        opacity: 0;
    }

  }
@media(min-width:1080px){
  .desktop_version{
    display: block;
  }
  .mobile_version{
    display: none;
  }
}

  @media(max-width:1080px){
    .desktop_version{
        display: none;
    }
    .mobile_version{
        display: block;
      }
  }

  @media (max-width:467px){
    section p{
        font-size: 1.5rem;
    }

    .touch_ctn{
        padding: 15px;
    }

    #resine_e{
        left: 32%;
        bottom: 83%;
    }
    #resine_d{
        left: 34%;
        bottom: 61%;
    }

    #resine_c{
        left: 36%;
        bottom: 50%;
    }

    #resine_b{
        left: 40%;
        bottom: 40%;
    }

    #resine_a{
        left: 40%;
        bottom: 33%;
    }

    #peint_a{
        left: 35%;
        bottom: 72%;
    }

    #peint_b{
        left: 30%;
        bottom: 88%;
    }

    #peint_c{
        left: 36%;
        bottom: 104%;
    }

    #peint_d{
        left: 34%;
        bottom: 127%;
    }

    #fond-resine, #fond-peint{
        padding-bottom: 10rem;
    }

    section p{
        font-size: 1.5rem;
    }

    .small_container{
        margin: 0 0 0 0;
        padding: 1.5rem;
    }

  }

  