.title{
    text-align: center;
    font-size: clamp(1em,8dvw,3em);
    margin: 4dvh;
}

.main{
    padding-bottom: 4dvh;
}

.card_img{
    max-height: 10dvh;
}

.card_text{
    margin-left: 10dvw;
    margin-right: 10dvw;
}


.card_title{
    font-size: clamp(1em,6dvw,2.5em);
}

.content{
    color: white;
}

.timeline{
    position: relative;
    margin: 0 auto;

}

.timeline::after{
    content: "";
    position: absolute;
    width: 10px;
    background-color: #fff;
    border-radius: 6px;
    top: 0;
    bottom: 0;
    left: 50%;
    margin: -5px;
}



.container{
    position: relative;
    width: 50%; 
}

.container::after{
    content: "";
    position: absolute;
    width: 25px;
    height: 25px;
    background-color: gold;
    border: 5px black solid;
    border-radius: 50%;
    right: -17px;
    top: 50%;
    z-index: 1000;
}

.gauche{
    left: 0;
    text-align: center;
}

.droit{
    left: 50%;
    text-align: center;
}

.droit::after{
    left: -15px;
}

.gauche::before{
    display: none;
    content: "";
    height: 0;
    width: 0;
    position: absolute;
    top: 50%;
    z-index: 1000;
    right: 30px;
    border: medium solid #fff;
    border-width: 10px 0px 10px 10px;
    border-color: transparent transparent transparent #fff;
}

.droit::before{
    display: none;
    content: "";
    height: 0;
    width: 0;
    position: absolute;
    top: 50%;
    z-index: 1000;
    left: 30px;
    border: medium solid #fff;
    border-width: 10px 10px 10px 0px;
    border-color: transparent #fff transparent transparent;
}


.autoshow{
    animation: autoshow;
    animation-timeline: view(60% auto);
}

@keyframes autoshow {
    from{
        opacity: 0;
        transform: translateY(200px) scale(0.3);
    }
    to{
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    
}



@media (min-width: 786px){

    .title{
        margin: 10dvh;
    }

    .card_text{
    margin-left: 10dvw;
    margin-right: 10dvw;
}

    .card_img{
    max-height: 30dvh;
}

    .main{
    padding-bottom: 10dvh;
}









    .gauche::before{
    display: flex;
    content: "";
    height: 0;
    width: 0;
    position: absolute;
    top: 50%;
    z-index: 1000;
    right: 30px;
    border: medium solid #fff;
    border-width: 10px 0px 10px 10px;
    border-color: transparent transparent transparent #fff;
}

.droit::before{
    display: flex;
    content: "";
    height: 0;
    width: 0;
    position: absolute;
    top: 50%;
    z-index: 1000;
    left: 30px;
    border: medium solid #fff;
    border-width: 10px 10px 10px 0px;
    border-color: transparent #fff transparent transparent;
}

}