.roadmap {
    display: flex;
    justify-content: center;
    width: 100%;
}

.roadmap__container {
    width: 1180px;
    max-width: 95%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 100px;
    color: #1E1E1E;
    padding-bottom: 100px;
}

.roadmap__header {
    color: #1E1E1E;
    font-size: 48px;
    font-weight: 700;
    line-height: 125%;
    letter-spacing: -0.96px;
    margin: 0;
}

.roadmap__about {
    color: #1E1E1E;
    font-size: 18px;
    font-weight: 400;
    line-height: 166.667%;
    margin: 20px 0 82px;
    text-align: center;
    width: 890px;
    max-width: 80%;
}

.roadmap__phases {
    display: flex;
    position: relative;
    flex-wrap: wrap;
    justify-content: space-between;
    flex-direction: column;
    gap: 75px;
}

.roadmap__phase {
    border-radius: 10px;
    width: 42.5%;
    box-shadow: 0px 24px 48px 0px rgba(16, 24, 40, 0.18);
    display: flex;
    flex-direction: column;
    padding: 65px 27px 75px;
    z-index: 4;
    background-color: #fff;
}

.roadmap__row {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.roadmap__row_bottom {
    justify-content: center;
}

.roadmap__arr_row {
    position: absolute;
    top: 20%;
    left: 0;
    right: 0;
    bottom: 0;
    width: 99%;
    height: 0px;
    border: 2px dashed #3F8DE5;
    z-index: 2;
}

.roadmap__arr_row_bottom {
    top: 75%;
}

.roadmap__arr_column {
    position: absolute;
    top: 0;
    left: 55%;
    bottom: 0;
    height: 80%;
    width: 250px;
    border-right: 2px dashed #3F8DE5;
    border-bottom: 2px dashed #3F8DE5;
}

.roadmap__count {
    width: 313px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #3F8DE5;
    color: #FFF;
    font-size: 16px;
    font-weight: 700;
    line-height: 200%;
    text-transform: uppercase;
    border-radius: 5px;
    margin-top: -90px;
}

.roadmap__name {
    color: var(--BLUE, #3F8DE5);
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 100%;
    margin: 43px 0 0;
}

.roadmap__line {
    background: #7B838F;
    width: 100%;
    height: 1px;
    margin: 30px 0 20px;
}

.roadmap__ul {
    margin: 0;
    padding-left: 27px;
    color: #1E1E1E;
    font-size: 16px;
    font-weight: 500;
    line-height: 156.25%;
}

@media screen and (max-width: 1023px) {
    .roadmap__phase {
        padding: 65px 15px;
    }

    .roadmap__count {
        width: 100%;
    }
}

@media screen and (max-width: 767px) {
    .roadmap__header {
        font-size: 36px;
    }

    .roadmap__about {
        font-size: 16px;
        margin-bottom: 60px;
    }

    .roadmap__row {
        flex-direction: column;
        gap: 75px;
    }

    .roadmap__row:last-of-type {
        flex-direction: column-reverse;
    }

    .roadmap__phase {
        width: calc(100% - 30px);
    }

    .roadmap__arr_column {
        left: 50%;
        transform: translateX(-50%);
        width: 0;
    }

    .roadmap__arr_row_bottom {
        display: none;
    }

    .roadmap__arr_row {
        display: none;
    }
}

.roadmap_black .roadmap__header {
    color: #fff;
}

.roadmap_black .roadmap__about {
    color: #fff;
}