.timeline-wrapper {
    position: relative;
    width: 75%;
    max-width: 800px;
    margin: 0 auto;
}

.timeline {
    position: relative;
    margin: 0 auto;
    padding: 20px;
}

.timeline-indicator-mask {
    position: absolute;
    width: 10px;
    height: 100%;
    border-radius: 5px;
    overflow: hidden;
    z-index: 2;
}

@media (min-width: 600px) {
    .timeline-indicator-mask {
        left: 50%;
    }
}

.timeline-indicator {
    position: absolute;
    width: 100%;
    height: 100%;
    transform: translateY(-100%);
    transition: transform 0.3s ease-out;
    border-radius: 5px;
}

.timeline-event {
    position: relative;
    width: 50%;
    margin-bottom: 20px;
    padding: 15px;
    clear: both;
    z-index: 1;
    background-color: #00000010;
    backdrop-filter: blur(10px);
    border-radius: 10px;
    box-shadow: none;
}
.timeline-event::before {
    transition: background 0.3s ease-in-out;
    display: inherit;
    width: 100%;
    position: absolute;
    inset: 0;
    border-radius: 10px;
    padding: 1px;
    background: repeating-linear-gradient(30deg, #FFFFFF40, #FFFFFF90, #FFFFFF40 150px);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}
.timeline-event:hover::before {
    display: inherit;
    width: 100%;
    position: absolute;
    inset: 0;
    border-radius: 10px;
    padding: 1px;
    background: linear-gradient(45deg, #FF6E40, #ffaa00);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

/* Desktop Timelines */
@media (min-width: 600px) {
    /* On the right */
    .timeline-event:nth-child(odd) {
        float: right;
        text-align: right;
        left: 40px;
    }

    /* On the left */
    .timeline-event:nth-child(even) {
        float: left;
        text-align: left;
        right: 30px;
    }
}

/* Mobile Timelines */
@media (max-width: 600px) {
    .timeline-event {
        text-align: right;
        width: auto;
    }
}

/* Dot Styling */
.timeline-dot {
    position: absolute;
    width: 45px;
    height: 10px;
    border-radius: 5px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

/* Desktop Dots */
@media (min-width: 600px) {
    /* Right sides*/
    .timeline-event:nth-child(odd) .timeline-dot {
        left: -40px;
    }

    /* Left sides*/
    .timeline-event:nth-child(even) .timeline-dot {
        right: -40px;
    }
}

/* Mobile Dots*/
@media (max-width: 600px) {
    .timeline-event .timeline-dot {
        left: -40px;
    }
}

/* Timeline Time */
.timeline-time {
    display: block;
    font-weight: bold;
    margin-top: 10px;
    color: #FF6E40;
}

/* Timeline Content */
.timeline-content {
    margin: 15px 0;
}

/* Timeline Event Title */
.timeline-event h3 {
    margin-top: 0;
    color: #ffaa00;
}

/* Timeline Images */
.timeline-event img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 10px 0;
}