@import url("https://fonts.googleapis.com/css?family=Cardo|Pathway+Gothic+One");
/* Example of a media query for mobile phones */
@media only screen and (max-width: 600px) {
    /* CSS styles specific to mobile phones */
}

.timeline {
    display: flex;
    margin: 0 auto;
    flex-wrap: wrap;
    flex-direction: column;
    max-width: 1000px;
    position: relative;
}
.timeline__content-title {
    font-weight: normal;
    font-size: 30px;
    margin: -10px 0 0 0;
    transition: 0.4s;
    padding: 0 10px;
    box-sizing: border-box;
    font-family: Montserrat, sans-serif;
    color: #f6f3c3;
}
.timeline__content-desc {
    margin: 0;
    font-size: 15px;
    box-sizing: border-box;
    color: rgba(255, 255, 255, 0.7);
    font-family: Montserrat;
    font-weight: normal;
    line-height: 1.6;
    margin-bottom: 15px; /* Espace entre les lignes de tirets */
}
.timeline:before {
    position: absolute;
    left: 40px !important;
    width: 2px;
    height: 100%;
    margin-left: -1px;
    content: "";
    background: rgba(255, 255, 255, 0.07);
}
@media only screen and (max-width: 767px) {
    .timeline:before {
        left: 40px;
    }
}
.timeline-item {
    padding: 60px 0 !important;  
    opacity: 0.2; 
    filter: blur(4px); 
    transition: all 0.6s ease-in-out; 
    box-sizing: border-box;
    width: calc(100% - 120px) !important;
    margin-left: 120px !important;
    display: flex;
    position: relative;
    align-self: flex-start !important;
}
.timeline-item:before {
    content: attr(data-text);
    letter-spacing: 3px;
    width: 100%;
    position: absolute;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    font-family: Montserrat, sans-serif;
    border-left: 2px solid rgba(255, 255, 255, 0.5);
    top: 50%;
    left: -65px; /* Positionne la date à gauche de la ligne */
    padding-left: 15px;
    opacity: 0;
    text-align: left;
}
.timeline-item:nth-child(even) {
    align-self: flex-start !important;
}
.timeline-item:nth-child(even):before {
    right: auto;
    text-align: left;
    left: -65px;
    padding-left: 0;
    border-left: 2px solid rgba(255, 255, 255, 0.5);
    border-right: 0;
    padding-right: 15px;
}
.timeline-item--active {
    opacity: 1 !important;
    filter: blur(0px) !important;
}
.timeline-item--active:before {
    top: 50%;
    transition: 0.3s all 0.2s;
    opacity: 1;
}
.timeline-item--active .timeline__content-title {
    margin: 0 0 20px 0 !important; 
    transition: 0.4s;
}

@media only screen and (max-width: 767px) {
    .timeline-item {
    padding: 80px 0;           
    opacity: 0.2;              
    filter: blur(2px);
    transition: all 0.6s ease-out; 
    box-sizing: border-box;
    width: calc(100% - 120px) !important;
    margin-left: 120px !important;
    display: flex;
    position: relative;
    transform: translateY(20px); 
    align-self: flex-start !important;
}
    .timeline-item:before {
        left: 10px !important;
        padding: 0 !important;
        top: 50px;
        text-align: center !important;
        width: 60px;
        border: none !important;
        content: attr(data-text);
    }
    .timeline-item:last-child {
        padding-bottom: 40px;
    }
}

.timeline-container {
    width: 100% !important;
    position: relative !important;
    padding: 80px 0;
    background-image: url('../img/archives/img_2024.jpg') !important; 
    background-attachment: fixed !important; 
    background-size: cover !important;
    background-position: center !important;
    min-height: 100vh;
    z-index: 1;
}
.timeline-container:before {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 28, 57, 0.75);
    content: "";
}
.timeline-header {
    width: 100%;
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}
.timeline-header__title {
    margin: 10% 0 35px;
    font-size: 45px;
    font-family: "atami", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 300;
    letter-spacing: 1px;
    color: #f6f3c3;
}
.timeline-header__subtitle {
    color: rgba(255, 255, 255, 0.5);
    font-family: "atami", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    letter-spacing: 5px;
    margin: 5px 0 0 0;
    font-weight: normal;
}
.timeline__date-style {
    display: block;
    font-family: Montserrat, sans-serif;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5); 
    border-left: 2px solid #f6f3c3; 
    padding-left: 15px;
    margin-bottom: 40px; 
    margin-top: 2px;
    line-height: 1.5
}
.demo-footer {
    padding: 60px 0;
    text-align: center;
}
.demo-footer a {
    color: #999;
    display: inline-block;
    font-family: "atami", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

