.tarif-years-container{
    padding: 0 var(--container-space);
    min-height: 125vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.tarif-years-scroll-indicator{
    position: absolute;
    left: 50%;
    top: -20vh;
    transform: translateX(-50%);
}

.tarif-years-scroll-indicator p{
    transform: rotate(90deg);
}

.tarif-years-scroll-container{
    width: 70px;
    position: relative;
    background-color: rgba(255, 255, 255, .3);
    height: 3px;
    transform: rotate(90deg) translateX(50%);
    overflow: hidden;

}

.tarif-years-scroll-content{
    width: 0%;
    height: 100%;
    background-color: white;
    transition: width ease .1s;
    animation: animationScroller 5s infinite;
}
.tarif-years-btn-item .button-text{
    font-weight: 600;
}

.tarif-years-btn-item .is-style-purple-to-rose a{
    font-weight: 600;
}

@keyframes animationScroller {
    0%{
        width: 0%;
        float: left;
    }

    50%{
        width: 100%;
        float: left;
        
    }
    51%{
        float: right;
    }
   

    100%{
        width: 0%;
        float: right;
    }

  
}

.tarif-years-wrapper{
    display: flex;
    width: 100%;
    align-items: center;
}

.tarif-years-number-rotation{
    width: 45%;
    overflow: hidden;
    height: 35vh;
}
.tarif-years-text-content{
    width: 100%;
}

.tarif-years-number-container{
    transition-timing-function: ease-out;
  transition-timing-function: cubic-bezier(0, 0, 0.58, 1);
    transition:transform 2.5s ;
    
}

.tarif-years-number-container.animated{
    transform: translateY(-87%);
}

.tarif-years-number-item{
    color: var(--blanc, #FFF);
    text-align: center;
    font-family: 'Montserrat',sans-serif;
    font-size: 299.791px;
    font-style: normal;
    font-weight: 600;
    line-height: 100%; /* 374.739px */
}

.tarif-years-svg-brand{
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 2em;
}

.tarif-years-btn{
    margin-top: 3em;
}

.tarif-years-btn-item .forward-button{
    margin-top: 0 !important;
}

.tarif-years-btn{
    display: flex;
    gap: 15px;
    align-items: center;
}

@media (max-width:1024px){
    .tarif-years-container{
        min-height: 100vh;
    }
    .tarif-years-btn{
        align-items: unset;
        flex-direction: column;
    }

    .tarif-years-btn-item .forward-button{
        display: inline-block !important;
        width: 100%;
        border: solid white 1px;
        border-radius: 25px;
    }

    .tarif-years-btn-item .forward-button .circle{
       border: none;
    }

    .tarif-years-btn-item .button-text{
        padding: 0.75rem 0.75rem 0.75rem 1em;
    }

    .tarif-years-number-container.animated{
        transform: translateY(-85%);
    }

    .tarif-years-btn-item .is-style-purple-to-rose a{
        width: 100%;
    }

    .tarif-years-number-item{
        font-size: 218px;
    }
}

@media (max-width:980px){
    .tarif-years-number-item{
        font-size: 175px;
    }
}
@media (max-width:720px){
    .tarif-years-wrapper{
        flex-direction: column;
        gap: 30px;
    }

    .tarif-years-number-rotation{
        width: 100%;
    }

    .tarif-years-scroll-indicator{
        display: none;
    }

    .tarif-years-btn{
        flex-direction: column;
    }

    .tarif-years-number-rotation{
        height: 25vh;
        margin-top: 5em;
    }

    .tarif-years-text *{
        font-size: 30px !important;
    }
    
}


@media (min-width:1600px){
    .tarif-years-number-item{
        font-size: 450px;
    }

    .tarif-years-container{
        min-height: 100vh;
    
    }
}