@font-face {
    font-family: 'Rubik';
    src: url('../fonts/Rubik-Variable/Rubik-Variable.woff2') format('woff2');
    font-weight: 100 1000;
    font-optical-sizing: auto;
    font-stretch: 0% 200%;
    font-style: normal;
    font-display: swap;
}

/* ! Офисы и банкоматы, ЖКХ, Мобильные приложения начало */

.list-of-services-container-wrapper * {
    box-sizing: border-box;
}

.list-of-services-container-wrapper {
    --list-of-services-container-max-width: 1350px;

    /* семейства шрифтов начало */
    --font-family-rubik: "Rubik";
    /* семейства шрифтов конец */

    /* цвета начало */

    /* цвета шрифтов начало */

    --font-color-black-2: #030303;
    --font-color-gray-1: #2f2f2f;
    --font-color-green-1: #3a803a;
    --font-color-blue-6: #09a0dd;
    /* цвета шрифтов конец */

    /* цвета фонов начало */
    --background-color-white: #ffffff;
    /* цвета фонов конец */

    /* цвета конец */
    
    font-family: var(--font-family-rubik);
    font-weight: 300;
    line-height: 1.65;
    margin: 0 auto;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;

}

.list-of-services-container {
    max-width: var(--list-of-services-container-max-width);
    margin: 0 auto;
    min-height: 1266px;
    background-size: auto;
    background-image: url("../images/bg-blue-line-gradient.svg");
    background-position: 82% 80px;
    background-repeat: no-repeat;
}

.list-of-housing-and-communal-services-container {
    max-width: var(--list-of-services-container-max-width);
    margin: 0 auto;
    display: grid;
    justify-content: center;
    padding: 1rem 101px 0 119px;
    grid-column-gap: 40px;
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas: "list-of-housing-and-communal-services__left-col list-of-housing-and-communal-services__right-col";
    margin-bottom: 86px;
}

.list-of-housing-and-communal-services__left-col {
    grid-area: list-of-housing-and-communal-services__left-col;
    display: flex;
    flex-direction: column;
    width: 100%;
    font-family: var(--font-family-rubik);
    font-weight: 300;
    font-size: 20px;
    line-height: 24px;
}

.list-of-housing-and-communal-services__right-col {
    grid-area: list-of-housing-and-communal-services__right-col;
    display: flex;
    flex-direction: column;
    width: 100%;
    font-family: var(--font-family-rubik);
    font-weight: 300;
    font-size: 20px;
    line-height: 24px;
}

.list-of-housing-and-communal-services__item {
    --padding-left-after-logo: 65px;
    display: flex;
    justify-content: left;
    align-items: center;
    max-width: 100%;
    width: 100%;
    min-height: 65px;
    height: 100%;
    border-radius: 10px;
    color: var(--font-color-gray-1);
    font-family: var(--font-family-rubik);
    font-weight: 300;
    font-size: 20px;
    line-height: 24px;
    text-decoration: none;
    cursor: pointer;
    transition: 0.3s ease-out all;
    margin-bottom: 20px;
    padding-left: var(--padding-left-after-logo);
}

.list-of-housing-and-communal-services__item:nth-last-child(1) {
    margin-bottom: 0;
}

.list-of-housing-and-communal-services__item-counter {
    position: relative;
    background-size: 56px auto;
    background-image: url("../images/counter-blue-icon.svg");
    background-position: left center;
    background-repeat: no-repeat;
}

.list-of-housing-and-communal-services__item-school-meals {
    background-size: 56px auto;
    background-image: url("../images/school-meals-blue-icon.svg");
    background-position: left center;
    background-repeat: no-repeat;
}

.list-of-housing-and-communal-services__item-cash-register {
    background-size: 56px auto;
    background-image: url("../images/cash-register-blue-icon.svg");
    background-position: left center;
    background-repeat: no-repeat;
}

.list-of-housing-and-communal-services__item-payment-taxes {
    background-size: 56px auto;
    background-image: url("../images/payment-taxes-blue-icon.svg");
    background-position: left center;
    background-repeat: no-repeat;
}

.list-of-housing-and-communal-services__item-payment-sbp {
    background-size: 56px auto;
    background-image: url("../images/payment-sbp-blue-icon.svg");
    background-position: left center;
    background-repeat: no-repeat;
}

.list-of-housing-and-communal-services__item-payment-transport-card {
    background-size: 56px auto;
    background-image: url("../images/transport-card-blue-icon.svg");
    background-position: left center;
    background-repeat: no-repeat;
}

.list-of-housing-and-communal-services__item-payment-transport-card {
    background-size: 56px auto;
    background-image: url("../images/instagram-blue-icon.svg");
    background-position: left center;
    background-repeat: no-repeat;
}

.paymant-using-gorod-orbank-container {
    font-family: var(--font-family-rubik);
    box-sizing: border-box;
    padding: 0 56px 0 56px;

    display: grid;
    align-items: center;
    justify-content: center;
    grid-column-gap: 40px;

    grid-template-columns: repeat(2, 1fr);

    grid-template-areas: "paymant-using-gorod-orbank__left paymant-using-gorod-orbank__right";
    margin-bottom: 94px;
}

.paymant-using-gorod-orbank__left {
    box-sizing: border-box;
    grid-area: paymant-using-gorod-orbank__left;
}

.paymant-using-gorod-orbank__legend {
    box-sizing: border-box;
    font-family: var(--font-family-rubik);
    font-weight: 300;
    font-size: 40px;
}

.paymant-using-gorod-orbank__legend--blue {
    color: var(--font-color-blue-6);
}

.paymant-using-gorod-orbank__legend-link {
    text-decoration: none;
    font-family: var(--font-family-rubik);
    font-weight: 300;
    font-size: 40px;
    color: var(--font-color-blue-6);
    transition: 0.3s ease-out all;
    cursor: pointer;
}

.paymant-using-gorod-orbank__legend-link:hover {
    font-weight: 500;
    color: var(--font-color-blue-6);
}

.paymant-using-gorod-orbank__legend-link:visited {
    text-decoration: none;
    color: var(--font-color-blue-6);
}

.paymant-using-gorod-orbank__right {
    box-sizing: border-box;
    grid-area: paymant-using-gorod-orbank__right;
    width: 100%;
}

.paymant-using-gorod-orbank__logo {
    box-sizing: border-box;
}

.paymant-using-gorod-orbank__logo img {
    box-sizing: border-box;
    max-width: 360px;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

.office-mobile-app-container {
    position: relative;
    font-family: var(--font-family-rubik);
    box-sizing: border-box;
    padding: 0 111px 0 111px;
    width: 100%;
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    justify-content: right;
    margin-bottom: 114px;
}

.office-mobile-app__logo {
    position: absolute;
    top: 0;
    left: 7%;
    z-index: -100;
}

.office-mobile-app__logo img {
    max-width: 450px;
}

.office-mobile-app__title {
    justify-content: right;
    box-sizing: border-box;
    font-family: var(--font-family-rubik);
    font-weight: 300;
    font-size: 40px;
    color: var(--font-color-black-2);
    max-width: 740px;
    text-align: right;

    margin-bottom: 36px;
}

.office-mobile-app__title-link {
    text-decoration: none;
    font-family: var(--font-family-rubik);
    font-weight: 400;
    font-size: 40px;
    color: var(--font-color-green-1);
    transition: 0.3s ease-out all;
    cursor: pointer;
}

.office-mobile-app__title-link:hover {
    font-weight: 500;
    color: var(--font-color-green-1);
}

.office-mobile-app__title-link:visited {
    text-decoration: none;
    color: var(--font-color-green-1);
}

.office-mobile-app__list {
    display: flex;
    flex-direction: column;
}

.office-mobile-app__item {
    --padding-left-after-logo: 111px;
    display: flex;
    justify-content: left;
    align-items: center;
    max-width: 375px;
    width: 100%;
    max-height: 65px;
    min-height: 65px;
    height: 100%;
    border-radius: 10px;
    color: var(--font-color-gray-1);
    font-family: var(--font-family-rubik);
    background-color: var(--background-color-white);
    font-weight: 300;
    font-size: 20px;
    line-height: 24px;
    text-decoration: none;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: 0.3s ease-out all;
    margin-bottom: 10px;

    padding-left: var(--padding-left-after-logo);
}

.office-mobile-app__item:nth-last-child(1) {
    margin-bottom: 0;
}

.office-mobile-app__item-android {
    background-size: 62px auto;
    background-image: url("../images/android-green-icon.svg");
    background-position: 18px center;
    background-repeat: no-repeat;
}

.office-mobile-app__item-ios {
    background-size: 59px auto;
    background-image: url("../images/appstore-green-icon.svg");
    background-position: 18px center;
    background-repeat: no-repeat;
}

.office-mobile-app__item-appgallery {
    background-size: 60px auto;
    background-image: url("../images/huawei-app-gallery-green-icon.svg");
    background-position: 18px center;
    background-repeat: no-repeat;
    padding-right: 1rem;
}

@media screen and (max-width: 1350px) {
    .list-of-housing-and-communal-services-container {
        padding: 1rem 56px 0 56px;
    }

    .office-mobile-app-container {
        padding: 0 56px 0 56px;
    }

    .office-mobile-app__title {
        font-size: 30px;
        line-height: 34px;
    }

    .office-mobile-app__title-link {
        font-size: 30px;
    }
}

@media screen and (max-width: 1220px) {
    .list-of-services-container-wrapper {
        margin-bottom: 134px;
    }

    .office-mobile-app__logo {
        top: 90px;
        left: 56px;
    }

    .office-mobile-app__logo img {
        max-width: 400px;
        width: 100%;
        object-fit: contain;
    }
}

@media screen and (max-width: 1120px) {
    .list-of-housing-and-communal-services-container {
        padding: 1rem 56px 0 56px;
        grid-template-columns: 1fr;
        grid-template-areas:
            "list-of-housing-and-communal-services__left-col"
            "list-of-housing-and-communal-services__right-col";
        margin-bottom: 30px;
    }

    .list-of-housing-and-communal-services__item:nth-last-child(1) {
        margin-bottom: 20px;
    }

    .paymant-using-gorod-orbank__legend {
        font-size: 30px;
    }

    .paymant-using-gorod-orbank__legend-link {
        font-size: 30px;
    }
}

@media screen and (max-width: 930px) {
    .list-of-housing-and-communal-services-container {
        padding: 1rem 30px 0 30px;
    }

    .paymant-using-gorod-orbank-container {
        padding: 0 30px 0 30px;
    }

    .paymant-using-gorod-orbank__legend {
        font-size: 25px;
        line-height: 30px;
    }

    .paymant-using-gorod-orbank__legend-link {
        font-size: 25px;
    }

    .list-of-services-container-wrapper {
        margin-bottom: 150px;
    }

    .office-mobile-app-container {
        padding: 0 30px 0 30px;
    }

    .office-mobile-app__logo {
        top: 90px;
        left: 30px;
    }
}

@media screen and (max-width: 830px) {
    .office-mobile-app__logo img {
        max-width: 360px;
        width: 100%;
        object-fit: contain;
    }
}

@media screen and (max-width: 780px) {
    .office-mobile-app__logo img {
        max-width: 300px;
        width: 100%;
        object-fit: contain;
    }
}

@media screen and (max-width: 720px) {
    .paymant-using-gorod-orbank-container {
        font-family: var(--font-family-rubik);
        box-sizing: border-box;
        padding: 0 30px 0 30px;
        display: grid;
        align-items: center;
        justify-content: center;
        grid-column-gap: 40px;
        grid-row-gap: 40px;
        grid-template-columns: 1fr;
        grid-template-areas:
            "paymant-using-gorod-orbank__left"
            "paymant-using-gorod-orbank__right";
    }

    .paymant-using-gorod-orbank__legend {
        font-size: 35px;
        line-height: 40px;
    }

    .paymant-using-gorod-orbank__legend-link {
        font-size: 35px;
    }

    .office-mobile-app__title {
        font-size: 25px;
        line-height: 30px;
    }

    .office-mobile-app__title-link {
        font-size: 25px;
    }

    .office-mobile-app__logo img {
        max-width: 250px;
        width: 100%;
        object-fit: contain;
    }
}

@media screen and (max-width: 670px) {
    .list-of-services-container-wrapper {
        margin-bottom: 60px;
    }

    .office-mobile-app-container {
        margin-bottom: 60px;
    }

    .office-mobile-app__title {
        margin-bottom: 340px;
    }

    .office-mobile-app__logo {
        top: 90px;
        left: 25%;
        right: 30px;
    }

    .office-mobile-app__logo img {
        max-width: 350px;
        width: 100%;
        object-fit: contain;
    }
}

@media screen and (max-width: 520px) {
    .list-of-housing-and-communal-services__item {
        font-weight: 300;
        font-size: 16px;
        line-height: 19px;
        margin-bottom: 20px;
    }

    .paymant-using-gorod-orbank__legend {
        font-size: 25px;
        line-height: 30px;
    }

    .paymant-using-gorod-orbank__legend-link {
        font-size: 25px;
    }
}

@media screen and (max-width: 420px) {
    .office-mobile-app-container {
        padding: 0 30px 0 30px;
    }

    .office-mobile-app__title {
        font-size: 25px;
        line-height: 30px;
        margin-bottom: 340px;
    }

    .office-mobile-app__title-link {
        font-size: 25px;
    }

    .office-mobile-app__logo {
        top: 120px;
        left: 20%;
        right: 30px;
    }

    .office-mobile-app__logo img {
        max-width: 350px;
        width: 100%;
        object-fit: contain;
    }
}

@media screen and (max-width: 380px) {
    .office-mobile-app__title {
        margin-bottom: 300px;
    }
}

@media screen and (max-width: 360px) {
    .list-of-housing-and-communal-services__item {
        font-weight: 300;
        font-size: 14px;
        line-height: 16px;
        margin-bottom: 12px;
    }

    .paymant-using-gorod-orbank__legend {
        font-size: 20px;
        line-height: 24px;
    }

    .paymant-using-gorod-orbank__legend-link {
        font-size: 20px;
    }

    .office-mobile-app__title {
        font-size: 20px;
        line-height: 24px;
        margin-bottom: 300px;
    }

    .office-mobile-app__title-link {
        font-size: 20px;
    }
}

@media screen and (max-width: 315px) {
    .list-of-housing-and-communal-services__item {
        font-weight: 300;
        font-size: 12px;
        line-height: 14px;
        margin-bottom: 10px;
    }

    .office-mobile-app__logo {
        top: 150px;
    }
}