.progressbar {
    counter-reset: step;
}
.progressbar li {
    list-style: none;
    display: inline-block;
    width: 19.33%;
    position: relative;
    text-align: center;
}

.progressbar li:before {
    content: counter(step);
    counter-increment: step;
    width: 60px;
    height: 60px;
    line-height: 56px;
    border: 3px solid #00eda4;
    box-shadow: 0 0 20px #70d69b;
    border-radius: 100%;
    display: block;
    text-align: center;
    font-weight: 900;
    color: #70d69b;
    margin: 0 auto -120px auto;
    background-color: #fff;
}
.progressbar li:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: #ddd;
    top: 30px;
    left: -50%;
    z-index: -1;
}
.progressbar li:first-child:after {
    content: none;
}
.progressbar li.active {
    color: green;
}
.progressbar li.active:before {
    border-color: green;
}
.progressbar li.active + li:after {
    background-color: green;
}

@media (max-width: 991px) {
    .progressbar {
        padding-inline-start: 0;
    }
    .progressbar li {
        width: 100%;
        padding: 3.7rem 0;
    }
    .progressbar li:after {
        /* content: unset; */
        transform: rotate(90deg);
        left: 13%;
        width: 74%;
        top: 81px;
    }

    .progressbar li:first-child:after {
        content: none;
    }
    .progressbar li:last-child:after {
        content: none;
    }
}
