@media screen and (max-width: 1700px) {
    .prime {
        padding: 3% 4%;
    }

    .footer__payments {
        padding: 15px 30px;
    }

    .footer__wrap {
        padding: 15px 30px;
    }

    h1 {
        font-size: 3.7vw;
    }
}

@media screen and (max-width: 1300px) {
    .prime__button.button {
        width: 90%;
        min-width: 0;
        font-size: 4vw;
        line-height: 1.2;
    }
}

@media screen and (max-width: 1200px) {
    .footer__payments ul {
        -webkit-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -moz-box-pack: center;
        justify-content: center;
    }

    .footer__payments img {
        max-height: 30px;
    }

    .prime__logo img {
        max-height: 80px;
    }

    .prime__wrap > * + * {
        margin-top: 20px;
    }

    .prime {
        padding-top: 35px;
        padding-bottom: 35px;
    }
}

@media screen and (max-width: 900px) {
    .footer__payments {
        padding: 15px 20px;
        max-width: -webkit-calc(100% - 350px);
        max-width: -moz-calc(100% - 350px);
        max-width: calc(100% - 350px);
    }

    .footer__payments img {
        max-height: 25px;
    }

    .footer__copyright {
        padding-right: 20px;
    }

    .footer__wrap {
        padding: 15px 20px;
        min-width: 350px;
    }
}

@media screen and (max-width: 800px) {
    .footer {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -moz-box-orient: vertical;
        -moz-box-direction: normal;
        flex-direction: column;
    }

    .footer__wrap {
        -webkit-box-ordinal-group: 2;
        -webkit-order: 1;
        -moz-box-ordinal-group: 2;
        order: 1;
        padding: 24px 30px;
        min-width: 0;
    }

    .footer__copyright {
        padding-right: 40px;
    }

    .footer__payments {
        -webkit-box-ordinal-group: 3;
        -webkit-order: 2;
        -moz-box-ordinal-group: 3;
        order: 2;
        max-width: none;
        padding: 24px 30px;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        background: -webkit-gradient(linear, left top, right bottom, from(#000), to(#501818));
        background: -webkit-linear-gradient(left top, #000, #501818);
        background: -moz-linear-gradient(left top, #000, #501818);
        background: -o-linear-gradient(left top, #000, #501818);
        background: linear-gradient(to right bottom, #000, #501818);
    }

    .footer__payments img {
        max-height: none;
    }

    .prime__image {
        bottom: 0;
        height: 100%;
    }

    .footer__payments ul {
        margin-top: -25px;
        margin-left: -25px;
        width: -webkit-calc(100% + 25px);
        width: -moz-calc(100% + 25px);
        width: calc(100% + 25px);
    }

    .footer__payments li {
        margin-left: 25px;
        margin-top: 25px;
    }
}

@media screen and (max-width: 650px) {
    h1 {
        font-size: 24px;
        line-height: 32px;
    }

    h1 > * + * {
        margin-top: 0;
    }
}

@media screen and (max-width: 500px) {
    .prime {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -moz-box-orient: vertical;
        -moz-box-direction: normal;
        flex-direction: column;
        padding: 35px 0 0;
        -moz-background-size: cover;
        background-size: cover;
        background-repeat: no-repeat;
        background-image: url(../images/bg-small.webp);
    }

    .prime__logo img {
        max-height: 44px;
    }

    h1.prime__title {
        margin-top: 16px;
    }

    .prime__wrap > * + * {
        margin-top: 15px;
    }

    .prime__button.button {
        min-width: 280px;
        width: auto;
        font-size: 24px;
        line-height: 27px;
        padding: 9px 25px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.25);
        border-top: 1px solid rgba(255, 255, 255, 0.25);
        -webkit-box-shadow: 0 0 12px rgba(240, 76, 77, 0.8);
        -moz-box-shadow: 0 0 12px rgba(240, 76, 77, 0.8);
        box-shadow: 0 0 12px rgba(240, 76, 77, 0.8);
    }

    .button:hover {
        border-bottom: 1px solid #F04C4D;
    }

    .footer__wrap, .footer__payments {
        padding: 24px;
    }

    .prime__image {
        position: relative;
        bottom: 0;
        right: 0;
        width: 100%;
        height: auto;
        max-width: none;
        margin-top: -15px;
    }

    .prime__image img {
        display: none;
    }

    .prime__image img ~ img {
        display: block;
    }

    .prime__wrap {
        width: 100%;
        padding: 0 20px;
    }
}

@media screen and (max-width: 400px) {
    .footer__payments li {
        -webkit-box-flex: 0;
        -webkit-flex: 0 1 100%;
        -moz-box-flex: 0;
        flex: 0 1 100%;
    }

    .footer__payments img {
        margin: auto;
    }

    .footer__copyright {
        padding-right: 30px;
    }
}

@media screen and (max-width: 370px) {
    .footer__wrap {
        padding: 20px;
    }

    .footer__copyright {
        padding-right: 20px;
    }
}
