body { padding: 0; margin: 0 }
#unity-container { position: fixed; width: 100%; height: 100%; }
#unity-canvas { width: 100%; height: 100%; background: #231F20 }
#unity-loading-bar { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: none }
#unity-logo { width: 154px; height: 130px; background: url('unity-logo-dark.png') no-repeat center }
#unity-progress-bar-empty { margin-left: auto; margin-right: auto; width: 141px; height: 18px; margin-top: 10px; background: url('progress-bar-empty-dark.png') no-repeat center }
#unity-progress-bar-full { width: 0%; height: 18px; margin-top: 10px; background: url('progress-bar-full-dark.png') no-repeat center }
#unity-warning { position: absolute; left: 50%; top: 5%; transform: translate(-50%); background: white; padding: 10px; display: none }

@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;
}

html {
    width: 100%;
    height: 100%;
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 14px;
    overflow: hidden;
}

.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;
}

.screen {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 30px;
    -webkit-transition: .5s;
    -o-transition: .5s;
    transition: .5s;
}

.loader_logo {
    width: 180px;
    height: 55px;
    background: url(../img/Logo_loader.png) 50% / contain no-repeat;
}

.loader_content {
    position: absolute;
    bottom: 20px;
    gap: 10px;
    display: flex;
    flex-direction: column;
    width: 90%;
    max-width: 400px;
    align-items: center;
    justify-content: end;
    margin: 10px;
    padding: 10px;
}

.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;
}

.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: '%';
}

.hidden {
    opacity: 0;
    pointer-events: none;
}

.screen_nav {
    pointer-events: none;
    z-index: 950;
}

.nav__wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.nav__wrapper_top {
    display: flex;
    justify-content: space-between;
    align-items: start;
}

.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;
    display: block;
}

#location-nav-ui {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 900;
    pointer-events: none;
}

#location-nav-ui.hidden {
    display: none;
}

.location-nav-bar {
    position: fixed;
    left: 30px;
    right: 30px;
    bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    pointer-events: none;
    z-index: 901;
}

.location-nav-bar .btn_nav {
    pointer-events: all;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    width: fit-content;
    pointer-events: all;
}

.btn_nav {
    background: #00000049;
    color: #ffffff;
    font-size: 14px;
    width: 195px;
    height: 60px;
    border-radius: 46px;
    gap: 19px;
    padding: 0;
    transition: .5s;
}

.btn_nav.anim {
    background: #0000001f;
}

.btn_nav.anim .btn_nav__icon,
.btn_nav.anim .btn_nav__label {
    opacity: 0;
}

.btn_nav__icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: opacity .3s;
}

.btn_nav__icon svg {
    display: block;
    width: 24px;
    height: 24px;
}

.btn_nav__icon--close {
    display: none;
}

.btn_nav__label {
    transition: opacity .3s;
    white-space: nowrap;
}

.btn_nav__label--close {
    display: none;
}

.btn_nav_open .btn_nav__icon--open {
    display: none;
}

.btn_nav_open .btn_nav__icon--close {
    display: block;
}

.btn_nav_open .btn_nav__label--open {
    display: none;
}

.btn_nav_open .btn_nav__label--close {
    display: inline;
}

.screen_menu {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    overflow: hidden;
    z-index: 9;
    pointer-events: all;
    background: radial-gradient(96.18% 121.66% at 35.59% -40.57%, #E5E8F2 0%, #C3C6CF 100%),
        radial-gradient(39.83% 117.6% at 48.54% 55.55%, rgba(117, 123, 148, 0.6) 0%, rgba(213, 214, 222, 0) 100%);
}

.screen_menu.hidden {
    opacity: 0;
    pointer-events: none;
}

.screen_menu.hidden .location-menu-swiper,
.screen_menu.hidden .swiper-container {
    transform: translateX(-100%);
}

.menu-item {
    display: flex;
    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%;
    object-fit: cover;
}

.location-menu-swiper,
.screen_menu .swiper-container {
    height: 100%;
    width: 100%;
    padding-left: 23%;
    transition: .5s;
    overflow: hidden;
}

.screen_menu .swiper-wrapper {
    display: flex;
    flex-direction: column;
}

.screen_menu .swiper-wrapper .swiper-slide {
    display: flex;
    align-items: center;
    padding: 10px 0;
    height: auto !important;
    min-height: 100px;
}

.screen_menu .swiper-wrapper .swiper-slide-active {
    padding: 20px 0;
}

.screen_menu .swiper-wrapper .swiper-slide .menu-item {
    padding-left: 25px;
    transition: .5s;
}

.screen_menu .swiper-wrapper .swiper-slide .menu-item__num {
    font-size: 28px;
    transition: .5s;
}

.screen_menu .swiper-wrapper .swiper-slide .menu-item__img-wrapper {
    outline: 3px solid #ffffff00;
    width: 156px;
    height: 96px;
    transition: .5s;
    pointer-events: none;
}

.screen_menu .swiper-wrapper .swiper-slide-active .menu-item__num {
    font-size: 58px;
}

.screen_menu .swiper-wrapper .swiper-slide-active .menu-item__img-wrapper {
    outline: 3px solid #ffffff;
    width: 232px;
    height: 144px;
    cursor: pointer;
    pointer-events: all;
}

.screen_menu .swiper-wrapper .swiper-slide-active .menu-item {
    padding-left: 0;
}

.screen_menu .swiper-wrapper .swiper-slide .menu-item__title {
    font-size: 22px;
    margin-bottom: 0;
    transition: .5s;
}

.screen_menu .swiper-wrapper .swiper-slide-active .menu-item__title {
    font-size: 28px;
    margin-bottom: 12px;
}

.screen_menu__title {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 10px;
    padding-left: 102px;
}

@media (max-width: 800px) {
    .screen {
        padding: 10px;
    }

    .logo__wrapper {
        font-size: 12px;
        gap: 6px;
    }

    .logo {
        width: 20px;
        height: 30px;
    }

    .btn_nav {
        width: 40px;
        height: 40px;
        padding: 0;
        justify-content: center;
    }

    .btn_nav__label {
        display: none !important;
    }

    .btn_nav__icon--open {
        display: flex !important;
    }

    .btn_nav__icon--close {
        display: none !important;
    }

    .btn_nav_open .btn_nav__icon--open {
        display: none !important;
    }

    .btn_nav_open .btn_nav__icon--close {
        display: flex !important;
    }

    .location-menu-swiper,
    .screen_menu .swiper-container {
        padding-left: 0;
    }
}

@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;
    }

    .screen_menu .swiper-wrapper .swiper-slide-active .menu-item__num {
        font-size: 30px;
    }

    .screen_menu .swiper-wrapper .swiper-slide .menu-item {
        padding-left: 0;
    }

    .screen_menu__title {
        padding-left: 0;
        text-align: center;
    }

    .screen_menu .swiper-wrapper .swiper-slide-active .menu-item__title {
        font-size: 24px;
        margin-bottom: 6px;
    }
}
