@media screen and (min-width: 1600px) {
    .map-imgs {
        left: -50px;
        width: 1200px;
        height: 750px;
        img:nth-child(2) {
            top: 291px;
            left: 450px;
        }
        img:last-child {
            top: 284px;
            left: 442px;
        }
    }
}

@media screen and (min-width: 1400px) {
    .decor1, .decor2 {
        transform: scale(1.5);
    }

    .location-slide {
        .call-request-form {
            p {
                margin-bottom: 50px;
                span:first-child {
                    font-size: 77px;
                    line-height: 80px;
                }
                span:last-child {
                    font-size: 72px;
                }
            }
            button { width: 154px; height: 154px; }
        }
    }

    @keyframes growArrow {
        100% { height: calc(100vh - 600px); }
    }
}

@media screen and (max-width: 1300px) {
    .gallery-prev { left: -10px; }
    .gallery-next { right: -10px; }

    .contact-map {
        gap: 20px;

        > div:last-child { width: calc(100% - 830px); }
    }
}

@media screen and (max-width: 1260px) {
    .banner-text { left: 29px; }
    .banner-decor { left: 20px; }
    .menu-items { 
        width: 650px;
        padding-left: 20px; 
    }
    footer { padding-left: 20px; }

    .news-grid { gap: 30px; }

    .current-news-content { 
        gap: 30px;
        &::after { content: none; }
    }

    .apartment-details {
        .num {
            width: 150px;
            height: 150px;
            span:last-child { font-size: 35px; }
        }
    }

    .flat-img { max-width: 350px; }

    .interior-prev { padding: 50px 20px 100px; }


    .interior-prev .content {
        > img:first-child {
            top: 80px;
            width: 260px;
            height: 280px;
        }
        .interior2 {
            left: unset;
            right: 0;
        }
        .interior3 {
            top: 0;
            left: 280px;
            right: unset;
            span {
                color: var(--secondary-color);
                font-size: 30px;
            }
        }
    }
}

@media screen and (max-width: 1023px) {
    .footer-decor { display: none; }
    .footer-content { 
        background: url('../images/footer-building.png') no-repeat bottom right / cover;
        background-size: 300px;
        width: 100%; 
    }

    .how-to-buy, .progress-container { padding: 70px 20px; }

    .instructions { gap: 50px; }
    .instruction {
        gap: 30px;
        justify-content: space-between;
        > img {
            width: 400px;
            height: 400px;
        }
    }

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

    .current-news-content {
        gap: 60px;
        flex-direction: column;
    }

    .current-news { width: 100%; }
    .other-news { 
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        width: 100%;
    }

    .apartment-details { gap: 40px; }

    .apartment-in-detail {
        max-width: unset;
        width: 100%;
    }

    .interior-prev .content {
        .interior2 {
            width: 372px;
            height: 423px;
        }
    }

    .architect-container {
        .content { gap: 20px; padding-left: 0; }
    }

    .architect-info {
        p:first-child {
            font-size: 20px;
            line-height: 24px;
        }
        p:nth-child(2) {
            font-size: 18px;
            line-height: 20px;
            margin-bottom: 15px;
        }
        div:nth-child(3) {
            margin-bottom: 20px;
        }
    }

    .architect-images {
        width: calc(100% - 420px);
        min-height: 580px;
        img:first-child {
            bottom: 100px;
            width: 194px;
            height: 200px;
        }

        img:last-child {
            right: 0;
            top: 100px;
            width: 307px;
            height: 387px;
        }
    }

    .contact-map {
        flex-direction: column;
        align-items: unset;
        & > div:last-child { width: unset; padding-left: 20px; }
    }

    .map-imgs {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media screen and (max-width: 900px) {
    .header-actions > a { display: none; }
    .logo { margin-left: 75px; }

    .main-flat-form {
        gap: 30px;
        flex-wrap: wrap;
    }

    .location-slide:first-child {
        font-size: 40px;
        line-height: 40px;
    }

    .instruction {
        justify-content: unset;
        img {
            width: 300px;
            height: 300px;
        }
        div {
            width: calc(100% - 330px);
            p { max-width: unset; }
        }
    }

    .interior-prev .content {
        > img:first-child {
            top: 180px;
            width: 130px;
            height: 140px;
            z-index: 3;
        }
        .interior3 {
            top: 20px;
            left: 110px;
            right: unset;
            span {
                color: var(--secondary-color);
                font-size: 30px;
            }
        }
    }

    .architect-container::before { width: 100%; } 
}

@media screen and (max-width: 840px) {
    .progress-items {
        width: unset;
        column-gap: 40px;
    }

    .progress-img {
        min-height: 350px;
        div {
            width: 300px;
            height: 350px;
        }

        a {
            width: 80px;
            height: 80px;
            svg {
                transform: scale(0.5);
            }
        }
    }

    .news-card { height: 400px; }

    .current-floor-project { display: none; }
    
    .apartment-details  {
        justify-content: unset;
        .num { display: none !important; }
    }

    .current-floor-flats {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .current-floor-flats p {
        color: black;
        -webkit-text-stroke: 1px black;
        text-align: center;
        font: 16px 'BPG LE Studio 02 Caps';
        line-height: 21px;
        margin-bottom: 0;
    }

    .floor-flats {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .floor-flat {
        color: unset;
        text-decoration: none;
        display: flex;
        align-items: center;
        font: 12px 'BPG Mrgvlovani';
        line-height: 16px;
        gap: 15px;
        > div { width: 50%; }
        img { width: 100%; }
    }

    .mob-flat-info {
        display: flex;
        flex-direction: column;
        gap: 10px;
        span:last-child {
            font: 14px 'BPG LE Studio 02 Caps';
            line-height: 19px;
        }
    }
}

@media screen and (max-width: 767px) {
    .decor-cont {
        display: none;
    }

    .title {
        font-size: 30px;
        line-height: 40px;
    }

    .under-construction {
        background-image: url('../images/building.png');
        background-size: 300px;
        background-repeat: no-repeat;
        background-position: bottom right;
        padding: 50px 20px 30px;
    }

    .contact * { color: white; }

    .banner { height: 400px; }
    .banner-text {
        left: 23px;
        span:first-child {
            font-size: 50px;
            line-height: 55px;
        }

        span:last-child {
            font-size: 20px;
            line-height: 25px;
        }
    }

    .banner-decor {
        height: 175px;
        width: 70px;
    }
    
    .apartment-info {
        a:last-child {
            font-size: 15px;
            width: 40px;
            height: 40px;
            i { display: inline-flex; }
            span { display: none; }
        }
    }

    .main-gallery-swiper {
        font-size: 20px;
        line-height: 20px;
        height: 400px !important;
    }

    .main-gallery-slide:nth-child(3n + 1) {
        margin-top: 60px;
        max-width: 200px;
        img { height: 215px; }
    }

    .main-gallery-slide:nth-child(3n + 2) { 
        min-width: 300px;
        max-width: 300px;
        margin-top: -20px;
        margin-right: 15px;
        img { height: 340px; }
    }

    .main-gallery-slide:nth-child(3n + 3) {
        max-width: 200px;
        margin-right: 35px;
        img { height: 240px; }
    }

    .gallery-item {
        img { height: 400px; }
        div {
            background: var(--primary-color);
            color: white;
            font-size: 30px;
            line-height: 30px;
            padding-top: 5px;
            top: -39px;
            width: 80px;
            height: 80px;
        }
    }

    .round-park {
        p:first-child {
            font-size: 40px;
            line-height: 40px;
            margin-bottom: 30px;
        }

        p:nth-child(2) {
            font-size: 24px;
            line-height: 30px;
        }

        p:last-of-type { padding: 0 20px; }
    }

    .vake-park p { padding: 0 20px; }

    .room-num-prev {
        padding: 40px 20px;
        height: unset;
    }

    .room-num-links a { padding: 20px; }

    .architect-container { padding: 160px 20px 50px;}
    .architect-container .content { flex-direction: row-reverse; }

    .architect-images {
        min-width: 307px;
        width: unset;
    }

    .architect-info {
        width: calc(100% - 327px);
        max-width: unset;
    }
}

@media screen and (max-width: 700px) {
    .progress-img {
        min-height: 300px;
        div {
            width: 230px;
            height: 300px;
        }
    }
}

@media screen and (max-width: 650px) {
    .menu-bg, .choose-bg { display: none; }
    .menu-items { 
        padding-right: 20px;
        width: 100vw;
        > div:last-child { gap: 50px; } 
    }
    #lang-toggle { margin-right: 30px; }
    .close-menu, .close-choose { width: 40px; height: 40px; }

    .choose-items {
        width: 100vw; 
        padding: 0 20px 100px 20px;
    }
    .choose-header span {
        font-size: 25px;
        line-height: 30px;
    }

    .search-decor {
        top: 120px;
        height: 150px;
        right: 0;
    }

    .news-card { height: 350px; }
    .see-more { 
        padding-left: 0; 
        .text { opacity: 1; }
    }

    .common-header { height: 150px; }
    .current-news > img:first-child { height: 300px; }

    .flat-header { margin-bottom: 40px; }

    .apartment-details {
        .flat-img { order: 1; }
        .apartment-in-detail { order: 3; }
        .info { 
            order: 2; 
            max-width: unset;
            div { flex-direction: row; margin-bottom: 10px; }
        }
    }

    .architect-container { padding: 50px 20px; }
    .architect-images {
        min-height: 400px;
        img:first-child {
            bottom: 40px;
            width: 194px;
            height: 200px;
        }

        img:last-child {
            top: 0;
            width: 205px;
            height: 258px;
        }
    }

    .gallery-preview p:first-child {
        font-size: 30px;
        line-height: 30px;
        margin-bottom: 30px;
    }

    .gallery-slide img { height: 300px; }
}

@media screen and (max-width: 600px) {
    .logo { margin-left: 10px; }

    .choose-flat-btn {
        border-radius: 50%;
        width: 40px;
        height: 40px;
        span { display: none; }
        i {
            display: inline;
            font-size: 13px;
        }
    }

    .open-menu {
        background: var(--secondary-color);
        border-radius: 50%;
        justify-content: center;
        width: 40px;
        height: 40px;
        svg { fill: white; width: 16px; }
        span { display: none; }
    }

    .search-result-container { padding: 40px 20px 100px; }
    .main-flat-form .form-group { width: 100%; max-width: unset; }

    .result-num, .main-flat-form { margin-bottom: 30px; }

    .search-result {
        gap: 20px;
        hr { display: none; }
    }

    .apartment-info {
        position: relative;
        padding: 20px;
        border: 1px solid #E2D9D5;
        min-height: 320px;
    }

    .apartment-model {
        position: absolute;
        top: 40px;
        left: 50%;
        transform: translateX(-50%);
        width: 120px;
        height: 120px;
    }

    .apartment-num, .apartment-floor {
        position: absolute;
        left: 20px;
        top: 60%;
    }

    .apartment-info > a:last-child, .apartment-area {
        position: absolute;
        left: 20px;
        top: 70%;
    }

    .apartment-floor, .apartment-area { left: 50%; }
    .apartment-rooms {
        position: absolute;
        top: 80%;
        left: 50%;
    }

    .call-request-form {
        p {
            margin-bottom: 20px;
            span:first-child {
                font-size: 50px;
                line-height: 55px;
            }
            span:last-child { font-size: 40px; }
        }
        button { width: 120px; height: 120px; }
    }

    .page-title {
        font-size: 30px;
        line-height: 30px;
        margin-bottom: 40px;
    }

    .instruction {
        gap: 20px;
        img {
            width: 200px;
            height: 200px;
        }
        div { 
            width: calc(100% - 220px); 
            p:first-child {
                font-size: 20px;
                line-height: 22px;
            }
            p:last-child {
                font-size: 10px;
                line-height: 13px;
                height: 78px;
            }
        }
    }

    .room-num-links a { width: 250px !important; height: 300px; }
    .room-num-links a:last-child { margin-right: 0 !important; }

    .interior-prev .content {
        .interior2 {
            width: 248px;
            height: 282px;
        }
    }

    .architect-container .content { flex-direction: column-reverse; }
    .architect-images { margin: 0 auto; }
    .architect-info {
        width: 100%; 
        button {
            width: 80px;
            height: 80px;
            svg { transform: scale(0.7); }
        }
    }

    .floor-flat {
        flex-direction: column;
        align-items: unset;
        width: 400px;
        > div { width: 100%; }
    }
}

@media screen and (max-width: 550px) {
    .progress-items {
        grid-template-columns: repeat(1, 1fr);
        width: 100%;
        gap: 80px;
        &::before { content: none; }
    }

    .progress-item:nth-child(2n) {
        margin-top: 0; 
        > p:first-child { text-align: end; }
    }

    .progress-item div {
        width: 100%;
        height: 330px;
    }

    .news-grid, .other-news { grid-template-columns: repeat(1, 1fr); }
}

@media screen and (max-width: 500px) {
    .menu-items { 
        > div:last-child {
            flex-direction: column;
        } 
    }

    .flat-form > div:first-child { flex-direction: column; }

    .main-gallery-swiper { 
        font-size: 14px;
        line-height: 19px;
        height: unset !important; 
    }

    .main-gallery-slide {
        flex-direction: column-reverse;
        gap: 10px;
        margin: 0 10px 0 0!important;
        min-width: unset !important;
        max-width: unset !important;
        width: 250px !important;
    }

    .main-gallery-slide img {
        width: 250px !important;
        height: 250px !important;
    }

    .gallery-prev, .gallery-next { display: none; }

    .go-back:hover span { display: none; }
    .go-back div {
        font-size: 8px;
        width: 35px;
        height: 35px;
    }

    .gallery-header { margin-bottom: 30px; }
    .gallery-header p:first-child {
        font-size: 10px;
        line-height: 13px;
    }

    .gallery-items { gap: 50px; }
    .gallery-item {
        img { height: 250px; }
        div {
            font-size: 20px;
            line-height: 20px;
            top: -29px;
            width: 60px;
            height: 60px;
            right: -15px;
        }
    }

    .gallery-container, .how-to-buy, .progress-container,
    .documents-container { padding: 35px 20px 70px; }

    .location-slide:first-child {
        font-size: 25px;
        line-height: 25px;
    }

    .common-header-content p:last-child {
        font-size: 35px;
        line-height: 35px;
    }

    .documents-header, .documents-container .content1 hr { display: none; }

    .document:first-of-type { border-top: 1px solid var(--secondary-color); }
    .document {
        border-bottom: 1px solid var(--secondary-color);
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
        position: relative;
        margin: 0;
        padding: 25px 0;
        &:hover { background: transparent; }

        .download-link {
            position: absolute;
            top: 25px; left: 0;
            width: 32px;
            height: 32px;
            svg { transform: scale(0.7); }
        }

        .name {
            width: calc(100% - 70px);
            margin-left: 50px;
        }

        .date {
            margin-left: 50px;
        }
    }

    .interior-prev { padding: 50px 20px; }
    .interior-prev .content {
        min-height: 450px;
        .interior2 {
            width: 124px;
            height: 141px;
            top: 200px;
            z-index: 3;
        }

        .interior3 {
            left: 50px;
            img { width: 215px; height: 260px; }
            a { 
                width: 80px; 
                height: 80px; 
                font-size: 10px;
                text-align: center;
            }
        }
    }
}

@media screen and (max-width: 450px) {
    .logo { width: 64px; }
    .banner { height: 250px; }

    .menu-header { margin-bottom: 0; }
    .top-menu a {
        font-size: 19px;
        line-height: 24px;
    }

    .apartment-rooms, .apartment-floor, .apartment-area { left: 40%; }
    
    .gallery-title, .vake-park p, .show-on-map {
        font-size: 30px;
        line-height: 30px;
    }

    .instruction {
        flex-direction: column !important;
        img {
            width: 100%;
            height: auto;
        }
        div { width: 100%; text-align: start !important; }
    }

    .document {
        .name {
            span:first-child {
                font-size: 14px;
                line-height: 19px;
            }
            span:last-child {
                font-size: 10px;
                line-height: 13px;
            }
        }

        .date {
            flex-direction: row;
            gap: 5px;
            font-size: 12px;
            line-height: 16px;
        }
    }

    .current-news > img:first-child { height: auto; }

    .flat-img { max-width: 100%; }

    .arrow, .arrow1 {
        img {
            margin-left: 0;
        }
    }

    .floor-flat {
        width: 100%;
    }
}

@media screen and (max-width: 380px) {
    .round-park {
        p:first-child {
            font-size: 30px;
            line-height: 30px;
            margin-bottom: 15px;
        }

        p:nth-child(2) {
            font-size: 18px;
            line-height: 24px;
        }
    }
}