@media (max-width: 1240px) {

}

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

    .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-wrap: wrap;
        justify-content: center;
    }

    h1 {
        text-align: center;
    }

    section.first-screen {
        text-align: center;
    }
}

@media (max-width: 500px) {
    .container {
        padding: 0 12px;
    }

    section.first-screen {
        overflow: hidden;
    }

    section.first-screen .container {
        padding: 0;
    }

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

    .calculator {
        padding: 24px;
        width: 386px;
    }

    h1 {
        font-size: 28px;
    }

    section.first-screen {
        padding-top: 75px;
        background: url("../img/first-screen-mobile-bg.png") no-repeat bottom, #FFFFFF;
        background-size: cover;
        padding-bottom: 200px;
    }

    section.how-it-works h2 {
        margin-bottom: 24px;
    }

    section.get-loan {
        padding-bottom: 20px;
    }

    section.get-loan ul {
        margin-top: 28px;
    }

    section.get-loan ul li img {
        width: 56px;
    }

    section.how-it-works ul li {
        gap: 8px;
    }

    section.how-it-works h3 {
        margin-bottom: 16px;
    }

    .links-list a {
        text-align: center;
        font-size: 16px;
    }

    footer .text {
        text-align: center;
    }

    section.how-it-works {
        padding: 56px 0;
    }

    body {
        background: #FFFFFF;
    }

    section.get-loan ul {
        justify-content: flex-start;
    }

    h3 {
        font-size: 20px;
    }

    section.how-it-works ul li {
        height: 200px;
        padding: 24px;
        border-radius: 32px;
    }

    .text {
        font-size: 16px;
    }

    h2 {
        font-size: 24px;
    }

    .subtitle {
        font-size: 18px;
    }

    header .header__wrapper {
        height: 44px;
    }

    header .header__wrapper .logo img {
        width: 166px;
    }

    header {
        top: 10px;
    }

    .btn.enter-btn {
        height: 38px;
        border-radius: 10px;
    }
}

@media (max-width: 400px) {
    .calculator {
        width: 375px;
    }

    .calculator_wrapper {
        width: 375px;
    }

    .calculator_wrapper > img {
        width: 375px;
    }
}

@media (max-width: 360px) {
    .calculator {
        width: 360px;
    }

    .calculator_wrapper {
        width: 360px;
    }

    .calculator_wrapper > img {
        width: 360px;
    }
}

@media (max-width: 320px) {
    .calculator {
        width: 320px;
    }

    .calculator_wrapper {
        width: 320px;
    }

    .calculator_wrapper > img {
        width: 320px;
    }
}