.timeline {
    background-color: #357c3c;
    height: 500px;
    color: #fff;
    padding: 30px 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    border-radius: 25px;
    overflow: auto;
}

.timeline ul {
    list-style-type: none;
    border-left: 2px solid #094a68;
    padding: 10px 5px;
}

.timeline ul li {
    padding: 20px 20px;
    position: relative;
    cursor: pointer;
    transition: 0.5s;
}

.timeline ul li span {
    display: inline-block;
    background-color: #064635;
    border-radius: 25px;
    padding: 3px 20px;
    font-size: 15px;
    text-align: center;
}

.timeline ul li .content h3 {
    color: #064635;
    font-size: 17px;
    padding-top: 1px;
    font-weight: bolder;
    transition: 0.5s;
}

.timeline ul li .content p {
    padding: 5px 0px 15px 0px;
    font-size: 15px;
}

.timeline ul li:before {
    position: absolute;
    content: "";
    width: 10px;
    height: 10px;
    background-color: #064635;
    border-radius: 50%;
    left: -11px;
    top: 28px;
    transition: 0.5s;
}

.timeline ul li:hover {
    background-color: #116530;
}

.timeline ul li:hover:before {
    background-color: #0f0;
    box-shadow: 0px 0px 10px 2px #0f0;
}

.timeline ul li:hover .content h3 {
    color: #0f0;
    transition: 0.5s ease-in-out;
}

.timeline ul li:hover span {
    background-color: #0f0;
    box-shadow: 0px 0px 10px 2px #0f0;
    transition: 0.3s ease-in-out;
    color: #064635;
    font-weight: bolder;
}
