@font-face {
    font-family: "Montserrat";
    src: url('../fonts/Montserrat-Regular.ttf');
    font-weight: 400;
}

@font-face {
    font-family: "Montserrat";
    src: url('../fonts/Montserrat-Medium.ttf');
    font-weight: 500;
}

@font-face {
    font-family: "Montserrat";
    src: url('../fonts/Montserrat-SemiBold.ttf');
    font-weight: 600;
}

* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    width: 100%;
    height: 100%;
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 14px;
    overflow: hidden;
}

img {
    pointer-events: none;
}

body {
    width: 100%;
    height: 100%;
    overflow: hidden;
   

    -webkit-touch-callout: none;
    /* iOS Safari */
    -webkit-user-select: none;
    /* Safari */
    /* Konqueror HTML */
    -moz-user-select: none;
    /* Old versions of Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
    /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */

}

.screen {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 30px;
    -webkit-transition: .5s;
    -o-transition: .5s;
    transition: .5s;
}

.screen_nav {
    pointer-events: none;
    z-index: 10;
}


.background_container {
    background: url('../testimg.png') 50% / cover;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
.background_container canvas {
    width: 100% !important;
    height: 100% !important;
}
.logo__wrapper {
   
    display: flex;
    align-items: center;
    gap: 19px;
    font-size: 20px;
    font-weight: 500;
    color: #ffffff;
}

.logo {
    width: 32px;
    height: 37px;
    flex-shrink: 0;
    background: url('../img/logo.svg') 50% / contain no-repeat;
}

.btn {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    cursor: pointer;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    pointer-events: all;
}

.btn_nav {
    background: #00000049;
    color: #ffffff;
    font-size: 14px;
    width: 195px;
    height: 60px;
    border-radius: 46px;
    gap: 19px;
    -webkit-transition: .5s;
    -o-transition: .5s;
    transition: .5s;

}

.btn_nav.anim {
    background: #0000001f;
}

.btn_nav.anim::after {

    opacity: 0;
}

.btn_nav.anim::before {

    opacity: 0;
}

.btn_nav::after {
    content: 'Навигация';
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
}

.btn_nav::before {
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    background: url('../img/Burger_menu.svg') 50% / contain no-repeat;
}

.btn_nav_open.btn_nav::after {
    content: 'Закрыть';
}

.btn_nav_open.btn_nav::before {
    background: url('../img/Close.svg') 50% / contain no-repeat;
}

.nav__wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    height: 100%;
}

.nav__wrapper_bottom {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.btn_sound {
    width: 32px;
    height: 32px;


}

.btn_sound svg path {
    stroke: #ffffff !important;
}

.screen_menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    height: 100%;
    overflow: hidden;
    z-index: 9;
    background: -o-radial-gradient(35.59% -40.57%, 96.18% 121.66%, #E5E8F2 0%, #C3C6CF 100%)
    /* warning: gradient uses a rotation that is not supported by CSS and may not behave as expected */
    ,
    -o-radial-gradient(48.54% 55.55%, 39.83% 117.6%, rgba(117, 123, 148, 0.6) 0%, rgba(213, 214, 222, 0) 100%)
    /* warning: gradient uses a rotation that is not supported by CSS and may not behave as expected */
;
background: radial-gradient(96.18% 121.66% at 35.59% -40.57%, #E5E8F2 0%, #C3C6CF 100%)
    /* warning: gradient uses a rotation that is not supported by CSS and may not behave as expected */
    ,
    radial-gradient(39.83% 117.6% at 48.54% 55.55%, rgba(117, 123, 148, 0.6) 0%, rgba(213, 214, 222, 0) 100%)
    /* warning: gradient uses a rotation that is not supported by CSS and may not behave as expected */
;
}

.screen_menu.hidden {
    opacity: 0;
    pointer-events: none;
   
}
.screen_menu.hidden .swiper-container{
    -webkit-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    transform: translateX(-100%);
}
.menu-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 43px;
    color: #ffffff;

}

.menu-item__img-wrapper {
    width: 232px;
    height: 144px;
    outline: 3px solid #FFFFFF;
    outline-offset: 5px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;

}


.menu-item__img {

    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;


}

.swiper-container {
    height: 100%;
    width: 100%;
    padding-left: 23%;
    transition: .5s;
}

.swiper-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;

}

.swiper-wrapper .swiper-slide {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 10px 0;

    height: auto !important;
    min-height: 100px;
}

.swiper-wrapper .swiper-slide-active {
    padding: 20px 0;
}

.swiper-wrapper .swiper-slide .menu-item {
    padding-left: 25px;
    -webkit-transition: .5s;
    -o-transition: .5s;
    transition: .5s;
}

.swiper-wrapper .swiper-slide .menu-item__num {
    font-size: 28px;
    -webkit-transition: .5s;
    -o-transition: .5s;
    transition: .5s;
}

.swiper-wrapper .swiper-slide .menu-item__img-wrapper {
    outline: 3px solid #ffffff00;
    width: 156px;
    height: 96px;
    -webkit-transition: .5s;
    -o-transition: .5s;
    transition: .5s;
    pointer-events: none;
}

.swiper-wrapper .swiper-slide-active .menu-item__num {
    font-size: 58px;
}

.swiper-wrapper .swiper-slide-active .menu-item__img-wrapper {
    outline: 3px solid #ffffff;
    width: 232px;
    height: 144px;
    cursor: pointer;
    pointer-events: all;
}

.swiper-wrapper .swiper-slide-active .menu-item {
    padding-left: 0;

}

.swiper-wrapper .swiper-slide .menu-item__title {
    font-size: 22px;
    margin-bottom: 0;
    -webkit-transition: .5s;
    -o-transition: .5s;
    transition: .5s;
}

.swiper-wrapper .swiper-slide .menu-item__text {
    max-width: 304px;
    width: 100%;
    opacity: 0;
    max-height: 0;
    -webkit-transition: .5s;
    -o-transition: .5s;
    transition: .5s;
    font-size: 18px;
    -webkit-transform: translateX(100%);
    -ms-transform: translateX(100%);
    transform: translateX(100%);
}

.swiper-wrapper .swiper-slide-active .menu-item__title {
    font-size: 28px;
    margin-bottom: 12px;
}

.swiper-wrapper .swiper-slide-active .menu-item__text {
    font-size: 18px;
    max-width: 304px;
    max-height: 200px;
    width: 100%;
    opacity: 1;
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0)
}

.screen_room.hidden {
    pointer-events: none;
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
}

.screen_room {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.popup_item {
    max-width: 417px;
    width: 100%;
    background: #F3F5F780;
    -webkit-backdrop-filter: blur(34px);
    backdrop-filter: blur(34px);
    border-radius: 20px;
    position: relative;
    animation: fadIn .5s ease;
}

.popup_item.hidden {
    display: none;
}

.popup_item__top_img {
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain;
    position: relative;
    /* -webkit-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2); */
}
.popup_item__top_img_cover {
    object-fit: cover;
    -o-object-fit: cover;
}
.popup_item__top {
    background: #FFFFFF;
    border-radius: 20px;
    height: 220px;
    width: 100%;
    overflow: hidden;
    position: relative;
}
.popup_item__top::before {
    content: '';
    position: absolute;
    left: calc(50% - 30px);
    top: calc(50% - 30px);
    z-index: 0;
    width: 60px;
    height: 60px;
    display: block;
    background: url('../img/loading-loading-forever.gif') 50% / contain no-repeat;
}
.popup_item__info {
    padding: 25px;
}

.popup_item__title {
    text-align: center;
    margin-bottom: 25px;
}

.popup_item__title_top {
    font-weight: 600;
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.popup_item__title_main {
    font-weight: 500;
    font-size: 18px;
}

.popup_item__text {
    font-size: 14px;
    font-weight: 400;
    max-height: 160px;
    overflow: auto;
}
.screen_popup_items-container {
    overflow-y: auto;
}
.screen_popup_items-container::-webkit-scrollbar,
.popup_item__text::-webkit-scrollbar {
    width: 6px; 
}
.screen_popup_items-container::-webkit-scrollbar-thumb,
.popup_item__text::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.3); 
    border-radius: 3px; 
}
.screen_popup_items-container::-webkit-scrollbar-track,
.popup_item__text::-webkit-scrollbar-track {
    background-color: transparent;
}
.popup_item__close {
    position: absolute;
    cursor: pointer;
    top: 18px;
    right: 18px;
    width: 24px;
    height: 24px;
    z-index: 1;
    background: url('../img/Close_bl.svg') 50% / contain no-repeat;
}
.popup_item__close.white {
    
    background: url('../img/Close.svg') 50% / contain no-repeat;
}
.btn_video {
    cursor: pointer;
    width: 119px;
    height: 119px;
    border-radius: 100%;
    background: #C2C4CA99;
    border: 1px solid #FFFFFF66;
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;

    padding-left: 49px;
    left: 30%;
    top: 20%;
    position: absolute;
    -webkit-transition: .5s;
    -o-transition: .5s;
    transition: .5s;

}

.btn_video.hidden {
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
}

.btn_video::before {
    content: '';
    display: block;
    width: 30px;
    height: 42px;
    background: url('../img/item_btn.svg') 50% / contain no-repeat;
}

.popup_item__btn_popup {
    cursor: pointer;
    width: 22px;
    height: 22px;
    border-radius: 100%;
    position: fixed;
    top: 20%;
    left: 50%;
    border: 6px solid #1b1b1b83;
    transition: .3s;

}

.popup_item__btn_popup::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 100%;
    background: #24F0FF;
}

.popup_item__btn_popup.hidden {
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
}

.screen_elements {
    display: flex;
    align-items: start;
    justify-content: center;
    padding: 90px 10px 10px;
    
    overflow-y: auto;
}
.screen_elements.hidden {
    pointer-events: none;
}

.screen_elements>* {
    pointer-events: all;
}

.popup_block {
    max-width: 562px;
    width: 100%;
    border-radius: 20px;
    position: relative;
    background: #00000094;
   animation: fadIn .5s ease;
}

@keyframes fadIn {
    from {
        opacity: 0;
        transform: scale(0);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
.popup_block__header {
    padding: 21px 30px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.popup_block__content {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 50px;
    padding-bottom: 73px;
   overflow: hidden;
    
}
.popup__close {
    width: 24px;
    height: 24px;
    background: url('../img/Close.svg') 50% / contain no-repeat;
    cursor: pointer;
}
.popup_block.hidden {
    display: none;
}

.popup_block__page__img-wrapper {
    width: 143px;
    height: 167px;
    flex-shrink: 0;

}

.popup_block__page__img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}
.popup_block__title {
    font-size: 26px;
}
.popup_block__text {
    font-size: 14px;
}
.popup_block__page__info {
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.popup_btn {
    width: 195px;
    height: 60px;
    border-radius: 46px;
    background: #A7E541;
    position: absolute;
    bottom: -30px;
}
.popup_btn.popup_start__btn::after {
    position: absolute;
    content: '';
    top: 8px;
    right: 8px;
    width: 44px;
    height: 44px;
    background: url('../img/btn-popup.svg') 50% / contain no-repeat;
}
.popup_btn.popup_start__btn.start::after {
    display: none;
}
.page-slide_paginations {
    display: flex;
    gap: 10px;
}

.pagination-dot {
    width: 50px;
    height: 2px;
    background-color: #ffffff;
    opacity: .3;
    cursor: pointer;
    transition: opacity 0.3s;
}

.pagination-dot.active {
    opacity: 1;
}

.popup_block__page {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    visibility: hidden;
    gap: 40px;
    display: flex;
    align-items: end;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.popup_block__page.anim-out {
    animation: fadeOut 0.5s ease ;
}

.popup_block__page.anim-in {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-100%);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
.popup_block__page.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    display: flex;
}

.popup_slider {
    position: relative;
    min-height: 217px; /* или подходящая высота */
    
}

.screen_loader {
    z-index: 1000;
    display: flex;
    flex-direction: column;
    
    align-items: center;
    justify-content: center;
   
    background:#1d1f2b;
    transition: .3s;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #ffffff;
}
.loader_content {
    position: absolute;
    padding: 10px;
    bottom: 20px;
    gap: 10px;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 400px;
    align-items: center;
    justify-content: end;
    margin-bottom: 10px;
}
.loader__title {
    opacity: .5;
}
.progress-bar {
    width: 100%;
    height: 8px;
    border-radius: 20px;
   
    background-color: #ffffff23;
    display: flex;
    flex-direction: column;
}
.progress-bar_line {
    background-color: #A7E541;
   flex-grow: 2;
    border-radius: 20px;
    transition: .2s;
   
}
.progress__precent::after {
    content: '%';
}
.screen_loader.hidden {
    opacity: 0;
    pointer-events: none;
}
.test_btn {
    padding: 10px;
   
}
.loader_logo {
    width: 180px;
    height: 55px;
    background: url('../img/Logo_loader.png') 50% / contain no-repeat;
}
.nav__wrapper_top {
    display: flex;
    justify-content: space-between;
    align-items: start;
}
.test_container {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
background-color: #00000056;
}


.search-item__top {
    width: 100%;
    position: relative;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.search-item__wrapper {
    width: 80px;
    border-radius: 80px;
    min-height: 80px;
    background: #FFFFFF;
    padding: 1px;
   

}
.search-item__list {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 26px;
    padding-bottom: 34px;
    gap: 20px;
}
.search-item  {
    width: 100%;
}
.search-item.hidden {
    display: none;
}
.search-item svg {
    width: 100%;
   
}
.search-item svg path {
    fill: #a4acbdf1;
    
}
.search-item.search-item_found svg path {
    fill: #4FBFF1;
    
}
.search-item__count_wrapper {
    text-align: center;
}

.search-item__progress-circle circle#progress {
    stroke: url(#progress-gradient);
}

.search-item__progress-circle.all-found circle#progress {
    stroke: url(#progress-gradient-found);
}
.search-item__count {
    font-size: 11px;
    line-height: 100%;
}
.search-item__title {
    color: #B2B2B2;
font-size: 7px;
line-height: 100%;
}
.search-item__progress-circle {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    position: absolute;
    top: 0;
    left: 0;
}
.screen_menu__title {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 10px;
    padding-left: 102px;
}
.modal_error {
    position: fixed;
    left: 50%;
    z-index: 10;
    transform: translateX(-50%) translateY(0);
    bottom: 30px;
    width: 70%;
    max-width: 586px;
    height: 60px;
    border-radius: 46px;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    padding: 7px;
    gap: 40px;
    pointer-events: none;
    transition: .3s;
}
.modal_error.hidden {
    opacity: 0;
    transform: translateX(-50%) translateY(100%);
}
.modal_error__icon {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    border-radius: 46px;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal_error__text {
    font-size: 24px;
}
.modal_error__icon::after{
    width: 24px;
    height: 24px;
    content: '';
    display: block;
}
.modal_internet .modal_error__icon::after {
    background: url('../img/wifi_error.svg') 50% / contain no-repeat;
}
.modal_vpn .modal_error__icon::after {
  
    background: url('../img/vpn_error.svg') 50% / contain no-repeat;
}

@media (max-width:800px) {
    .modal_error {
        bottom: 10px;
        width: 60%;
        max-width: 586px;
        height: 40px;
        border-radius: 40px;
        gap: 10px;
    }
    .modal_error__text {
        font-size:14px;
    }
    .modal_error__icon {
        width: 32px;
        height: 32px;
        flex-shrink: 0;
        border-radius: 46px;
        background: #000000;
    
    }
    .screen {
        padding: 10px;
    }
    .screen_elements {
        padding: 80px 10px;
    }
   
    .popup_block__page {
        gap: 10px;
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
    }
    .btn_nav {
        width: 40px;
        height: 40px;
    }
    .btn_nav::after {
        display: none;
       
    }
    .test_container {
        flex-direction: column;
    }
    .swiper-container {
        height: 100%;
        width: 100%;
        padding-left:0;
    }
    .popup_item__top {
        background: #FFFFFF;
        border-radius: 20px;
        height: 150px;
        width: 100%;
    }
    .popup_item__title {
        text-align: center;
        margin-bottom: 10px;
    }
    .popup_item__title_main {
        font-size: 15px;
    }
    .popup_item__text {
        font-size: 13px;
        font-weight: 400;
        max-height: 150px;
        overflow: auto;
    }
    .popup_block__header {
        padding: 12px 20px 10px;
        display: flex
    ;
        align-items: center;
        justify-content: space-between;
    }
    .popup_block__content {
        padding: 10px;
        padding-bottom: 40px;
    }
    .popup_block__page__img-wrapper {
        width: 120px;
        height: 120px;
        flex-shrink: 0;
    }
    .popup_block__title {
        font-size: 18px;
    }
    .popup_block__page__info {
        display: flex
    ;
        flex-direction: column;
        gap: 8px;
    }
    .popup_block__text {
        font-size: 14px;
    }
    .logo__wrapper {
      
        font-size: 12px;
        gap: 6px;
    }
    .logo {
        width: 20px;
        height: 30px;
       
    }
    .search-item__wrapper {
        width: 50px;
        border-radius: 50px;
        min-height: 50px;
    }
    .search-item__top {
        min-height: 50px;
    }
    .search-item__count {
        font-size: 9px;
    }
    .search-item__title {
        font-size: 6px;
    }
    .search-item__list {
        padding-top: 9px;
        padding-bottom: 13px;
        gap: 0px;
    }
    .search-item {
        width: 50%;
    }
}
@media (orientation: portrait) and (max-width:900px) {
    .menu-item{
        display: grid;
        grid-template-columns:1fr;
        gap: 10px;
        width: 100%;
        justify-content: center;
        justify-items: center;
        text-align: center;
    }
    .swiper-wrapper .swiper-slide-active .menu-item__num {
        font-size: 30px;
    }
    .swiper-wrapper .swiper-slide .menu-item {
        padding-left: 0;

    }
    .screen_menu__title {
        font-size: 16px;
        color: #ffffff;
        margin-bottom: 10px;
        padding-left: 0;
        text-align: center;
    }
    .swiper-wrapper .swiper-slide-active .menu-item__title {
        font-size: 24px;
        margin-bottom: 6px;
    }
    .swiper-wrapper .swiper-slide-active .menu-item__text {
        font-size: 16px;
    }
}
