
/**********************
* PAGE NOTRE HISTOIRE *
**********************/

.historique{
    margin: 5rem 10%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.histoire__date{
    margin-bottom: 2rem;
}
.histoire{
    opacity: 0;
    transition: opacity 0.5s;
}
.boutons{
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}
/* Responsive desktop */
@media screen and (min-width: 1200px) {

    .historique{
        margin: 5rem 20%;
        padding-left: 10rem;
        margin-bottom: 10rem;
        gap: 4rem;
        position: relative;
    }
    /* Flèche chronologique */
    .historique::before{
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 2px;
        height: 100%;
        background-image: linear-gradient(to bottom, var(--primaire) 50%, transparent 50%);
        background-size: 100% 30px;
        animation: drawLine 5s linear forwards;
    }
    @keyframes drawLine {
        0% {
          height: 0; /* Début de l'animation : hauteur à 0 */
        }
        100% {
          height: 100%; /* Fin de l'animation : hauteur à 100% */
        }
    }
    .historique::after {
        content: "";
        position: absolute;
        bottom: -14px;
        left: -15px;
        display: inline-block;
        height: 30px;
        width: 30px;
        border: solid 2px var(--primaire);
        border-top: unset;
        border-left: unset;
        transform: rotate(44deg);
    }
    .histoire__date{
        position: relative;
    }
    .histoire__date::before{
        content: '';
        position: absolute;
        top: 1rem;
        left: -11rem;
        width: 2rem;
        height: 2rem;
        background-color: var(--secondaire);
        border-radius: 50%;
    }
    .histoire:first-of-type .histoire__date::before{
        top: 0;
    }

}