.timeline {
    height: fit-content;
    background-image: linear-gradient(#000, #000);
    background-size: 2px 100%;
    background-repeat: no-repeat;
    background-position: center center;
}

.timeline-section {
    /* display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; */
    height: 100%;
    width: 80vw;
    /* position: absolute; */
    z-index: 1000;

}

.timeline-section .year {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}


.timeline-section .year .pill {
    /* background-color: #57655f; */
    background-color: rgb(102, 119, 136);
    border-radius: 10px;
    padding: 5px 10px;
    display: inline-block;
    font-size: 2em;
    font-weight: 600;
    color: white;
    z-index: 100;
}

.timeline-section .card .pill {
    background-color: #6b6b6b;
    border-radius: 10px;
    padding: 5px 10px;
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    z-index: 100;
}

.timeline-section img {
    max-width: 300px;
}

.timeline-section .year .events {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.timeline-section .card {
    background-color: #f5f5f5;
    color: black;
    border-radius: 10px;
    padding: 20px;
    margin: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 300px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.timeline-section .card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
}