.history-timeline-component {
    margin-top: 200px;
    padding: 0 20px;
}

.history-timeline-component *,
.history-timeline-component *::before,
.history-timeline-component *::after {
    box-sizing: border-box;
}

.history-timeline-wrapper {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 50px;

    position: relative;
    width: 100%;

    margin-bottom: -570px;
}

.history-timeline-wrapper::after {
    content: '';
    position: absolute;
    width: 5px;
    background: #a8a29c;;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2.5px;
    
    height: calc(100% - 570px);
}

.history-timeline-item {
    position: relative;
    background: inherit;
    width: 50%;
}

.history-timeline-item:nth-child(2) {
    top: -100px;
}

.history-timeline-item:nth-child(3) {
    top: -250px;
}

.history-timeline-item:nth-child(4) {
    top: -250px;
}

.history-timeline-item:nth-child(4) {
    top: -310px;
}

.history-timeline-item:nth-child(5) {
    top: -480px;
}

.history-timeline-item:nth-child(6) {
    top: -570px;
}

.history-timeline-item:nth-child(7) {
    top: -570px;
}

.history-timeline-item:nth-child(8) {
    top: -570px;
}

.history-timeline-item:nth-child(9) {
    top: -570px;
}

.history-timeline-item:nth-child(10) {
    top: -570px;
}

.history-timeline-item
.history-timeline-image {
    top: -110px;
}

/* .history-timeline-item:nth-child(1)
.history-timeline-image {
    top: -110px;
}

.history-timeline-item:nth-child(2)
.history-timeline-image {
    width: 230px;
    top: -140px;
}

.history-timeline-item:nth-child(2)
.history-timeline-image {
    width: 230px;
    top: -120px;
    left: -10px;
}

.history-timeline-item:nth-child(3)
.history-timeline-image {
    width: 230px;
    top: -72px;
    left: -32px;
}

.history-timeline-item:nth-child(4)
.history-timeline-image {
    width: 230px;
    top: -84px;
}

.history-timeline-item:nth-child(5)
.history-timeline-image {
    width: 230px;
    top: -92px;
    left: -48px;
}

.history-timeline-item:nth-child(6)
.history-timeline-image {
    width: 230px;
    top: -118px;
    left: -30px;
} */



.history-timeline-item:before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    top: 0;
    right: 0;
    z-index: 1;
    width: 50px;
    height: 5px;
    background-color: #a8a29c;
}

.history-timeline-item:last-child:before {
    left: 0;
    bottom: 0;
    top: unset;
}

.history-timeline-item.right::before {
    left: 0;
  }

.history-timeline-item.left {
    left: 0;
    padding-right: 100px;
}

.history-timeline-item.right {
    left: 50%;
    padding-left: 100px;
}

.history-timeline-content {
    background-color: var(--palette-600);
    position: relative;
}

.history-timeline-content-text {
    padding: 80px 60px 50px 200px;
}

.history-timeline-image {
    position: absolute;
    /* width: 230px;
    top: -140px; */
    width: 180px;
    top: 0;
}

.history-timeline-image img {
    max-width: 100%;
    height: auto;
}

.history-timeline-date {
    position: absolute;
    margin: 0;
    top: -50px;
    color: #e4602a;
    right: 70px;
}

@media (max-width: 1200px) {
    .history-timeline-component {
        margin-top: 180px;
    }

    .history-timeline-wrapper {
        margin-bottom: 0;
    }

    .history-timeline-wrapper::after {
        left: 50px;
        height: 100%;
    }

    .history-timeline-item {
        left: 50px;
        margin-bottom: 150px;
        width: 90%;
    } 

    .history-timeline-item:last-child {
        margin-bottom: 0;
    }

    .history-timeline-item.left {
        left: 50px;
        padding-right: 0;
    }

    .history-timeline-item.right {
        left: 50px;
        padding-left: 0;
    }
    

    .history-timeline-item.left::before {
        left: -50px;
        right: unset;
    }

    .history-timeline-item.right::before {
        left: -50px;
    }

    .history-timeline-content {
        margin-left: 30px;
    }

    .history-timeline-date {
        top: -35px;
        right: 40px;
    }

    .history-timeline-item:nth-child(2),
    .history-timeline-item:nth-child(3),
    .history-timeline-item:nth-child(4),
    .history-timeline-item:nth-child(4),
    .history-timeline-item:nth-child(5),
    .history-timeline-item:nth-child(6),
    .history-timeline-item:nth-child(7),
    .history-timeline-item:nth-child(8),
    .history-timeline-item:nth-child(9),
    .history-timeline-item:nth-child(10) {
        top: unset;
    }
}

@media (max-width: 640px) { 
    .history-timeline-component {
        margin-top: 100px;
        padding-left: 5px;
    }

    .history-timeline-wrapper::after {
        left: 10px;
        width: 3px;
    }

    .history-timeline-wrapper {
        padding: 0 20px;
    }

    .history-timeline-content {
        margin-left: -30px;
    }

    .history-timeline-item::before {
        left: -60px !important;
        width: 15px;
        height: 3px;
    }

    .history-timeline-image {
        width: 100px;
        top: 0;
    }

    .history-timeline-content-text {
        padding: 110px 20px 40px;
    }

    .history-timeline-date {
        top: -20px;
        right: 20px;
    }

    .history-timeline-item {
        margin-bottom: 100px;
    }

    .history-timeline-item
    .history-timeline-image {
        width: 100px;
        top: -60px;
    }

    /* .history-timeline-item:nth-child(1)
    .history-timeline-image {
        width: 100px;
        top: -60px;
    }

    .history-timeline-item:nth-child(2)
    .history-timeline-image {
        width: 100px;
        top: -50px;
        left: -5px;
    }

    .history-timeline-item:nth-child(3) 
    .history-timeline-image {
        width: 100px;
        top: -32px;
        left: -14px;
    }

    .history-timeline-item:nth-child(4) 
    .history-timeline-image {
        width: 100px;
        top: -36px;
    }

    .history-timeline-item:nth-child(5) 
    .history-timeline-image {
        width: 100px;
        top: -40px;
        left: -20px;
    }

    .history-timeline-item:nth-child(6) 
    .history-timeline-image {
        width: 100px;
        top: -52px;
        left: -12px;
    } */
}