@media screen and (max-width:1024px) {
    ::-webkit-scrollbar {
        width: 10px;
        height: 10px;
    }
    ::-webkit-scrollbar-track {
        background: #f1f1f1; 
        border-radius: 5px;
    }
    ::-webkit-scrollbar-thumb {
        background: #888; 
        border-radius: 5px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #555; 
    }
    
    :root {
        --btn-background:#E3B873;
        --ff-Nunito: 'Nunito Sans', sans-serif;
        --ff-Yeseva: 'Yeseva One';
        --font-weight: 400;
    }
    
    /* woff 400 Nunito */
@font-face {
    font-family:'Nunito Sans', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    src: url('fonts/nunito-sans-latin-400.woff') format('woff');
}
/* woff2 400 Nunito */
@font-face {
    font-family:'Nunito Sans', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    src: url('fonts/nunito-sans-latin-400.woff2') format('woff2');
}

/* woff 400 Yeseva */
@font-face {
    font-family:'Yeseva One';
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    src: url('fonts/YesevaOne-Regular.woff') format('woff');
}
/* woff2 400 Yeseva */
@font-face {
    font-family:'Yeseva One';
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    src: url('fonts/YesevaOne-Regular.woff2') format('woff2');
}
    /* Голова HEADER */
.header {
    max-width: 1024px;
    width: 100%;
    min-height: 790px;
    background: #131313;
    margin: 0 auto;
    padding: 1px 0;
}
/* Блок навигации (меню) */
.header_navigation {
    max-width: 1024px;
    width: 100%;
    min-height: 83px;
    padding: 1px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.header_navigation_nav {
    max-width: 920px;
    width: 100%;
    height: 37px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header_navigation_nav-logo {
    width: 220.74px;
    height: 10px;
}

.image_375px {
    display: block;
    position: absolute;
    z-index: -1;
    max-width: 1024px;
    width: 100%;
    height: 682px;
    object-fit: cover;
    object-position: center top;
    filter: brightness(40%);
    border: 1px solid #fff;
}
.hero_img {
    max-width: 1024px;
    width: 100%;
    height: 85%;
    padding: 1px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    z-index: 0;
    background-image: none;
}
.header_navigation_nav-logo h3 {
    font-family: var(--ff-Nunito);
    font-weight: var(--font-weight);
    font-size: 10px;
    line-height: 100%;
    text-transform: uppercase;
    color: #E3B873;
}
.header_navigation_nav-link {
    width: 542.43px;
    height: 10px;
}
.header_navigation_nav-link_form {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    height: 10px;
}
.header_navigation_nav-link_form a {
    text-decoration: none;
}
.header_navigation_nav-link_form a li {
    font-family: var(--ff-Nunito);
    font-weight: var(--font-weight);
    font-size: 10px;
    line-height: 100%;
    color: #ffffff;
    text-transform: uppercase;
    display: inline-block;
    transition: 250ms ease;
    position: relative;
}

.header_navigation_nav-link_form a li:hover {
    color: #E3B873;
}
.header_navigation_nav_phone-number {
    width: 330px;
    height: 37px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.span_number {
    font-family:var(--ff-Nunito);
    font-weight: var(--font-weight);
    font-size: 10px;
    line-height: 100%;
    text-align: right;
    text-decoration: underline;
    color: #E3B873;
    margin-left: 25px;
}
.btn_call {
    width: 140px;
    height: 37px;
    background: var(--btn-background);
    font-family: var(--ff-Nunito);
    font-weight: var(--font-weight);
    font-size: 10px;
    line-height: 100%;
    text-align: center;
    text-transform: uppercase;
    color: #ffffff;
    border: none;
}
.header_title {
    max-width: 1024px;
    width: 100%;
    height: 707px;
    padding: 1px 0;
}
/* Блок титульной информации */
.header_subtitle {
    max-width: 500px;
    width: 100%;
    min-height: 305px;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
/* h1 блок */
.header_subtitle_h1 {
    width: 412.11px;
    height: 71px;
    margin: 0 auto;
}
.header_subtitle_h1 h1 {
    font-family: var(--ff-Yeseva);
    font-weight: var(--font-weight);
    font-size: 32px;
    line-height: 110%;
    text-transform: uppercase;
    color: #ffffff;
}
.header_subtitle_h1 span {
    color: #E3B873;
    font-family: var(--ff-Yeseva);
    font-weight: var(--font-weight);
    font-size: 32px;
    line-height: 110%;
    text-transform: uppercase;
    display: inline-block;
}
/* параграф блок */
.header_subtitle_p {
    width: 492px;
    height: 102px;
    margin: 0 auto;
}
.header_subtitle_p p {
    font-family: var(--ff-Nunito);
    font-weight: var(--font-weight);
    font-size: 22px;
    line-height: 164%;
    color: #ffffff;
    text-align: center;
}

/* блок кнопок */
.header_subtitle_button {
    width: 434px;
    height: 51px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
}

.header_subtitle_button button:nth-child(1) {
    width: 200px;
    height: 45px;
    background: var(--btn-background);
    font-family: var(--ff-Nunito);
    font-weight: var(--font-weight);
    font-size: 10px;
    line-height: 100%;
    text-align: center;
    color: #ffffff;
    cursor: pointer;
    outline: none;
    border: none;
    font-style: italic;
}
.header_subtitle_button button:nth-child(2) {
    width: 200px;
    height: 45px;
    background: transparent;
    border: 1px solid #ffffff;
    cursor: pointer;
}

.main {
    max-width: 1024px;
}
.first_container_com-project {
    max-width: 930px;
    width: 100%;
    height: 552.28px;
    margin: 3rem auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.com-project_left {
    width: 380px;
    height: 482.92px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}
.project_left_h2 {
    width: 253px;
    height: 66px;
}
.project_left_h2 h2 {
    font-family: var(--ff-Yeseva);
    font-weight: var(--font-weight);
    font-size: 23px;
    line-height: 150%;
    text-transform: uppercase;
    color: #E3B873;
}
.project_left_p {
    width: 340px;
    height: 86px;
}
.project_left_p p {
    font-family: var(--ff-Nunito);
    font-weight: var(--font-weight);
    font-size: 13px;
    line-height: 191%;
    color: #fff;
}
.project_left_location {
    width: 340px;
    height: 160px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(1, 1fr);
}
.project_left_arrow {
    width: 205.68px;
    height: 13.28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.com-project_right {
    width: 500px;
    height: 520.28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}
.project_right_image {
    width: 500px;
    height: 482.38px;
    background-image: url('../image/rostov-image.png');
    background-position: center top;
    background-repeat: no-repeat;
}
.project_right_menu {
    width: 496px;
    height: 24px;
}
.project_right_menu ul li {
    font-family: var(--ff-Yeseva);
    font-weight: var(--font-weight);
    font-size: 12px;
    line-height: 139%;
    text-transform: uppercase;
    color: #fff;
    position: relative;
    cursor: default;
}
.block_image_video {
    width: 680px;
    height: 391px;
    background-position: center top 1px;
    }
    .block_image_video_play {
        width: 65px;
        height: 65px;
    }
    .triangle-right {
        width: 20px;
        height: 20px;
    }
    .main_input_block {
        width: 680px;
        height: 515px;
    }
    .line {
        width: 100%;
    }
    .main_input_block_p {
        width: 648px;
        height: 190px;
    }
    .main_input_block_p p {
        font-size: 16px;
    }
    .input_block {
        width: 470px;
        height: 220px;
    }
    .form_style {
        width: 100%;
        height: 220px;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        flex-direction: column;
    }
    .name_input {
        width: 100%;
        height: 64px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        border-bottom: 2px solid #3636364D;
    }
    .name_input label, .phone_input label {
        font-size: 16px;
    }
    .name_input input, .phone_input input {
        font-size: 20px;
        background: transparent;
    }
    .phone_input {
        width: 100%;
        height: 50px;
    }
    .name_input label, .phone_input label {
        font-size: 16px;
    }
    .name_input input, .phone_input input {
        font-size: 20px;
    }
    .submit_form {
        width: 100%;
        height: 51px;
        border: none;
        font-size: 14px;
        border-radius: 6px;
    }
    .section_submit_checkbox {
        width: 285px;
        height: 18px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 8px;
    }
    .main_room_card {
        max-width: 1024px; 
        width: 100%;
        height: 706px;
        margin: 20px auto;
        padding: 1px 0;
    }
    .main_room_card_container-card {
        max-width: 1024px;
        width: 100%;
        height: 608px;
        margin-top: 20px;
    }
    .style-card_room {
        width: 308px;
        height: 608px;
    }
    .card_image-style {
        width: 314px;
        height: 334px;
    }
    .container-card_1_image img {
        width: 308px;
        height: 333px;
        object-fit: cover;
    }
    .container-card_2_image img {
        width: 308px;
        height: 333px;
        object-fit: cover;
    }
    .container-card_3_image img {
        width: 308px;
        height: 333px;
        object-fit: cover;
    }
    /* общий стиль текст карт */
    .container-card_list {
        width: 280px;
        height: 266px;
        bottom: 50px;
        left: 2px;
    }
    .container-card_list ul {
        list-style: none;
        margin-left: 20px;
        margin-top: 20px;
    }
    .container-card_list ul h2 {
        font-size: 16px;
    }
    .container-card_list ul li {
        font-size: 14px;
    }
    .container-card_list ul li::before {
        content: '';
        position: absolute;
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: #888;
        top: 10px;
        left: 2px;
    }
    /* кнопки карт */
    
    .container-card_btn_style {
            width: 190px;
            height: 52px;
            bottom: 22px;
            font-size: 16px;
    }
    .container-card_btn_style:hover {
        scale: .95;
    }
    .main_background-input_remove {
        max-width: 1024px; 
        width: 100%;
        height: 513px;
        margin: 7.8rem auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }
    .background-input_remove_left {
        width: 600px;
        height: 509px;
        position: relative;
        background-image: url('../image/background-house.png');
        background-position: center right -4px;
        background-size: cover;
        background-repeat: no-repeat;
    }
    .input_remove_left_case-block {
        width: 374.81px;
        height: 473.62px;
        top: 35px;
        right: 125px;
        justify-content: space-around;
    }
    .case_01 {
        width: 374px;
        height: 65px;
    }
    .svg_image_01 {
        width: 47px;
        height: 47px;
    }
    .case_text_01 {
        height: 67px;
    }
    .case_text_01 p {
        font-size: 16px;
    }
    .case_02 {
        height: 42px;
    }
    .case_text_02 {
        height: 40px;
    }
    .case_text_02 h3 {
        font-size: 16px;
    }
    .case_03 {
        height: 55px;
    }
    .case_text_03 {
        height: 46px;
    }
    .case_text_03 h3 {
        font-size: 16px;
    }
    .case_text_04 {
        height: 52px;
    }
    .case_text_04 p {
        font-size: 16px;
    }
    .background-input_remove_right {
        width: 506px;
        height: 509px;
        background: #131313;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
    }
    .hogs_svg-block {
        bottom: -100px;
    }
    .main_room_photo-card {
        max-width: 1024px;
        width: 100%;
        height: 790px;
        background-image: url('../image/room-background1.png');
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center top 100px;
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: 1px 0;
    }
    .room_photo-card_option_menu {
        width: 411px;
        height: 584px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start;
    }
    .room_photo-card_photo_card {
        width: 750.81px;
        height: 787.86px;
        position: relative;
    }
    .card_option_menu_menu_form-li {
        height: 470px;
    }
    .card_option_menu_menu_form-li li {
        font-size: 18px;
        line-height: 160%;
        padding-left: 15px;
    }
    .card_option_menu_subtitle {
        font-size: 22px;
        margin-left: 15px;
    }
    .card_left_image_1 img {
        width: 320px;
        height: 450px;
    }
    .card_left_image_2 img {
        width: 320px;
    }
    .card_righ_image_1 img {
        width: 320px;
    }
    .card_righ_image_2 img {
        width: 320px;
        height: 500px;
    }
    .card_photo_card_left {
        width: 320.81px;
        height: 785.86px;
        position: absolute;
        bottom: 0;
        left: 0;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
    }
    .card_photo_card_righ {
        width: 320.81px;
        height: 787px;
        position: absolute;
        top: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
    }
    .main_clients_block-remove {
        max-width: 1024px;
        width: 100%;
        height: 642.03px;
        margin: 69px auto;
    }
    .main_clients_card {
        max-width: 1024px;
        width: 100%;
        height: 455.03px;
        margin-top: 40px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .card_Maria_info, .card_Sergey_info, .card_Egor_info {
        width: 330px;
        height: 415px;
        box-shadow: 0px 10px 50px 0px #0000000A;
        transition: 250ms ease;
        padding: 1px 0;
    }
    .container_text_profile-Maria, .container_text_profile-Sergey, .container_text_profile-Egor {
        width: 280.08px;
        height: 230px;
        margin: 20px;
    }
    .style_btn-card {
        bottom: 36px;
        left: 7px;
    }
    .pre_footer {
        max-width: 1024px;
        width: 100%;
        height: 1020.9px;
        position: relative;
    }
    .pre_footer_input {
        width: 750px;
        height: 430.32px;
        z-index: 5;
        position: absolute;
        top: 128px;
        left: 139px;
        background: #131313;
    }
    .pre_footer_input h2 {
        font-size: 16px;
    }
    .pre_footer_input_form {
        width: 520px;
        height: 150.71px;
        margin: 0 auto;
    }
    .input_name-phone {
        width: 516.82px;
        height: 103px;
        display: flex;
        flex-direction: column;
    }
    .input_name-phone_name input {
        width: 100%;
    }
    .input_name-phone_phone input {
        width: 100%;
    }
    .input_name-phone_name {
        width: 516px;
    }
    .input_name-phone_phone {
        width: 516px;
    }
    .input_question {
        height: 50px;
    }
    .form {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start;
        height: 280px;
    }
    .input_checkbox-form {
        width: 285.62px;
        height: 18px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .input-btn {
        width: 160px;
        height: 41px;
        background: var(--btn-background);
        border: none;
        font-family: var(--ff-Nunito);
        font-weight: var(--font-weight);
        font-size: 13px;
        line-height: 204.99999999999997%;
        text-align: center;
        text-transform: uppercase;
        color: #fff;
    }
    .remove_1024px {
        display: none;
    }
    .background_map_container {
        max-width: 1024px;
        width: 100%;
        height: 738.9px;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 3.74%, rgba(0, 0, 0, 0.72) 100%);
        filter: brightness(15%) grayscale(80%) contrast(100%);
        z-index: 2;
        position: absolute;
    }
    .background-frame {
    max-width: 1024px;
    width: 100%;
    height: 280px;
    position: relative;
    }
    .frame_left {
        position: absolute;
        top: -23rem;
        left: 3px;
        transform: scaleX(-1);
        width: 510px;
        height: 650px;
    }
    .frame_right {
        position: absolute;
        top: -23rem;
        right: -1px;
        width: 510px;
        height: 650px;
    }
    .background_map_container img {
        width: 1024px;
        height: 800px;
    }
    .pre_footer_block_map {
        max-width: 640px;
        width: 100%;
        height: 320px;
        position: relative;
        z-index: 10;
        top: 17rem;
        left: 12rem;
    }
    .pre_footer_block_map img {
        object-fit: cover;
        object-position: left -20px top -9px;
        width: 640px;
        height: 363px;
    }
    .background_map_container_h3 {
        width: 599px;
        height: 123px;
        position: relative;
        z-index: 10;
        top: 18rem;
        left: 13rem;
    }
    .background_map_container_h3 h3 {
        font-size: 17px;
    }


    .footer {
        max-width: 1024px;
        width: 100%;
        height: 100px;
        background: #181818;
        margin: -3px auto;
        display: block;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}
