@media (max-width: 1240px) {
    section.for-loan .for-loan-wrapper {
        flex-direction: column;
        align-items: center;
    }


}

@media (max-width: 1024px) {
    .footer-info-list {
        flex-direction: column;
        align-items: center;
    }

    .footer-text {
        text-align: center;
        margin: 0 auto;
    }

    .footer-text.black {
        margin-bottom: 36px;
    }

    .links-list {
        flex-direction: column;
        align-items: center;
    }


    footer .text.black {
        text-align: center;
        margin: 0 auto;
    }

    h4 {
        text-align: center;
    }

    footer {
        padding-bottom: 56px;
    }

    footer .footer__wrapper > img {
        margin-inline: auto;
        margin-bottom: 24px;

    }

    footer .additional-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    section.first-screen .first-screen__wrapper {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    section.first-screen .container {
        background: url("../img/first-screen-mobile-bg-img.png") bottom center no-repeat;
        padding-bottom: 380px;
    }

}

@media (max-width: 650px) {
    section.for-loan .for-loan-wrapper .left img {
        width: 100%;
    }
}

@media (max-width: 500px) {
    section.how-it-works {
        padding: 70px 0;
    }

    section.for-loan ul li {
        min-height: auto;
        padding-bottom: 56px;
    }

    section.for-loan .for-loan-wrapper .left img {
        margin-top: 24px;
    }

    section.for-loan {
        padding-bottom: 70px;
    }

    section.first-screen {
        padding-top: 48px;
    }

    section.first-screen .first-screen__wrapper h1 {
        font-size: 28px;
        margin-bottom: 12px;
    }

    footer {
        padding: 56px 0;
    }

    .footer__wrapper {
        gap: 24px;
    }

    h2 {
        font-size: 24px;
    }

    h3.subtitle {
        font-size: 18px;
    }

    header .header__wrapper {
        height: 44px;
        padding-top: 24px;
    }

    header .header__wrapper a img {
        width: 126px;
        margin-bottom: -8px;
    }

    section.first-screen .container {
        background-size: 350px;
        padding-inline: 0;
    }

    .calculator {
        padding: 24px;
    }

    section.first-screen .first-screen__wrapper .text-content {
        padding: 0 12px;
    }

    header .header__wrapper .enter-btn {
        height: 38px;
        width: 95px;
        font-size: 14px;
    }

    header .header__wrapper .enter-btn img {
        width: 18px;
    }

    section.how-it-works ul {
        margin-top: 24px;
    }
}

@media (max-width: 430px) {
    section.how-it-works ul li .item-header img {
        transform: scale(.8);
        margin-bottom: -21px;
    }

    section.how-it-works ul li:nth-child(2) .item-header img {
        margin-right: -22px;
    }

    section.first-screen .container {
        padding-bottom: 320px;
    }
}