#timeline-content {
    margin-top: 50px;
    text-align: center;  
}

.timeline {
    border-left: 4px solid #004ffc;
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;    
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Chivo', sans-serif;  
    margin: 50px auto;  
    letter-spacing: 0.5px;   
    position: relative;
    line-height: 1.4em;
    font-size: 1.03em;   
    padding: 50px;   
    list-style: none;
    text-align: right;  /* Added property */
    font-weight: 100;  
    max-width: 30%; 
}
@media (max-width: 768px) {
    .timeline {
        max-width: 100%;
    }
    .timeline .event:before {
        left: 0;
        text-align: left;
        content: attr(data-date) " - " attr(data-text);
    }
}

.timeline p {
    font-weight: 300;
}

.timeline a { 
    color: #6c6d6d;
    text-decoration: none;
    text-transform: uppercase;
    display: block;
    letter-spacing: .3em;
    font-size: .6em;
    font-weight: 400;
    background: #252727;
    padding: .3rem 1rem;
    margin: 1.9rem 0 0 0;
    float: right;
}

.timeline a:hover { 
    color: #fff;
    background: #004ffc;
    border-bottom: .35em solid black;
}

.timeline strong {
    font-weight: 600;
}

.timeline h1 {
    font-family: 'Saira', sans-serif;
    letter-spacing: 1.5px;
    color: #fff;  
    font-weight: 400;
    font-size: 2.4em;
}

.timeline h2, 
.timeline h3 {
    font-family: 'Saira', sans-serif;
    letter-spacing: 1.5px;
    font-weight: 400;
    font-size: 1.4em;
}

.timeline .event {
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
    margin-bottom: 50px;  
    position: relative;
    transition: background-color 0.3s; 
}

.timeline .event:last-of-type { 
    padding-bottom: 0;
    margin-bottom: 0; 
    border: none;      
}

.timeline .event:before, 
.timeline .event:after {
    position: absolute;
    display: block;
    top: 0;
}

.timeline .event:before {
    left: -215px;    
    color: rgba(255, 255, 255, 0.4);    
    content: attr(data-date);
    text-align: right;
    font-weight: 100;    
    font-size: 0.9em;
    min-width: 120px;
    font-family: 'Saira', sans-serif;
}

.timeline .event:after {
    box-shadow: 0 0 0 4px rgba(0, 79, 204, 1);
    position: absolute;
    left: -57.5px;
    top: 50%;
    transform: translateY(-50%);
    background: #2d2f31;
    border-radius: 50%;
    height: 10px;
    width: 10px;
    content: "";
}
