@media (max-width: 1600px) {
    .footer .top .text-wrap .title {
        font-size: 54px;
    }
}
@media (max-width: 1400px) {
    .section2 .title {
        font-weight: 400;
        font-size: 48px;
    }
    .footer .top .text-wrap {
        padding-left: 205px;
    }
    .footer .top .text-wrap .title {
        font-size: 54px;
        max-width: 80%;
    }
    .footer .top .text-wrap .text {
        padding-top: 30px;
    }
    .section2>div>div {
        padding: 50px;
    }
    .section1 .social {
        right: 40px;
    }
    .portfolio .text {
        padding-right: 180px;
    }
    .portfolio::before {
        font-size: 165px;
    }
    .footer .bottom {
        padding: 15px 70px 90px 70px;
    }
    .footer .top::before {
        left: -40px;
    }
    .about-us {
        padding-bottom: 65px;
    }
    .section4 .item.image .title {
        font-size: 22px;
    }
    .section4 .info .title, h3, .about-us h2 {
        font-weight: 400;
        font-size: 48px;
    }
    .section1 .text .title {
        padding-top: 20px;
    }
}
@media (max-width: 1199px) {
    .section1 .text .title {
        font-family: 'Italiana';
        font-style: normal;
        font-weight: 400;
        font-size: 2.7em;
        line-height: 50px;
        color: #2B2B2B;
        max-width: 490px;
        width: 100%;
        padding-top: 55px;
    }
    .section1 .social {
        display: none;
    }
    .section2 .title {
        font-size: 42px;
        line-height: 50px;
    }
    h3 {
        font-size: 48px;
    }
    .section4::before, .portfolio::before {
        font-size: 130px;
        top: 60px;
    }
    .portfolio .text {
        padding-right: 180px;
    }
    .footer .bottom {
        padding: 15px 70px 90px 70px;
    }

    .main-menu ul {
        display: none;
    }
    .portfolio .text {
        padding-right: 90px;
    }
    a.button {
        padding: 12px 16px;
        border-radius: 26px;
        height: 18px;
        font-size: 14px;
    }
    .meet-our-team .img a svg {
        width: 80px;
    }
    .footer .bottom::after {
        width: 154px;
        height: 154px;
    }
    .footer .top .text-wrap .title {
        font-size: 44px;
        max-width: 95%;
    }
    .footer .top::before {
        font-size: 40px;
        left: -26px;
        top: 168px;
    }
    .footer .top {
        min-height: 380px;
    }
    .section4 .item.image .title {
        padding-bottom: 23px;
    }
    .section4 .wrap-images {
        display: block;
    }
    .section4 .image-link {
        max-width: 500px;
        margin: 0 auto;
    }
    .section4 .info .title, h3, .about-us h2 {
        font-size: 42px;
        line-height: 50px;
    }
    .login .btn {
        display: none;
    }
    .login .mobile_menu {
        display: block;
    }
    .wrap_mobile_menu {
        display: block;
        padding-bottom: 40px;
    }
    .wrap_mobile_menu .btn {
        padding: 8.53273px 17.0655px;
        width: fit-content;
        text-align: center;
        margin: auto;
    }
}

/* Portrait tablets and small desktops */
@media (max-width: 991px) {
    .section3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .portfolio .text {
        padding-right: 60px;
    }
    .footer .top .text-wrap {
        padding-left: 170px;
    }
    .footer .top .text-wrap .title {
        font-size: 38px;
        line-height: 42px;
    }
    .section1 .content .img {
        display: none;
    }
    .section1 .content .text {
        flex-basis: 100%;
        padding: 125px 30px 0px;
    }
    .section1 .text .title {
        max-width: 100%;
        padding-top: 0;
    }
    .section1 .description {
        width: 100%;
    }
    .section1 .img_mobile {
        display: block;
        margin: auto;
    }
    .section1 .info-item-title {
        padding-bottom: 10px;
    }
    .section1 .info {
        width: 100%;
        flex-direction: column;
        align-items: center;
        grid-gap: 15px;
        padding: 30px 0;
    }
    .section1 .info>:not(:last-child):after {
        display: none;
    }
    .section1 .info-item-text {
        max-width: 100%;
    }
    .section2 .title {
        font-size: 38px;
        line-height: 44px;
    }
    .section2>div>div {
        padding: 25px 30px;
    }
    .meet-our-team .img a svg {
        width: 70px;
    }
    .section4 .info .title, h3, .about-us h2 {
        font-size: 38px;
        line-height: 44px;
    }
    .meet-our-team .text {
        flex-direction: column;
    }
    .section1 .content::after {
        display: none;
    }
}

/* Landscape phones and portrait tablets */
@media (max-width: 767px) {
    .meet-our-team .text {
        flex-direction: column;
    }
    .section2 {
        flex-direction: column;
    }

    .section2 .line {
        display: none;
    }

    .section2>div {
        grid-template-columns: auto;
    }

    section.section3 {
        display: block;
        text-align: center;
        padding: 0 50px 50px;
    }
    section.section3 .item {
        padding-bottom: 30px;
    }
    .portfolio .text {
        padding-right: 0;
        text-align: center;
    }
    .portfolio::after {
        display: none;
    }
    .footer .top::before {
        font-size: 40px;
        top: 14px;
        transform: rotate(0deg);
        left: calc(50% - 135px);
    }
    .footer .top .text-wrap {
        padding-left: 30px;
        padding-right: 30px;
        text-align: center;
    }
    a.button {
        padding: 12px 16px;
        border-radius: 26px;
        height: 18px;
        font-size: 14px;
        left: 0;
        position: relative;
        right: 0;
        margin: 30px auto 55px;
    }
    .footer .top {
        min-height: 315px;
    }
    .footer .bottom {
        padding: 15px 30px 30px 30px;
    }
    .footer .logo .text {
        font-size: 12px;
    }
    .footer .copyright-social {
        flex-direction: column-reverse;
    }
    .footer .social {
        grid-gap: 0px;
        justify-content: space-around;
    }
    .footer .copyright {
        text-align: center;
        padding-top: 15px;
    }
    .footer .top .text-wrap .title {
        font-size: 32px;
        line-height: 45px;
    }
    .footer .top .text-wrap .text {
        padding-top: 24px;
        font-size: 15px;
    }
    .section4::before, .portfolio::before {
        font-size: 70px;
        top: 60px;
    }
    .footer .top .text-wrap .title {
        max-width: 100%;
    }
    .section1 .description {
        -webkit-text-stroke: 0 #000000;
    }
    .section2 .title {
        font-size: 32px;
        line-height: 38px;
    }
    .meet-our-team .img a {
        display: none;
    }
    .meet-our-team .img a.mobile {
        display: block;
        position: absolute;
        left: 50%;
        bottom: 0;
        transform: translateX(-50%);
        right: auto;
        top: auto;
    }
    .section4 .info .title, h3, .about-us h2 {
        font-size: 32px;
        line-height: 38px;
    }
    .about-us h2 {
        padding: 75px 0 40px;
    }
    .section4 .wrap {
        padding: 0 30px;
    }
    .portfolio {
        margin: 30px;
    }
    .meet-our-team {
        margin: 40px 0 30px;
        padding: 0 30px 30px;
    }
    .footer .menu {
        padding: 0px 0 20px;
        align-items: center;
        justify-content: start;
        grid-gap: 6px;
        flex-direction: column;
    }
}

/* Landscape phones and smaller */
@media (max-width: 480px) {
    .desktop {
        display: none;
    }
    .mobile {
        display: block;
    }
}
