@import url("https://fonts.googleapis.com/css2?family=Poppins&display=swap");
.line {
    position: relative;
}
.line::before {
    content: "";
    width: 100%;
    height: 100vh;
    position: absolute;
    border-radius: 50%/800px;
    right: -5%;
    /* max-width: 40rem; */
    list-style-type: none;
    border-right: 2px solid #888888;
}

.timeline {
    overflow: hidden;
    background-color: #852032;
    color: #fff;
    padding: 0px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}
.timeline ul {
    /* max-width: 40rem; */
    list-style-type: none;
    /* border-left: 2px solid #888888;
    padding: 10px 5px; */
}
.timeline ul li:nth-child(1) {
    transform: translate(-8%, 0%);
}
.timeline ul li:nth-child(2) {
    transform: translate(-3%, 0%);
}
.timeline ul li:nth-child(3) {
    transform: translate(-1%, 0%);
}
.timeline ul li:nth-child(4) {
    transform: translate(0%, 0%);
}
.timeline ul li:nth-child(5) {
    transform: translate(-0.5%, 0%);
}
.timeline ul li:nth-child(6) {
    transform: translate(-2%, 0%);
}
.timeline ul li:nth-child(7) {
    transform: translate(-5%, 0%);
}

.timeline ul li {
    padding: 0.5rem;
    position: relative;
    cursor: pointer;
    transition: 0.5s;
}
.timeline ul li span {
    display: inline-block;
    background-color: #3e3a39;
    border-radius: 25px;
    padding: 2px 5px;
    font-size: 15px;
    text-align: center;
}
.timeline ul li .content h3 {
    color: #34ace0;
    font-size: 17px;
    padding-top: 5px;
}
.timeline ul li .content p {
    padding: 5px 0px 5px 0px;
    font-size: 15px;
}
.timeline ul li:before {
    position: absolute;
    content: "";
    width: 10px;
    height: 10px;
    background-color: #e0da19;
    border-radius: 50%;
    left: -11px;
    top: 28px;
    transition: 0.5s;
}
.timeline ul li:hover {
    background-color: #67222e;
}
.timeline ul li:hover:before {
    background-color: #e0bf19;
    box-shadow: 0px 0px 10px 2px #e0bf19;
}
@media (max-width: 700px) {
    .timeline {
        width: 100%;
    }
    .timeline ul li .content h3 {
        color: #34ace0;
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .line::before {
        content: "";
        height: 130vh;
        position: absolute;
        border-radius: 0;
        right: -5%;
        list-style-type: none;
        border-right: 2px solid #888888;
    }
    .timeline ul li:nth-child(1) {
        transform: translate(-3%, 0%);
    }
    .timeline ul li:nth-child(2) {
        transform: translate(-3%, 0%);
    }
    .timeline ul li:nth-child(3) {
        transform: translate(-3%, 0%);
    }
    .timeline ul li:nth-child(4) {
        transform: translate(-3%, 0%);
    }
    .timeline ul li:nth-child(5) {
        transform: translate(-3%, 0%);
    }
    .timeline ul li:nth-child(6) {
        transform: translate(-3%, 0%);
    }
    .timeline ul li:nth-child(7) {
        transform: translate(-3%, 0%);
    }
}

@media (max-width: 567px) {
    .line::before {
        right: -14%;
    }
}


@media (max-width: 480px) {
    .line::before {
        right: -20%;
    }
}