@media (max-width: 1460px) {
    body {
        font-size: 14px;
    }
    .container {
        width: 1190px;
    }
    .works__list .work-promo {
        max-height: 200px;
    }
    .logo img {
        width: 60px;
    }
    .index__slider-slide {
        min-height: 260px;
    }
    .index__slider-controls-arrows a {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 1200px) {
    .container {
        width: 980px;
    }
    .works__list .work-promo {
        max-height: 166px;
    }
}

@media (max-width: 991px) {
    .container {
        width: 740px;
    }
    .toggle-menu {
        display: block;
    }
    .header__feedback {
        display: flex;
        align-items: center;
    }
    .header__feedback .btn {
        font-size: 0.9em;
    }
    .header__feedback .btn img {
        width: 10px;
    }
    .toggle-menu__btn {
        background: transparent;
        border: none;
        padding: 0;
        outline: none;
        margin-left: 2em;
    }
    .toggle-menu__btn img {
        width: 23px;
        margin-top: 3px;
    }
    .main-menu ul {
        display: none;
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        background: #fff;
        z-index: 99;
        width: 30%;
        flex-direction: column;
        justify-content: center;
        padding: 2em;
        box-shadow: 2px 1px 5px rgba(0, 0, 0, 0.2);
    }
    .main-menu ul li a {
        padding: 1em 0;
        display: block;
    }
    .about {
        align-items: center;
    }
    .service-item {
        flex-basis: 27.5%;
    }
    .works__index-item {
        flex-basis: 41.7%;
    }
    .works__text {
        flex-basis: 55%;
    }
    .works__text .section-title {
        margin-bottom: 1em;
        margin-top: 0;
    }
    .works__list {
        margin-top: 3em;
    }
    .work-item {
        flex-basis: 32%;
    }
    .works__list .work-promo {
        max-height: 244px;
        flex-grow: 1;
        justify-content: center;
    }
    .footer__container {
        flex-wrap: wrap;
    }
    .footer__widget {
        flex-basis: 45%;
        margin-bottom: 2em;
    }
    .list__theme-icons li .icon {
        flex-basis: 6%;
    }
}

@media (max-width: 768px) {
    .header__bottom {
        display: flex;
        padding: 0.5em 1em;
    }
    #modal {
        padding: 1.5em;
    }
    #modal .feedback-form h3 {
        font-size: 1.2em;
    }
    .input input {
        height: 30px;
    }
    .main-menu ul {
        width: 50%;
    }
    .preview {
        flex-wrap: wrap;
    }
    .preview__image, .preview__text {
        flex-basis: 100%;
    }
    #works-output {
        padding: 0;
    }
    .preview__text {
        padding: 1em 1em 2em;
    }
    .preview__text .section-title {
        font-size: 1.2em;
    }
    .section {
        margin-bottom: 2em;
    }
    .container {
        width: 100%;
    }
    .btn {
        width: unset;
        padding: 0.5em 1em;
    }
    .section-title {
        font-size: 1.3em;
        margin-bottom: 1em;
    }
    .feedback-form h3 {
        margin: 0 0 1em;
    }
    .work-item {
        flex-basis: 100%;
    }
    .works__list {
        margin-top: 0;
    }
    .feedback-form {
        min-width: unset;
    }
    .footer__widget {
        flex-basis: 100%;
    }
    .about {
        flex-direction: column-reverse;
    }
    .service-item {
        flex-basis: 44.5%;
    }
    .works__text {
        flex-basis: 100%;
    }
    .works__index-item {
        flex-basis: 100%;
        margin-top: 2em;
    }
    .sert-item {
        flex-basis: 48%;
    }
    .service-item {
        flex-basis: 43.5%;
        flex-grow: 1;
        margin: 1%;
    }
    .service-item__image img {
        height: 50px;
    }
    .service-item__title {
        font-size: 0.9em;
        margin: 1em 0 0;
    }
    .section-text {
        line-height: 1.5;
    }
    .footer,
    .sert__list,
    .sert__list .section-title,
    .works__list,
    .works__text,
    .service__list,
    .service .section-title,
    .about__text,
    .about__image,
    .sert .section-title {
        padding-right: 1em;
        padding-left: 1em;
    }
    .feedback-form {
        width: 100%;
        margin: 0 1em;
    }
    .index__slider-slide {
        padding: 2em 1em;
    }
    .index__slider-slide-content-wrap {
        max-width: 280px;
    }
    .index__slider-controls-social {
        padding-bottom: 0;
    }
    .index__slider-title {
        font-size: 1.2em;
    }
    .index__slider-description {
        font-size: 0.9em;
    }
    .index__slider-controls-arrows a {
        width: 40px;
        height: 40px;
    }
    .index__slider-controls-arrows a img {
        width: 15px;
        height: 15px;
    }
    .index__slider-controls-social-wrap a,
    .index__slider-current-slide {
        font-size: 1em;
    }
    .index__slider-slide-count-list ul li button {
        width: 15px;
        height: 5px;
    }
    .index__slider-slide-count {
        padding: 0 0 0.5em;
    }
    .index__slider-current-slide {
        right: 1em;
    }
    .header__contacts.container {
        flex-wrap: wrap;
        font-size: 0.9em;
    }
    .header__contacts-phone, .header__contacts-email {
        flex-basis: 100%;
    }
    .header__contacts-phone {
        margin-bottom: 0.4em;
    }
    .header__contacts-email {
        margin-left: 0;
    }
    .header__contacts a {
        margin-left: 0.5em;
    }
    .logo img {
        width: 50px;
    }
    .page-heading {
        height: 300px;
    }
    .page-heading__title {
        font-size: 1.2em;
    }
    .special-page__content {
        padding: 0 1em;
    }
    .special-page__content .works__list,
    .special-page__content .sert__list {
        padding: 0;
    }

}


