@media (max-width:1200px) {
    .about__img {
        max-width: 400px;
        width: 100%;
    }

    .about__img img {
        width: 100%;
    }

    .about__desc_links {
        margin-top: 50px;
    }

    .about__desc_text {
        max-width: initial;
    }

    .action {
        width: 70px;
        height: 70px;
    }

    .action img {
        width: 40px;
    }

    .projects__contact-left{
        max-width: 500px;
    }
}

@media (max-width:992px) {
    .nav__list {
        gap: 30px;
    }

    .header__content_title {
        font-size: 56px;
    }

    .about__top {
        flex-direction: column;
        gap: 40px;
    }

    .about__bottom {
        grid-template-columns: repeat(2, 222px);
        gap: 40px;
        justify-content: center;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 300px;
    }

    .gallery__box img {
        object-fit: cover;
    }

    .gallery__box:nth-of-type(1) {
        grid-row: 1 / 2;
        grid-column: span 2;
    }

    .gallery__box:nth-of-type(2) {
        grid-row: 2 / 3;
        grid-column: span 2;
    }

    .gallery__box:nth-of-type(3) {
        grid-row: 3 / 4;
        grid-column: span 1;
    }

    .gallery__box:nth-of-type(4) {
        grid-row: 3 / 4;
        grid-column: span 1;
    }

    .gallery__box:nth-child(2) .gallery__box_title {
        font-weight: 400;
        font-size: 26px;
    }
    
    .gallery__box:not(:first-child) .gallery__box_title {
        font-size: 16px;
    }
} 

@media (max-width:830px) {
    .projects__item {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .projects__info {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .projects__item-right-top {
        align-items: center;
    }

    .projects__item-right {
        gap: 30px;
    }

    .projects__contact {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        text-align: center;
    }

    .projects__contact-item-links{
        justify-content: center;
    }

    .footer__box {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 30px;
    }
}
 
@media (max-width:768px) {
    .nav__inner {
        flex-direction: column;
        gap: 20px;
    }

    .header__content {
        height: 642px;
    }

    .header__content_title {
        font-size: 46px;
    }
}

@media (max-width:576px) {
    .nav__list {
        gap: 25px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .header__content_title {
        font-size: 26px;
    }

    .header__content {
        text-align: center;
    }

    .header__desc_text {
        font-size: 19px;
        max-width: 420px;
    }

    .header__desc {
        flex-direction: column;
    }

    .about__bottom {
        grid-template-columns: 222px;
        margin-top: 80px;
        text-align: center;
    }

    .about__desc {
        text-align: center;
    }

    .gallery {
        grid-template-columns: 1fr;
    }
    
    .gallery__box:nth-of-type(3) {
        grid-row: 3 / 4;
        grid-column: span 2;
    }

    .gallery__box:nth-of-type(4) {
        grid-row: 4 / 5;
        grid-column: span 2;
    }

    .gallery__box:nth-of-type(5) {
        grid-row: 5 / 6;
        grid-column: span 2;
    }

    .gallery__box:nth-of-type(6) {
        grid-row: 6 / 7;
        grid-column: span 2;
    }
}

@media (max-width:375px) {}