/* Стили для мобильных устройств */
@media only screen and (max-width: 425px) {

    .mbm{
        margin-bottom: 70px;
    }

    figure img{
        width: 100%;
    }

    #services, #terms{
        height: auto;
    }

    .article_item img{
        max-height: 120px;
    }

    .swiper-pagination-bullet{
        width: 10px !important;
        height: 10px !important;
        border: 5px solid white;
    }

    .tour-view-btn {
        padding: 10px 20px;
        background-color: #f75801;
        color: #fff;
        border: none;
        cursor: pointer;
        top: 10px;
        position: absolute;
        right: 29%;
    }

    .back-to-sidebar {
        position: absolute;
        top: 1%;
        left: 51%;
    }


    .right svg {
        position: absolute;
        width: 90%;
        top: 20%;
        left: 5%;
    }

    h2.title{
        font-size: clamp(50px,4.2083333333vw,100px);
    }

    #popup{
        width: 90%;
    }

    .mobile-svg{
        display: block;
    }

    .desktop-svg{
        display: none !important;
    }

    #reserve{
        margin-top: 0 !important;
    }

    #reservationFormContainer{
        height: 100vh !important;
    }

    .top_seaction{
        padding: 0 !important;
    }

    .swiper-container {
        overflow-x: scroll; /* Включает вертикальный скроллбар по мере необходимости */
        overflow-y: hidden; /* Включает вертикальный скроллбар по мере необходимости */
        scrollbar-width: thin; /* Устанавливает тонкий стандартный скроллбар браузера */
        scrollbar-color: #ccc transparent; /* Устанавливает цвет скроллбара */
    }

    .swiper-container::-webkit-scrollbar-track {
        background-color: transparent; /* Цвет фона */
    }

    .swiper-container::-webkit-scrollbar-thumb {
        background-color: #ccc; /* Цвет самого скроллбара */
        border-radius: 4px; /* Скругление углов */
    }

    .simplebar-scrollbar:before {
        background-color: #ffffff !important; /* Цвет скроллбара */
        border-radius: 0 !important; /* Устанавливает квадратные углы */
        cursor: pointer !important; /* Изменение курсора при наведении */
        pointer-events: auto !important; /* Активация событий указателя */
        height: 33px;
        width: 33px;
    }

    .simplebar-track.simplebar-horizontal{
        height: 11% !important;
        border: 1px solid white !important;
    }




    .arrow_btn_container{
        display: none !important;
    }

    .desktop-image{
        display: none !important;
    }

    .desktop-img{
        display: none !important;
    }

    .mobile-image{
        display: block !important;
    }

    .mobile-img{
        display: block !important;
    }


    #closeNews {
        display: none;
    }

    #backToBuilding {
        display: block !important;
    }

    #sidebar2 {
        z-index: 25;
        left: 50%;
        height: 100%;
    }


    .nhd_title {
        font-size: 31px;
    }

    .apart_sidebar_header {
        margin-top: 65px;
    }

    .apart_btn_items_title,
    .apart_btn_items_value {
        font-size: 11px;
    }

    #about,
    #project {
        height: auto !important;
    }

    .buttons {
        display: none;
    }

    .apart_buttons {
        display: flex;
        justify-content: space-evenly;
        color: #313538;
        flex-wrap: wrap;
        width: 90%;
        margin: 0 auto;
        gap: 20px;
    }

    .apart_title {
        font-size: 24px;
    }

    .sidebar {
        width: 100%;
        left: 50%;
        right: -100%;
        top: 0px;
        height: auto;
    }

    .menu {
        position: fixed;
        top: 0;
        right: -130%;
        width: 80%;
        height: 100%;
        background-color: #212224;
        transition: 0.3s;
        z-index: 1000; /* убедитесь, что меню появляется поверх других элементов */
        padding: 2rem;
    }

    ul.menu {
        min-width: 100%;
        display: flex;
        flex-direction: column;
        margin-top: 70px;
        justify-content: flex-start;
        height: 100%;
        border-top: 1px solid #ea6c3a;
    }

    li.li {
        margin-bottom: 20px;
    }

    h1.title span {
        display: flex;
        flex-direction: column;
    }

    li.li a {
        color: white;
        font-size: 20px;
    }

    .lang_block {
        display: none;
    }

    .fa-solid,
    .fas {
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        color: #ea6c3a;
        font-size: 35px;
    }

    .burger {
        display: block;
    }

    .burger-menu {
        display: block;
    }

    .menu.active {
        right: 0;
    }

    .fd {
        flex-direction: column-reverse;
    }

    #contacts {
        height: 100%;
    }

    .fdr {
        flex-direction: column;
    }

    .right {
        width: 100%;
        display: block;
    }

    .left {
        width: 100%;
    }

    hr{
        margin-bottom: 1em;
    }


    h1.title {
        font-size: clamp(40px,6.2916666667vw,100px);
        text-align: left;
    }

    .w50 {
        width: 100%;
    }

    .number {
        font-size: 24px;
    }

    .description {
        padding: 0px 20px;
        line-height: 30px;
        font-size: 14px;
        text-align: left;
    }

    .social-menu {
        display: block;
    }

    .fa-brands,
    .fab {
        font-family: "Font Awesome 6 Brands";
        font-weight: 400;
        font-size: 40px;
        color: #ec6a3c;
    }

    .p40 {
        padding: 10px;
    }

    .slide {
        height: 100vh;
        max-height: 800px;
        width: 100%;
    }

    .block_img {
        height: 100%;
        min-height: auto;
    }

    .bottom_section{
        margin-top: 1em;
    }

    h3.h3 {
        font-size: 17px;
        line-height: 30px;
    }

    .h3.p40 {
        padding: 0;
        margin: 20px 0px;
    }

    .item_benefit {
        width: 220px;
    }

    .swiper-container{
        touch-action: pan-y;
    }

    .benefit_grid .swiper-slide{
        width: 60% !important;
    }

    .benefits .swiper-slide{
        width: 90% !important;

    }

    .swiper-slide img {
        height: auto;
    }

    .p100 {
        padding: 40px 0px 40px 20px;
    }

    .benefits{
        height: 350px;

    }

    #benefits {
        height: auto !important;
    }

    img.slide {
        height: 300px;
        width: 100%;
    }

    .container {
        display: flex;
        align-items: center;
    }

    .main_grid {
        width: 100%;
        padding: 0 20px;
        margin: 0 auto;
    }


    .container .flex {
        margin-right: 20px;
    }

    .header_logo {
        width: 120px;
    }

    .lang_title {
        color: rgb(255 255 255);
        transition: 0.3s ease-in-out all;
        font-size: 20px;
        font-weight: 500;
    }

    .menu_btn {
        display: none;
    }

    #video h1.title {
        top: 10%;
        font-size: 44px;
        text-align: center;
    }

    .blog {
        width: 100%;
        height: 270px;
    }

    .blog_title {
        width: 90%;
    }

    .contact_container {
        width: 100%;
        padding: 20px;
    }

    .contact_block {
        flex-direction: column;
    }

    .contact_block a {
        margin-bottom: 20px;
    }

    h3.title {
        font-size: 20px;
    }

    input {
        border-bottom: 1px solid #313538;
        height: 75px;
        font-size: 14px;
        width: 100%;
        transition-duration: 0.25s;
        transition-timing-function: ease-in-out;
    }

    .article_description{
        display: none;
    }

    .right_blog{
        display: none;
    }

    .ndh_blogs{
        margin-top: 2em;
        padding: 0;
    }

    .blog_item{
        padding: 0 0 1em 0;
    }

    img.article_item_img{
        margin-left: .3em;
    }

    .ndh{
        padding: 0;
    }

    img.blog_cover{
        margin-top: 4em;
    }

    .more_articles_cont{
        margin-top: 1em;
    }

    .article_item{
        width: 48%;
        overflow-x: scroll;
    }

    .article_title{
        font-size: 14px;
    }
}

@media only screen and (min-width: 426px) and (max-width: 768px) {
    .wrapper {
        width: 90%;
    }

    .mbm{
        margin-bottom: 70px;
    }

    #services, #terms{
        height: auto;
    }

    .swiper-pagination-bullet{
        width: 10px !important;
        height: 10px !important;
        border: 5px solid white;
    }

    .tour-view-btn {
        padding: 10px 20px;
        background-color: #f75801;
        color: #fff;
        border: none;
        cursor: pointer;
        top: 10px;
        position: absolute;
        right: 29%;
    }

    .back-to-sidebar {
        position: absolute;
        top: 1%;
        left: 51%;
    }


    .right svg {
        position: absolute;
        width: 90%;
        top: 20%;
        left: 5%;
    }

    h2.title{
        font-size: clamp(50px,4.2083333333vw,100px);
    }

    #popup{
        width: 90%;
    }

    .mobile-svg{
        display: block;
    }

    .desktop-svg{
        display: none !important;
    }

    #reserve{
        margin-top: 0 !important;
    }

    #reservationFormContainer{
        height: 100vh !important;
    }

    .top_seaction{
        padding: 0 !important;
    }

    .swiper-scrollbar{
        display: block !important;
    }

    .swiper-scrollbar {
        background: rgba(255,255,255,0.5);
        height: 34px !important;
        border:1px solid white !important;
        border-radius:0 !important;
    }
    .swiper-scrollbar-drag {
        background: transparent !important;
        height: 34px !important;
        width: 44px !important;
        border: 7px solid white;
        border-radius: 0 !important;
    }

    .arrow_btn_container{
        display: none !important;
    }

    .desktop-image{
        display: none !important;
    }

    .desktop-img{
        display: none !important;
    }

    .mobile-image{
        display: block !important;
    }

    .mobile-img{
        display: block !important;
    }


    #closeNews {
        display: none;
    }

    #backToBuilding {
        display: block !important;
    }

    #sidebar2 {
        z-index: 25;
        left: 50%;
        height: 100%;
    }


    .nhd_title {
        font-size: 31px;
    }

    .apart_sidebar_header {
        margin-top: 65px;
    }

    .apart_btn_items_title,
    .apart_btn_items_value {
        font-size: 11px;
    }

    #about,
    #project {
        height: auto !important;
    }

    .buttons {
        display: none;
    }

    .apart_buttons {
        display: flex;
        justify-content: space-evenly;
        color: #313538;
        flex-wrap: wrap;
        width: 90%;
        margin: 0 auto;
        gap: 20px;
    }

    .apart_title {
        font-size: 24px;
    }

    .sidebar {
        width: 100%;
        left: 50%;
        right: -100%;
        top: 0px;
        height: auto;
    }

    .menu {
        position: fixed;
        top: 0;
        right: -130%;
        width: 80%;
        height: 100%;
        background-color: #212224;
        transition: 0.3s;
        z-index: 1000; /* убедитесь, что меню появляется поверх других элементов */
        padding: 2rem;
    }

    ul.menu {
        min-width: 100%;
        display: flex;
        flex-direction: column;
        margin-top: 70px;
        justify-content: flex-start;
        height: 100%;
        border-top: 1px solid #ea6c3a;
    }

    li.li {
        margin-bottom: 20px;
    }

    h1.title span {
        display: flex;
        flex-direction: column;
    }

    li.li a {
        color: white;
        font-size: 20px;
    }

    .lang_block {
        display: none;
    }

    .fa-solid,
    .fas {
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        color: #ea6c3a;
        font-size: 35px;
    }

    .burger {
        display: block;
    }

    .burger-menu {
        display: block;
    }

    .menu.active {
        right: 0;
    }

    .fd {
        flex-direction: column-reverse;
    }

    #contacts {
        height: 100%;
    }

    .fdr {
        flex-direction: column;
    }

    .right {
        width: 100%;
        display: block;
    }

    .left {
        width: 100%;
    }

    hr{
        margin-bottom: 1em;
    }


    h1.title {
        font-size: clamp(40px,6.2916666667vw,100px);
        text-align: left;
    }

    .w50 {
        width: 100%;
    }

    .number {
        font-size: 24px;
    }

    .description {
        padding: 0px 20px;
        line-height: 30px;
        font-size: 14px;
        text-align: left;
    }

    .social-menu {
        display: block;
    }

    .fa-brands,
    .fab {
        font-family: "Font Awesome 6 Brands";
        font-weight: 400;
        font-size: 40px;
        color: #ec6a3c;
    }

    .p40 {
        padding: 10px;
    }

    .slide {
        height: 100vh;
        max-height: 800px;
        width: 100%;
    }

    .block_img {
        height: 100%;
        min-height: auto;
    }

    .bottom_section{
        margin-top: 1em;
    }

    h3.h3 {
        font-size: 17px;
        line-height: 30px;
    }

    .h3.p40 {
        padding: 0;
        margin: 20px 0px;
    }

    .item_benefit {
        width: 220px;
    }

    .benefit_grid .swiper-slide{
        width: 33% !important;
    }

    .benefits .swiper-slide{
        width: 50% !important;

    }

    .swiper-slide img {
        height: auto;
    }

    .p100 {
        padding: 40px 0px 40px 20px;
    }

    .benefits{
        height: 350px;

    }

    #benefits {
        height: auto !important;
    }

    img.slide {
        height: 300px;
        width: 100%;
    }

    .container {
        display: flex;
        align-items: center;
    }

    .main_grid {
        width: 100%;
        padding: 0 20px;
        margin: 0 auto;
    }


    .container .flex {
        margin-right: 20px;
    }

    .header_logo {
        width: 120px;
    }

    .lang_title {
        color: rgb(255 255 255);
        transition: 0.3s ease-in-out all;
        font-size: 20px;
        font-weight: 500;
    }

    .menu_btn {
        display: none;
    }

    #video h1.title {
        top: 10%;
        font-size: 44px;
        text-align: center;
    }

    .blog {
        width: 100%;
        height: 270px;
    }

    .blog_title {
        width: 90%;
    }

    .contact_container {
        width: 100%;
        padding: 20px;
    }

    .contact_block {
        flex-direction: column;
    }

    .contact_block a {
        margin-bottom: 20px;
    }

    h3.title {
        font-size: 20px;
    }

    input {
        border-bottom: 1px solid #313538;
        height: 75px;
        font-size: 14px;
        width: 100%;
        transition-duration: 0.25s;
        transition-timing-function: ease-in-out;
    }
}


@media only screen and (min-width: 769px) and (max-width:1439px) {

    ul.menu li{
        margin-right: 1em;
    }

    .btn {
        color: white;
        border: 1px solid white;
        padding: 10px 20px;
        cursor: pointer;
        transition: .3s ease-in-out all;
        font-size: .9em;
    }

    li.li a{
        font-size: .9em;
    }

    h2.title {
        font-size: clamp(50px, 3.2083333333vw, 100px);
    }

    h1.title {
        font-size: clamp(50px, 4.2916666667vw, 100px);
    }

    h3.h3 {
        font-size: clamp(12px, 1.4791666667vw, 38px);
        font-weight: 500;
        line-height: 150%;
        text-align: left;
        width: 90%;
    }

    .right svg {
        position: absolute;
        width: 83%;
        top: 14%;
    }

    .description {
        padding: 0px 20px 0px 20px;
        font-size: clamp(14px, 1.1vw, 32px);
        line-height: 1.5em;
        text-align: justify;
    }
}

@media only screen and (min-width: 2560px) {
    .description {
        padding: 0px 60px 0px 50px;
        font-size: clamp(18px, 2.1vw, 34px);
        line-height: 1.6em;
        text-align: justify;
    }

    h2.title {
        font-size: clamp(70px, 4.208333vw, 100px);
    }

    .number {
        font-size: 90px;
        font-weight: 700;
    }

    .benefit_number {
        background: white;
        height: 400px;
        width: 400px;
        color: #1c1c1c;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 64px;
        font-weight: bold;
    }

    .item_benefit {
        width: 500px;
        height: 500px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .header_logo{
        width: 156px;
    }

    .header.header{
        height: 90px;
    }

    .li.li a{
        font-size: 21px;
    }

    .df{
        justify-content: space-evenly;
    }

}
