#timeline-wrapper {
    margin: 50px 20px;
}

.timeline-title {
    margin-bottom: -40px;
    text-align: center;
    font-family: Lato, sans-serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 900;
    line-height: normal;
    text-transform: uppercase;
}

.timeline-date {
    margin-bottom: 15px;
}

.timeline-date,
.timeline-text {
    text-align: center;
    font-family: Lato, sans-serif;
    font-style: normal;
    font-weight: 900;
    line-height: normal;
    font-size: 22px;
}

.timeline-text {
    font-weight: 700;
}

#timeline-horizontal {
    display: flex;
    align-items: center;
    position: relative;
    padding: 80px 20px;
    overflow-x: auto;
    white-space: normal;
    justify-content: center;
}

#timeline-horizontal .timeline-bar {
    position: absolute;
    top: 145px;
    transform: translateY(-50%);
    height: 10px;
    background: #EEEEEE;
    z-index: 1;
    box-sizing: border-box;
}

#timeline-horizontal .timeline-item {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin: 0 95px;
    z-index: 2;
    min-width: 0;
}

#timeline-horizontal .timeline-icon {
    background: white;
    border: 3px solid #ffb800;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
    padding: 26px;
}

#timeline-horizontal .timeline-icon svg {
    width: 24px;
    height: 24px;
}

#timeline-horizontal .timeline-content {
    text-align: center;
    margin-top: 10px;
    max-width: 260px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    height: 37px;
    box-sizing: border-box;
}

#timeline-horizontal .timeline-text {
    height: 60px;
}

#timeline-horizontal .timeline-time {
    color: #666;
    font-size: 14px;
}

#timeline-horizontal .timeline-content span,
#timeline-horizontal .timeline-text {
    display: block;
    width: 235px;
}

.timeline-info {
    cursor: pointer;
    width: 24px;
    height: auto;
}

.timeline-tooltip {
    display: none;
    background: #f1f1f1;
    color: black;
    padding: 10px;
    border-radius: 20px;
    white-space: normal;
    width: 350px;
    font-size: 14px;
    z-index: 9999;
    position: absolute;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* RESPONSIVE */

@media (max-width: 1024px) {
    #timeline-wrapper {
        margin: 50px 20px 0px 20px;
    }

    #timeline-horizontal {
        flex-direction: column;
        align-items: flex-start;
        overflow-x: visible;
        padding: 40px 0;
    }

    .timeline-title {
        text-align: left;
        margin-top: -20px;
    }

    #timeline-horizontal .timeline-bar {
        width: 15px !important;
    }

    #timeline-horizontal .timeline-item {
        flex-direction: row;
        align-items: center;
        margin: 30px 0;
    }

    #timeline-horizontal .timeline-date,
    #timeline-horizontal .timeline-text {
        margin-right: 20px;
        font-size: 17px;
    }

    #timeline-horizontal .timeline-time {
        padding: 10px 0;
    }

    #timeline-horizontal .timeline-icon {
        margin-right: 20px;
    }

    .timeline-date,
    .timeline-text {
        text-align: left;
        height: auto !important;
        font-weight: 700;
    }

    #timeline-horizontal .timeline-content {
        text-align: left;
        margin-top: 0;
        max-width: 100%;
        height: auto;
        width: 135px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
    }

    .timeline-content:first-child {
        width: 80px !important;
    }
}