.step-container {
    justify-self: flex-start;
}
.profile-step-container {
  margin-bottom: 100px;
}

.timeline-bar__dot {
    display: block;
    width: 1em;
    border-radius: 1000em;
    height: 1em;
    background-color: white;
    transition: all .5s ease;
    margin-top: -3px;
}

.timeline-bar__dot.full {
    background-color: var(--success);
    border: 0.2em solid var(--success);
    z-index: 2;
}

.timeline-bar__connector {
    display: block;
    border-radius: 1000em;
    background-color: #fff;
    margin-top: -3px;
}

.timeline-bar__connector.line-connected {
    background-color: var(--success);
}


.circle-border {
    border: 6px solid white;
    height: 70px;
    min-height: 70px;
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    width: 70px;
    min-width: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media screen and (max-width: 579px) {
    .timeline-bar__connector {
        width: 3rem !important;
    }
    .five-steps-container .timeline-bar__connector {
        width: 2.5rem !important;
    }

    .step-text {
        font-size: 0.8rem !important;
    }

    .five-step-text {
        font-size: 0.8rem !important;
    }
    .steps-container  .timeline-dot__active ~ .step-container {
        position: absolute;
        top: 80px;
        left: 8px !important;
    }

}
@media screen and (min-width: 580px) and (max-width: 768px) {
    .two-steps-container .timeline-bar__connector {
        width: 4rem !important;
    }
    .five-steps-container .timeline-bar__connector {
        width: 5rem !important;
    }
    .five-step-text {
        font-size: 1rem !important;
    }
}

@media screen and (max-width: 1200px) {

    .steps-container {
        display: grid;
        grid-template-columns: auto auto;
        align-items: center;
        position: relative;
    }

    .steps-container > .step-container {
        position: absolute;
        top: 25px;
        width: 50px;
        text-align: center;
        left: -15px;
    }
    .steps-container  .timeline-dot__active ~ .step-container {
        position: absolute;
        top: 80px;
        left: 8px;
    }

    .steps-container  .timeline-dot__inactive ~ .step-container > .verification-option {
        margin-left: -5px;
    }

    .timeline-bar__connector {
        width: 5em;
        height: 0.3em;
    }
    .two-step-container {
        margin-bottom: 32px;
    }

    .steps-container > .step-container .small {
        display: none;
    }

    .step-text {
        font-size: 1.25rem;
    }

    .two-step-text {
        font-size: 1.1rem;
    }
    .five-step-text {
        font-size: 1.25rem;
    }
}

@media screen and (min-width: 1200px) {
    .steps-container {
        display: grid;
        grid-template-columns: 70px auto;
        align-items: center;
        position: relative;
        justify-items: center;
    }

    .steps-container > .step-container {
        position: absolute;
        top: -10px;
        grid-column: 2;
        width: 325px;
    }

    .steps-container  .timeline-dot__active ~ .step-container {
        position: absolute;
        margin-left: 2rem !important;
        top: 0px;
    }

    .steps-container > .step-container.notCurrentStep {
        top: -14px;
    }

    .steps-container > .step-container .step-text {
        white-space: nowrap;
        align-self: baseline;
    }

    .timeline-bar__connector {
        height: 5em;
        width: 0.3em;
        grid-column: 1;
    }
 }