/* Start @media(max-width:1200px) */

@media(max-width: 1200px) {
    .container {
        padding-left: 30px;
        padding-right: 30px;
    }
}

/* Start @media(max-width:1024px) */

@media (max-width: 1024px) {
    .works_2-columns .works-item,
    .works_3-columns .works-item,
    .works_4-columns .works-item {
        float: none;
        width: 100%;
        height: 60vh;
    }
}

/* Start @media(max-width:860px) */

@media (max-width: 860px) {
    .about-us,
    .contact-us {
        margin: 100px auto;
        width: 85%;
    }
    .services,
    .contacts {
        padding: 90px 0;
    }
    .services-item,
    .contact-item {
        float: none;
        width: 90%;
        margin: auto;
        padding-bottom: 70px;
    }
    .services-item:nth-of-type(3),
    .contact-item:nth-of-type(3) {
        padding-bottom: 0;
    }
    .hero-portfolio {
        text-align: center;
        padding: 70px 0;
    }
    .hero-portfolio p {
        width: 70%;
    }
    .contact-shell {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .contact-panel-left {
        min-height: auto;
        padding-right: 0;
    }
    .contact-details {
        gap: 5px;
        margin: 20px 0 20px;
    }
    /* .contact-detail-item {
        align-items: flex-start;
    } */
    .contact-panel-left h1 {
        font-size: 3.8em;
    }
    .contact-copy-desktop {
        display: none;
    }
    .contact-copy-mobile {
        display: inline;
    }
    .contact-note-desktop {
        display: none;
    }
    .contact-note-mobile {
        display: inline;
    }
    .contact-form-top {
        flex-direction: column;
    }
}

/* Start @media(max-width:670px) */

@media (max-width: 670px) {
    .nav-button {
        display: block;
    }
    #navigation {
        display: none;
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1;
        background: rgba(255, 255, 255, 1);
    }
    .main-menu {
        position: absolute;
        transform: translate(-50%, -50%);
        top: 50%;
        left: 50%;
        text-align: center;
    }
    .close-btn {
        display: block;
    }
    .main-menu>li {
        float: none;
        line-height: normal;
        margin-left: 0;
        padding: 15px 0;
    }
    .main-menu li a {
        font-size: 1.4em;
        font-weight: 300;
        letter-spacing: 3.2px;
        margin-left: 0;
    }
    .main-menu li ul {
        visibility: hidden;
    }
    .works_2-columns .works-item,
    .works_3-columns .works-item,
    .works_4-columns .works-item {
        height: 50vh;
        border-radius: 14px;
    }
    .works_2-columns,
    .works_3-columns,
    .works_4-columns {
        padding: 0 14px;
        box-sizing: border-box;
    }
    .portfolio-filter {
        width: calc(100% - 28px);
        gap: 6px;
        margin-bottom: 18px;
        padding: 6px;
    }
    .portfolio-filter-button {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
        padding: 0 20px;
        font-size: 12px;
    }
    .works_2-columns > a,
    .works_3-columns > a,
    .works_4-columns > a {
        display: block;
        margin-bottom: 14px;
    }
    .works_2-columns > a:last-of-type,
    .works_3-columns > a:last-of-type,
    .works_4-columns > a:last-of-type {
        margin-bottom: 18px;
    }
    .works-item img,
    .works-item-overlay {
        border-radius: inherit;
    }
    .works-item:hover img {
        transform: none;
    }
    .works-item:hover .works-item-overlay {
        opacity: 0;
    }
    .works-item.is-touching img {
        transform: scale(1.04);
    }
    .works-item.is-touching .works-item-overlay,
    .works-item.is-touching:hover .works-item-overlay {
        opacity: 1;
    }
    img.header-large,
    .inline-zoom:has(img.header-large),
    .inline-zoom:has(img.header-large) .inline-zoom-stage,
    .inline-zoom:has(img.header-large) img {
        border-radius: 0 !important;
    }
    .contact-panel-right {
        padding: 22px 20px 24px;
    }
    .contact-page {
        display: block;
        padding-top: 105px;
        padding-bottom: 36px;
    }
    .contact-interest-grid {
        gap: 10px;
    }
    .contact-chip {
        width: 100%;
        text-align: center;
    }
    .contact-highlight-card {
        max-width: 100%;
    }
}

/* Start @media(max-width:470px) */

@media (max-width: 470px) {
    .contact-panel-left h1 {
        font-size: 3.2em;
    }
    .contact-form-top h2 {
        font-size: 1.9em;
    }
    .contact-detail-item {
        font-size: 14px;
    }
    .contact-socials {
        margin-top: 24px;
    }
    .hero-content h1 {
        font-size: 5em;
        padding: 0 15px;
    }
    .hero-content h2 {
        padding: 20px 20px 0 20px;
    }
    .single-project h1 {
        font-size: 7em;
        padding: 20px 0 40px 0;
    }
    .single-project-info {
        margin: 60px auto;
    }
    .single-project>img:nth-of-type(3) {
        float: none;
        width: 100%;
        padding-right: 0px;
        margin-bottom: 30px;
    }
    .single-project>img:nth-of-type(4) {
        float: none;
        width: 100%;
        padding-left: 0px;
    }
    footer {
        height: 0;
        line-height: normal;
        text-align: center;
    }
    .footer-content {
        padding: 40px 0;
    }
    .copyright {
        float: none;
        margin-bottom: 25px;
    }
    .social-links {
        float: none;
    }
    .social-links li {
        margin-left: 10px;
        margin-right: 10px;
    }
}
