@media screen and (max-width: 1071px) {
    .wrapper {
        max-width: 768px;
    }

    .top-container {
        padding: 10px 0;
    }

    .top-container__logo-container img {
        max-height: 75px;
        width: auto;
    }
    .top-container__image-item img {
        height: 50%;
    }
    .top-container__title {
        line-height: 75px;
    }

    .wrapper-left {
        width: 270px;
    }

    .wrapper-right {
        width: calc(100% - 270px);
    }

    .banner__title, .banner__footer {
        padding: 15px 30px;
    }

    .banner__title h1 {
        font-size: 22px;
    }

    .banner__items {
        font-size: 14px;
    }

    .banner__button a {
        font-size: 18px;
        padding: 10px 15px;
    }

    .main-container__files-container {
        padding: 15px 30px;
    }

    .files-container__title h1 {
        font-size: 20px;
    }

    .files-container__item {
        flex: 0 0 28%;
        /*min-height: 195px;*/
    }

    .files-container__item-image img {
        /*max-height: 100px;*/
    }

    .files-container__item-title {
        font-size: 14px;
    }
    .files-container__item-cat {
        font-size: 9px;
        font-weight: normal;
    }
    .files-container__item-cat a {
        padding: 2px 4px;
    }

    .footer-container {
        padding: 20px 0;
    }

    .files-container__list-item__image img {
        max-width: 150px;
    }

    .sub-footer__images {
        height: 200px;
    }

    .sub-footer__images img:nth-child(1) {
        width: 40%;
    }

    .sub-footer__images img:nth-child(2) {
        width: 75%;
    }

    .sub-footer__ad-item {
        font-size: 14px;
    }
    .login-form__wrapper h2, .sub-rules__title h2 {
        font-size: 22px;
    }


}

@media screen and (max-width: 796px) {
    .wrapper {
        margin: auto 15px;
    }
    .footer-container ul li {
        margin: 0 10px;
    }
    .files-container__list-item__wrapper {
        display: block;
    }
    .files-container__list-item__image {
        float: left;
    }

}

@media screen and (max-width: 760px) {
    .top-container__logo-container {
        display: inline-flex;
        /*margin-right: 37px;*/
        position: static;
        transform: none;
    }
    .files-container__item {
        /*width: 30%;*/
        flex: 0 0 30%;
        /*min-height: 225px;*/
    }
    /*.files-container__item:nth-child(2n) .files-container__item-wrapper {*/
        /*float: right;*/
    /*}*/
    .files-container__item-image img {
        /*max-height: 150px;*/
    }

    .top-container .wrapper-right {
        display: none;
    }
    .main-container {
        padding: 20px 0;
    }
    .main-container .wrapper-left {
        float: none;
        width: 100%;
        margin: 0 0 20px;
    }
    .nav-menu {
        width: 100%;
    }
    .main-container .wrapper-right {
        float: none;
        width: 100%;
    }
    .footer-container ul li {
        display: block;
        margin: 0;
    }
    .top-container__hamburger {
        display: none;
    }
    .sub-footer__images {
        height: 250px;
    }

}
@media screen and (max-width: 620px) {
    .files-container__item {
        /*width: 45%;*/
        flex: 0 0 45%;
    }
    .files-container__item:nth-child(3n-1) {
        margin-left: 0;
        margin-right: 0;
    }
    .files-container__item:nth-child(2n-1) {
        margin-right: 4%;
    }
    .robot {
        right: 27px;
        top: 25px;
    }
    .robot img {
        width: 75%
    }
    .banner {
        width: calc(100% - 115px);
        background-size: auto;
    }
    .banner__title, .banner__footer {
        padding: 10px 20px;
    }
    .banner__title {
        background-color: inherit;
    }
    .banner__title h1 {
        font-size: 20px;
    }
    .banner__items {
        font-size: 13px;
    }
    .banner__item:before {
        height: 19px;
        width: 19px;
    }
    .banner__button a {
        font-size: 16px;
    }
    .files-container__title h1 {
        font-size: 18px;
    }
    .files-container__item-image img {
        /*max-height: 135px;*/
    }
    .main-container__files-container {
        padding: 15px 20px;
    }

    .main-container__content-section {
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
    }

    .files-container__list-item__title h2 {
        font-size: 16px;
    }
    .files-container__list-item__button a {
        padding: 8px 15px;
    }
    .sub-footer__images {
        height: 200px;
    }
    .sub-footer__ad-item {
        font-size: 13px;
    }
    .login-form {
        margin: 30px 0;
    }
    .login-form__wrapper {
        padding: 20px 0;
    }
    .login-form__wrapper h2, .sub-rules__title h2, .main-container__rules-container h2 {
        font-size: 18px;
    }
    .login-form__form input,.login-form__form select, label.btn {
        width: 90% !important;
    }
    .login-form:after {
        height: 43px;
        width: 109px;
        top: -21.5px;
    }
    .sub-rules__content {
        display: block;
        text-align: center;
    }
    .sub-rules__content > p {
        font-size: 16px;
        margin-bottom: 20px;
    }
    .sub-rules__text {
        text-align: center;
    }
    .main-container__rules-container {
        padding: 15px 20px;
    }
}

@media screen and (max-width: 525px) {
    .sub-footer__images {
        height: 160px;
    }
    .main-container {
        padding: 0;
    }
    .main-container .wrapper {
        margin: 0;
    }
    .footer-container {
        border-top: 2px solid #DADADA;;
    }
    .sub-rules__content {
        margin:0 15px;
    }
    .main-container .wrapper-left {
        width: 94%;
        margin: 20px 3%;
    }
}

@media screen and (max-width: 425px) {
    .banner {
        width: calc(100% - 75px);
    }
    .robot {
        right: -13px;
    }
    .robot img {
        width: 70%
    }
    .triangle {
         display: none;
    }
    .files-container__list-item__descr {
        font-size: 13px;
    }

    .files-container__list-item__image img {
        max-width: 100px
    }

    .pagination__page-item a, .pagination__page-item_active {
        padding: 5px 9px;
    }
    .sub-footer__ad-items {
        flex-direction: column;
    }
    .sub-footer__ad-item {
        margin-bottom: 10px;
    }
    .sub-footer__images img:nth-child(1) {
        display: none;
    }
    .sub-footer__images {
        height: auto;
        padding-bottom: 20px;
    }
    .sub-footer__wrapper {
        padding: 0 30px;
    }
    .sub-footer__images img:nth-child(2) {
        width: 60%;
    }
    .login-form__wrapper {
        padding: 15px 0 0;
    }
    .login-form__form {
        margin: 10px 0;
    }
    .login-form {
        margin: 25px 0;
    }
    .login-form:after {
        height: 32px;
        width: 81px;
        top: -16px;
    }

}
@media screen and (max-width: 350px) {
    .banner {
        width: 100%;
    }
    .robot {
        display: none;
    }
}