.steps {
    padding: 126px 0 121px;
}

.steps h2 {
    color: rgba(0, 0, 0, 0.78);
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 45px;
}

.steps__list {
    counter-reset: section;
    display: flex;
    flex-direction: column;
}

.steps__item {
    width: 50%;
    color: rgba(0, 0, 0, 0.78);
    line-height: normal;
    display: flex;
    gap: 10px;
}

.steps__item::before {
    content: counter(section);
    counter-increment: section;
    font-size: 130px;
    font-weight: 600;
    line-height: 100px;
    width: 88px;
    text-align: center;
}

.steps__item p {
    border-width: 0 0 1px 1px;
    border-color: #111111;
    border-style: solid;
    padding: 15px;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    width: 100%;
    border-bottom-left-radius: 15px;
}

.steps__item:nth-child(2n) {
    flex-direction: row-reverse;
    margin-left: auto;
}

.steps__item:nth-child(2n) p {
    border-width: 0 1px 1px 0;
    text-align: right;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 15px;
}

@media (max-width: 1000px) {
    .steps h2 {
        font-size: 35px;
    }

    .steps {
        padding: 90px 0 90px;
    }
}

@media (max-width: 800px) {
    .steps__item {
        width: 70%;
    }
}

@media (max-width: 720px) {
    .steps {
        padding: 48px 0 90px;
    }

    .steps__item p {
        font-size: 18px;
    }
}

@media (max-width: 500px) {
    .steps {
        padding: 20px 0 90px;
    }
    .steps__item {
        width: 100%;
    }

    .steps__list {
        gap: 23px;
    }

    .steps h2 {
        font-size: 25px;
    }

    .steps__item p {
        font-size: 14px;
    }

    .steps__item::before {
        font-size: 90px;
    }
}