@media screen and (max-width: 1200px) {
    .header__logo {
        max-height: 32px;
    }

    .absolute_head_contact_block {
        margin-left: auto;
    }

    .servise__img {
        height: 160px;
    }

    .gallery__btn__pos {
        width: 100%;
        gap: 32px;
        left: auto;
        justify-content: center;
    }

    .gallery__btn {
        margin: 0;
    }

    .image__filter {
        height: 120px;
    }

    .gallery__image {
        height: 120px;
    }

    .post__title {
        word-break: break-word;
    }

    .equipment__project {
        flex-wrap: wrap;
        gap: 20px;
    }

    .clients__item {
        height: 100px;
    }

    .contact__box {
        top: 170px;
        max-width: 500px;
    }

    .close-modal {
        left: 95%
    }

    .vacancies__post-img,
    .technology__post-img {
        height: 160px;
    }

    .servise__grid .servise__img,
    .servise__grid .sevise__post-img {
        height: 310px;
    }

    .total-man {
        font-size: 48px;
    }

    .project__post .gallery__image {
        height: 212px;
        background-size: cover;
        background-position: center;
    }

    .project-info__content .alignnone {
        margin: 0 10px;
    }

    .header-btn {
        display: flex;
        width: 50px;
        height: 50px;
        margin-left: auto;
        font-size: 16px;
        font-weight: 600;
        color: var(--white-color, #fff);
        background-color: var(--orange-color, #FF6D2A);
        border-radius: 50px 50px 50px 50px;
        transition: all 0.3s ease-in-out;
    }

    .header-btn:hover {
        background-color: var(--darkBlue-color, #061b49);
    }

    .open-menu {
        display: flex;
        width: 100%;
        height: 100%;
        justify-content: center;
        align-items: center;
    }

    .close-menu {
        display: none;
        width: 100%;
        height: 100%;
        justify-content: center;
        align-items: center;
    }

    .header__content {
        position: relative;
    }

    @keyframes increase-height {
        0% {
            clip-path: inset(0 0 100% 0);
        }

        100% {
            clip-path: inset(0 0 0 0);
        }
    }

    @keyframes decrease-height {
        0% {
            clip-path: inset(0 0 0 0);
        }

        100% {
            clip-path: inset(0 0 100% 0);
        }
    }

    .header__nav {
        position: absolute;
        top: 100%;
        z-index: 2;
        width: 100%;
        height: auto;
        animation: decrease-height 0.3s ease-in forwards;
        /* height: 0; */
        overflow: hidden;
        background-color: var(--darkBlue-color, #061b49);
        color: var(--white-color, #fff);
        transition: all 0.3s ease-in-out;
    }

    .header__nav.active {
        animation: increase-height 0.3s ease-in forwards;
    }

    .nav__list {
        display: block;
    }

    .menu-item {
        height: auto;
        flex-wrap: wrap;
    }

    .menu-item a {
        max-width: 95%;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        padding: 15px 25px;

        font-family: 'Roboto-Bold', sans-serif;
        /* font-weight: bold; */
        font-size: 16px;
        font-style: normal;
        letter-spacing: 1px;

        color: var(--white-color, #fff);
        /* transition: all 0.3s ease-in-out; */
    }

    .menu-item a i {
        display: none;
    }

    .angle {
        display: block;
        cursor: pointer;
    }

    .main-menu .menu-item-has-children:hover .sub-submenu {
        /* display: none; */
    }

    .menu-item-has-children i {
        border-left: 1px solid #fff;
        padding-left: 10px;
        color: white;
    }

    .sub-menu {
        /* display: none; */
        display: block;
        overflow: hidden;
        position: static;
        width: 100%;
        margin: 0;
        padding: 0;
        background-color: inherit;
        transition: height 0.3s ease-in-out;
    }

    .sub-menu:hover {
        display: block;
    }

    .menu-subitem:hover .main-menu {
        /* display: none;    */
    }

    .sub-menu li {
        width: 100%;
    }

    .sub-menu .menu-item-has-children i {
        rotate: -90deg;
    }

    .sub-menu .sub-submenu {
        display: block;
        transition: all 0.3 ease-in-out;
    }

    .our__services,
    .page-section {
        padding: 80px 0;
    }

    .icon__close {
        left: 90%;
    }
}

@media screen and (max-width: 990px) {
    .container {
        max-width: 940px;
    }

    .project__gallery {
        display: grid;
        grid-template-columns: repeat(2, auto);
        row-gap: 20px;
    }

    .image__filter,
    .gallery__image {
        width: 100%;
        max-width: 425px;
        height: 240px;
    }

    .project__box {
        max-width: 425px;
    }

    .clients__grid {
        display: grid;
        grid-template-columns: repeat(2, auto);
        gap: 0;
        justify-content: normal;
    }

    .clients__item {
        padding: 25px 5px;
        max-width: 435px;
        height: 300px;
    }

    .contact__box {
        max-width: 890px;
        left: 50px;
    }

    .footer__content {
        flex-wrap: wrap;
    }

    .content-title {
        font-size: 36px;
    }

    .servise__grid .servise__img,
    .servise__grid .sevise__post-img {
        height: 210px;
    }

    .project__grid {
        display: grid;
        grid-template-columns: repeat(2, auto);
    }

    .contact-grid {
        display: flex;
        flex-direction: column;
    }

    .tab {
        max-width: 100%;
        margin-top: 20px;
    }

    .tab-map__primary {
        max-width: 100%;
        width: 100%;
        height: 470px;
    }

    .tab-map__primary iframe {
        height: 410px;
    }

    /*  */

    .about-client__grid .clients__item {
        height: 200px;
    }

    .about-video__container {
        height: 480px;
    }
}

@media screen and (max-width: 766px) {
    .absolute_head_contact_block {
        position: absolute;
        top: 100%;
        z-index: 3;
        width: 100%;
        padding: 5px 20px;
        border-radius: unset;
        text-align: right;
    }

    .header__nav {
        padding-top: 42px;
    }

    .menu-item a {
        max-width: 90%;
    }

    .intro__content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0;
        right: 20px;
        left: 20px;
    }

    .intro__title {
        font-size: 0.9em;
        letter-spacing: 0.5px;
        line-height: inherit;
        margin: 0 0 40px 0;
    }

    .intro__sub-title {
        margin: 11px 0 20px 0;
    }

    .intro__info-text {
        max-width: 600px;
        font-size: 16px;
    }

    .intro__btn {
        margin-top: 40px;
    }

    .our__colunm {
        grid-template-columns: repeat(2, auto);
    }

    .our__btn {
        grid-column: span 2;
    }

    .servise__img {
        height: 182px;
    }

    .about__player {
        max-width: 100%;
    }

    .about__content {
        flex-wrap: wrap;
    }

    .hentry {
        padding: 0 10px;
    }

    .about__info {
        margin-top: 50px;
    }

    .equipment__project-box {
        width: 100%;
    }

    .equipment__link {
        display: flex;
        flex-direction: column;
    }

    .our__title {
        font-size: 28px;
    }

    .technology__grid {
        grid-template-columns: auto;
    }

    .technology__post {
        max-width: 100%;
    }

    .vacancies__post-img,
    .technology__post-img {
        max-width: 100%;
        height: 450px;
    }

    .technology-content {
        flex-direction: column;
        gap: 40px;
        margin-bottom: 10px;
    }

    .technology-content-info {
        align-items: first baseline;
        grid-template-columns: 64px minmax(100px, 570px);
    }

    .expand {
        width: 64px;
        height: 64px;
        font-size: 34px;
    }

    .total-title {
        font-size: 24px;
        font-weight: 500;
    }

    .technology__text {
        font-size: 16px;
    }

    .equipment__post-img {
        max-width: 100%;
        height: 340px;
    }

    .geplogical-grid {
        grid-template-columns: auto;
        gap: 60px;
    }

    .vacancies-info {
        display: flex;
        flex-direction: column;
    }

    .project__post {
        max-width: 100%;
    }

    .project__post .gallery__image {
        max-width: 100%;
    }

    .project__grid {
        display: grid;
        grid-template-columns: repeat(1, auto);
    }

    /*  */

    .gallery-grid .gallery {
        grid-template-columns: repeat(2, auto);
    }

    /*  */

    .project-info {
        display: flex;
        flex-direction: column;
    }

    .block__text-title,
    .block__text-title-secondary {
        font-size: 24px;
    }

    .project-dopinfo__grid {
        grid-template-columns: auto;
        gap: 30px;
    }

    .project-info__content .alignnone {
        margin: 10px auto;
    }

    .project__link {
        font-size: 32px;
    }

    .info-img__block {
        max-width: 40%;
        height: 150px;
    }

    .info-block-secondary {
        flex-direction: column;
        text-align: center;
    }

    .about-video__container {
        height: 320px;
    }

    .about-client__grid {
        grid-template-columns: repeat(2, auto);
    }

    .about-info__grid {
        grid-template-columns: auto;
    }

    .about-box__img .gallery__image {
        max-width: 100%;
        height: 320px;
    }

    .about-box-text .entry-content p{
        margin: 0 !important;
    }

    .gallery {
        display: grid;
        grid-template-columns: repeat(2, auto);
        gap: 20px;
    }    
}


@media screen and (max-width: 566px) {
    .container {
        max-width: 550px;
    }

    .header__logo {
        max-height: 24px;
    }

    .menu-item a {
        max-width: 88%;
    }

    .intro__btn {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .our__btn {
        width: auto;
        text-align: center;
    }

    .intro__content {
        max-width: 500px;
        left: 20px;
        right: 20px;
    }

    .our__colunm {
        display: flex;
        flex-direction: column;
    }

    .post__wrapper {
        max-width: 100%;
    }

    .servise__post {
        max-width: 100%;
    }

    .servise__img {
        max-width: 100%;
        width: 100%;
        height: 286px;
    }

    .project__gallery,
    .clients__grid,
    .info__grid {
        grid-template-columns: auto;
    }

    .clients__item,
    .image__filter,
    .gallery__image,
    .project__box {
        max-width: 100%;
    }

    .project__box {
        margin: 0;
    }

    .contact__box {
        position: static;
        width: 100%;
    }

    .ya__map {
        height: 400px;
        margin: 25px auto 0;
        max-width: 90%;
        border-radius: 15px;
        position: relative;
        overflow: hidden;
    }

    .content-title {
        font-size: 26px;
    }

    .vacancies__post-img,
    .technology__post-img {
        height: 230px;
    }

    .servise__grid {
        grid-template-columns: auto;
    }

    .servise__grid .servise__img,
    .servise__grid .sevise__post-img {
        height: 200px;
    }

    .equipment__post-img {
        height: 180px;
    }

    .gallery-grid .gallery {
        grid-template-columns: auto;
    }

    .info-img__block {
        height: 70px;
    }

    .tab-nav>label {
        padding: 8px;
    }

    .tab-nav {
        flex-wrap: nowrap;
        text-align: center;
    }

    .about-client__grid .clients__item {
        height: 250px;
    }

    .about-video__container {
        height: 230px;
    }

    .about-client__grid {
        grid-template-columns:auto;
    }

    .about-info__grid {
        row-gap: 40px;
    }

    .about-box__img .gallery__image {
        height: 215px;
    }

    .gallery {
        display: grid;
        grid-template-columns: auto;
        gap: 20px;
    }    
}