.timeline-container {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}


@media(min-width: 992px) {
    .timeline-container {
        left: 50%;
        transform: translateX(-50%);
    }
}

.timeline {
    width: 10px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 5px;
    background: rgb(198,127,100);
    background: -moz-linear-gradient(180deg, rgba(198,127,100,1) 0%, rgba(46,33,28,1) 100%);
    background: -webkit-linear-gradient(180deg, rgba(198,127,100,1) 0%, rgba(46,33,28,1) 100%);
    background: linear-gradient(180deg, rgba(198,127,100,1) 0%, rgba(46,33,28,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#c67f64",endColorstr="#2e211c",GradientType=1);
}

.timeline-horizontal {
    height: 10px;
    width: 100%;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 5px;
    background: rgb(198,127,100);
    background: -moz-linear-gradient(90deg, rgba(198,127,100,1) 0%, rgba(46,33,28,1) 100%);
    background: -webkit-linear-gradient(90deg, rgba(198,127,100,1) 0%, rgba(46,33,28,1) 100%);
    background: linear-gradient(90deg, rgba(198,127,100,1) 0%, rgba(46,33,28,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#c67f64",endColorstr="#2e211c",GradientType=1);
}

.timeline-item {
    position: relative;
    z-index: 2;
    background-color: var(--bg-3);
    color: var(--text-secondary);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.timeline-item.hover {
    transition: all .3s ease;
    
    &:hover {
        width: 40px;
        height: 40px;
    }
}

.timeline-item.hover.selected {
    width: 50px;
    height: 50px;
}

.timeline-content {
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: opacity .3s ease, height .3s ease;
    position: absolute;
    top: 0;
}

.timeline-content.selected {
    opacity: 1;
    height: fit-content;
}

.timeline-pointer {
    overflow: hidden;
    bottom: -100%; 
    left: 50%; 
    transform: translateX(-50%); 
    height: 0; 
    opacity: 0; 
    transition: all .3s ease;
}

.timeline-pointer.selected {
    opacity: 100%;
    height: fit-content;
}

.card-left {
    text-align: right;
}

.card-right {
    text-align: left;
}

@media (max-width: 991px) {
    .card-left,
    .card-right {
        text-align: left;
    }
}