html, body {
    height: 100%;
}

body {
   display: flex;
   flex-direction: column;
}

menu {
    border: 0;
}

.menu-list {
    border-bottom: 0;
}

.article-wrapper {
    max-width: 1140px;

    margin: 0 auto;
    padding: 0 20px 70px 20px;

    font-family: 'PFSquareSansPro-Medium', 'Arial', serif;
    font-style: normal;
    font-weight: 400;
    font-size: 21px;
    line-height: 22px;

    color: var(--maintheme-color);
}

.article-wrapper h2 {
    font-size: 28px;
    line-height: 34px;

    text-align: center;

    margin: 50px 0 39px 0;
}

.article-wrapper ul {
    margin: 24px 0 24px 30px;
}

.article-wrapper li {
    list-style: circle;
}

.list-number li {
    list-style: decimal;
}

/*.articles-catalog {
    max-width: 1160px;
    display: flex;
    justify-content: space-between;
}*/

.article-text {
    text-align: justify;
}

footer {
    margin: auto 0 0 0;
    width: 100%;
}

@media screen and (max-width: 1139px) {
    .article-wrapper {
        max-width: 940px;
        padding-bottom: 60px;
    }

    .article-wrapper h2 {
        margin: 49px 0 40px 0;
    }
}

@media screen and (max-width: 939px) {
    .article-wrapper {
        max-width: 630px;
        padding-bottom: 50px;
    }

    .menu-head {
        height: 175px;
    }

    .menu-head-logo, .menu-head-logo img {
        width: 116px;
        height: 116px;
    }

    .menu-head-button-menu img, .menu-head-button-call img {
        width: 45px;
        height: 45px;
    }

    .article-wrapper h2 {
        font-size: 26px; 
        margin: 42px 0 35px 0;
    }
}

@media screen and (max-width: 629px) {
    .article-wrapper {
        max-width: 480px;
        padding-bottom: 45px;
    }

    .menu-head {
        height: 150px;
    }

    .menu-head-logo, .menu-head-logo img {
        width: 100px;
        height: 100px;
    }

    .menu-head-button-menu img, .menu-head-button-call img {
        width: 40px;
        height: 40px;
    }

    .article-wrapper h2 {
        font-size: 23px;
        line-height: 28px;

        margin: 30px 0 28px 0;
    }

    .article-text {
        font-size: 20px;
    }
}

@media screen and (max-width: 479px) {
    .article-wrapper {
        max-width: 388px;
        padding-bottom: 40px;
    }

    .article-wrapper h2 {
        font-size: 21px;
        margin: 28px 0 25px 0;
    }

    .article-text {
        font-size: 20px;
    }

    /*.article-text {
        text-align: left;
    }*/
}

@media screen and (max-width: 387px) {
    .article-wrapper {
        max-width: 320px;
        padding-bottom: 35px;
    }

    .article-text {
        text-align: left;
    }
}

