@media screen and (max-width: 1600px) {
    .logo_header {
        padding: 21px 0;
    }

    .main-menu__link {
        padding: 34px 25px;
    }

    .connection-button {
        margin: 21px 0 21px 15px;
    }

    .first-screen {
        padding-top: calc(87px + 54px);
    }

    .first-screen__title {
        font-size: 3em;
    }

    .first-screen_contacts {
        margin: 60px 0 60px;
    }

    .services,
    .projects,
    .our-partners,
    .reviews,
    .last-news,
    .wrap_feedback-contacts {
        padding: 55px 11.98%;
    }

    .title_section {
        font-size: 3.5em;
    }

    .services__all {
        grid-column-gap: 90px;
        grid-row-gap: 60px;
    }

    .projects__slogan {
        margin-bottom: 55px;
    }

    .projects__item {
        height: 540px;
    }

    .feedback__title, .contacts__title {
        font-size: 2.7em;
    }

    .feedback {
        padding-left: 0;
    }

    .footer {
        padding: 30px 4.17% 40px;
    }

    #top-button {
        bottom: 32px;
        right: 50px;
    }
}

@media screen and (max-width: 1366px) {
    body {
        font-size: 14px;
    }

    .breadcrumb_top {
        padding-top: calc(84px + 54px);
        padding-left: 5%;
    }

    .first-screen {
        padding: 0 5%;
        padding-top: calc(84px + 54px);
    }

    .first-screen__text {
        width: 49.5%;
        padding-left: 2.91%;
    }

    .first-screen__slogan {
        width: 92%;
    }

    .services,
    .projects,
    .our-partners,
    .reviews,
    .last-news,
    .wrap_feedback-contacts {
        padding: 55px 5%;
    }

    .services__slogan {
        width: 53.9%;
    }

    .services__item {
        margin-bottom: 10px;
    }

    .projects__item {
        height: 500px;
    }
    .last-news__item {
        height: 318px;
    }
}

@media screen and (max-width: 1080px) {
    .main-menu__link {
        padding: 34px 15px;
    }

    .first-screen__text {
        padding-left: 0;
    }

    .choose__btn {
        padding: 6px 22px;
    }

    .services__all {
        grid-template-columns: repeat(3, 1fr);
    }

    .projects__item {
        height: 400px;
    }

    .our-partners__item {
        width: 70%;
    }

    .reviews__block {
        width: 70%;
    }

    .last-news__list {
        grid-template-columns: repeat(2, 1fr);
    }

    .last-news__item {
        height: 348px;
    }

    .feedback__input,
    .feedback__checkbox-list {
        width: 455px;
    }

    .feedback__file-label {
        bottom: 2px;
    }

    .footer {
        display: flex;
        flex-direction: column;
    }

    .main-menu_footer {
        margin-left: 15px;
        margin-top: 20px;
    }
}

@media screen and (max-width: 940px) {
    .connection-button {
        display: none;
    }

    body {
        font-size: 12px;
    }

    .first-screen {
        padding: 0 5%;
        padding-top: calc(82px + 40px);
    }

    .first-screen__title {
        font-size: 2.5em;
    }
    .title_section {
        font-size: 2.7em;
    }

    .feedback__title, .contacts__title {
        font-size: 2.4em;
    }

    /*Reviews*/
    .logo-nav_reviews {
        margin: 20px auto 40px;
    }
}

@media screen and (max-width: 768px) {
    .breadcrumb_top {
        padding-top: calc(84px + 20px);
    }

    .wrap_feedback-contacts {
         flex-direction: column;
     }

    .feedback__input,
    .feedback__checkbox-list {
        width: 100%;
    }

    .feedback__button {
        margin-top: 22px;
        margin-bottom: 40px;
    }
}

@media screen and (max-width: 650px) {
    /*Burger-menu*/
    .wrap_menu {
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
    }

    .main-menu__link_active {
        color: #FF4343;
        border-top: 2px solid #fff;
    }

    .main-menu__link:hover {
        color: #FF4343;
        transition-duration: 550ms;
        border-top: 2px solid #fff;
    }

    .connection-button {
        display: block;
        padding: 13px 30px;
        margin-left: 15px;
        font-size: 0.833em;
    }

    .main-menu_header .main-menu__burger {
        margin-left: 30px;
        background-image: url("../img/sprites_main-menu.png");
        background-position: -29px -26px;
        width: 24px;
        height: 18px;
    }

    .main-menu_header .main-menu__cross {
        margin-left: 30px;
        background-image: url("../img/sprites_main-menu.png");
        background-position: -1px -25px;
        width: 24px;
        height: 22px;
    }

    .main-menu_header .main-menu__list {
        box-sizing: border-box;
        position: absolute;
        top: 79px;
        left: 0;
        z-index: 100;
        background-color: #fff;
        width: 100%;
        height: calc(100vh - 79px);
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        justify-content: center;
        transition-duration: 700ms;
        transform: translateX(0);
    }


    .main-menu_header .visuallyhidden_02 {
        transform: translateX(150vh);
        transition-duration: 700ms;
    }

    .main-menu_header .main-menu__item {
        display: block;
        width: 100%;
    }

    .main-menu_header .main-menu__link {
        padding: 20px 4.17%;
        font-size: 2em;
    }

    .main-menu_header .main-menu__item:first-child{
        margin-top: -60px;
    }

    .main-menu_header .main-menu__item:last-child {
        justify-self: flex-end;
        align-self: flex-end;
    }

    /*Submenu*/
    .main-menu_header .main-menu__item {
        position: relative;
    }

    .main-menu__submenu_header {
        width: 100%;
        box-sizing: border-box;
        transform: translateX(150vh);
        transition-duration: 700ms;
    }

    .main-menu__item:hover .main-menu__submenu_header {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 10;
        height: calc(100vh - 79px);
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        justify-content: center;
        transition-duration: 700ms;
        transform: translateX(0);
    }

    .main-menu__submenu:before {
        content: none;
    }

    /*First-screen*/
    .first-screen {
        padding: 0;
    }

    .first-screen_main-content {
        display: flex;
        justify-content: space-between;
        flex-direction: column-reverse;
    }

    .wrap_video-box {
        width: 100%;
    }

    .first-screen__video-btn {
        top: auto;
        left: 5%;
        bottom: -35px;
    }

    .first-screen__text {
        padding: 0 5% 55px;
        width: 75%;
    }

    .first-screen__title {
        margin-top: 75px;
    }

    .first-screen__slogan {
        width: 100%;
        margin-bottom: 28px;
    }

    .first-screen_contacts {
        display: none;
    }

    /*Breadcrumbs*/
    .breadcrumb_first-screen {
        margin-top: 28px;
        margin-bottom: 28px;
        width: 90%;
    }

    /*Services*/
    .services__all {
        grid-template-columns: repeat(2, 1fr);
    }

    .services__slogan {
        width: 85%;
    }

    .services__item {
        display: none;
    }

    .services__item:first-child {
        display: block;
        text-align: center;
        font-size: 1.5em;
    }

    /*Projects*/
    .projects__main-title {
        display: none;
    }

    .projects__main-title_adaptive {
        display: block;
    }

    .projects__slogan {
        width: 85%;
    }

    .projects__list {
        display: block;
    }

    .projects__item {
        display: block;
        height: 500px;
    }

    /*Our Partners*/
    .our-partners {
        display: none;
    }

    .our-partners_mobile {
        display: block;
        padding: 55px 5%;
    }

    .our-partners_mobile .our-partners__title {
        text-align: center;
        margin-bottom: 55px;
    }

    .our-partners_mobile .our-partners__list {
        display: flex;
        align-items: stretch;
        justify-content: space-around;
        flex-wrap: wrap;
    }

    .our-partners_mobile .our-partners__item {
        width: 38%;
        padding-bottom: 60px;
        list-style: none;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .our-partners_mobile .our-partners__link {
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        max-height: 150px;
        overflow: hidden;
    }

    .our-partners_mobile .our-partners__logo {
        max-width: 80%;
        max-height: 150px;
    }

    /*Reviews*/
    .reviews {
        display: none;
    }

    .clients {
        display: block;
        padding: 55px 5%;
        background-color: #FCFCFC;
    }

    .clients__title {
        text-align: center;
        margin-bottom: 55px;
    }

    .clients__list {
        display: flex;
        align-items: stretch;
        justify-content: space-around;
        flex-wrap: wrap;
    }

    .clients__item {
        width: 38%;
        padding-bottom: 60px;
        list-style: none;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .clients__link {
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        max-height: 150px;
        overflow: hidden;
    }

    .clients__logo {
        max-width: 80%;
        max-height: 150px;
    }

    /*News*/
    .last-news {
        display: none;
    }

    /*Contacts*/
    .feedback__title, .contacts__title {
        font-size: 2.7em;
    }

    .feedback__button {
        float: none;
    }

    #top-button {
        background-size: 21px 13px;
        width: 30px;
        height: 30px;
        bottom: 32px;
        right: 30px;
    }
}

@media screen and (max-width: 480px) {
    .logo_header {
        width: 130px;
    }

    .connection-button {
        display: block;
        padding: 8px 16px;
        margin-left: 15px;
        font-size: 0.833em;
    }

    .main-menu_header .main-menu__burger {
        margin-left: 16px;
        background-image: url("../img/sprites_main-menu.png");
        background-position: -32px -3px;
        width: 20px;
        height: 14px;
    }

    .main-menu_header .main-menu__cross {
        margin-left: 16px;
        background-image: url("../img/sprites_main-menu.png");
        background-position: -3px 0;
        width: 20px;
        height: 18px;
    }

    .main-menu_header .main-menu__list {
        top: 69px;
        height: calc(100vh - 69px);
    }

    .first-screen__title {
        font-size: 1.667em;
        text-transform: none;
    }

    .first-screen__video-box {
        height: 350px;
    }

    .slogan {
        font-size: 1.167em;
    }

    .services,
    .projects,
    .reviews,
    .last-news,
    .wrap_feedback-contacts {
        padding: 25px 5%;
    }

    .title_section {
        font-size: 2em;
    }

    .title_sm {
        font-size: 20px;
    }

    .services__all {
        grid-column-gap: 40px;
        grid-row-gap: 40px;
    }

    .projects__slogan {
        margin-bottom: 38px;
    }

    .projects__list {
        display: block;
        margin: 0 -5%;
    }

    .projects__item {
        height: 420px;
        margin-bottom: 10px;
    }

    .projects__link {
        padding: 42px 20px;
    }

    .projects__link:hover .projects__link__arrow {
        transform: translateX(-20px);
    }

    .feedback__title, .contacts__title {
        font-size: 2em;
    }

    .feedback__button {
        width: 50%;
    }

    .footer {
        display: block;
        text-align: center;
        padding: 40px 0;
        font-size: 1.125em;
        line-height: 1.22;
    }

    .logo_footer {
        width: 45px;
    }

    .main-menu_footer {
        display: none;
    }

    .copyright {
        display: block;
        font-size: 1.125em;
        line-height: 1.22;
        margin-top: 15px;
    }

    #top-button {
        bottom: 20px;
        right: 20px;
    }
}

@media screen and (max-width: 420px) {
    .breadcrumb__link {
        font-size: 1em;
    }

    .first-screen__link {
        font-size: 1em;
    }

    .projects__item {
        height: 390px;
    }
    
     /*404 Error*/
    .error__title {
        font-size: 12.5em;
    }

}

@media screen and (max-width: 350px) {
    .projects__item {
        height: 325px;
    }
}