.custom-step {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.custom-content {
    text-align: center;
    width: 100%;
    position: relative;
}

.custom-content:not(:last-child):after {
    content: "";
    position: absolute;
    height: 4px;
    width: 50%;
    top: 35%;
    transform: translate(0, -50%);
    background: blue;
}

.custom-content:not(:first-child):before {
    content: "";
    position: absolute;
    height: 4px;
    width: 50%;
    top: 35%;
    left: 0;
    transform: translate(0, -50%);
    background: blue;
}

.custom-dot {
    z-index: 2;
    position: absolute;
    width: 15px;
    height: 15px;
    background: #ffa21d;
    border-radius: 50%;
    top: 35%;
    left: 50%;
    right: 0;
    transform: translate(-50%, -50%);
}

/* css fro maps */
.legend{
    width: 20px;
    height: 20px;
    margin-right: 10px;
    border: 1px solid #ccc;
}

.legend-line{
    width: 40px;
    height: 3px;
    border-radius: 20%;
    margin-right: 10px;
}


/*  */

@media only screen and (min-width: 600px) {
    .custom-content {
        width: 50%;
    }
    .custom-content:not(:last-child):after {
        top: 35%;
    }

    .custom-content:not(:first-child):before {
        top: 35%;
    }

    .custom-dot {
        top: 35%;
    }
}

@media only screen and (min-width: 769px) {
    .custom-content {
        width: 15%;
    }

    .custom-content:not(:last-child):after {
        top: 30%;
    }

    .custom-content:not(:first-child):before {
        top: 30%;
    }

    .custom-dot {
        top: 30%;
    }
}

@media screen and (min-width: 1441px) {
    .custom-content {
        width: 15%;
    }

    .custom-content:not(:last-child):after {
        top: 35%;
    }

    .custom-content:not(:first-child):before {
        top: 35%;
    }

    .custom-dot {
        top: 35%;
    }
}
