@import "./glyps.css";
body {
    background-color: black;
}

body {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

* {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.panorama {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.sceneContainer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    opacity: 1;
    display: block;
    visibility: visible;
    transition: all 0.5s;
}

.sceneContainer:not(.active) {
    opacity: 0;
    visibility: hidden;
}

.sceneContainer .css-content {
    position: absolute;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    transition: transform 1500ms;
}

.sceneContainer.out .css-content {
    transform: translate(-50%, -50%) scale(1.5);
}

.sceneContainer canvas {
    position: absolute;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    transition: transform 1500ms;
}

.sceneContainer.out canvas {
    transform: translate(-50%, -50%) scale(1.5);
}

ul.menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: #ffff;
    color: #000;
    display: flex;
    justify-content: stretch;
    padding: 0;
    margin: 0;
    z-index: 1000;
}

ul.menu li {
    display: block;
    position: relative;
    flex-grow: 1;
    transition: all 0.5s;
}

ul.menu li a {
    display: block;
    padding: 18px 5px;
    height: 55px;
    text-align: center;
    color: black;
    text-decoration: none !important;
    font-family: Roboto, Arias, sans-serif;
    font-family: Roboto, sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.5s;
}

ul.menu li a:hover, ul.menu li a.active {
    background: #c2a058;
    color: white;
}

ul.menu li>.menu {
    display: block;
    position: absolute;
    max-width: 100%;
    top: 100%;
    opacity: 1;
    transition: all 0.5s;
}

ul.menu li.parent>a:after {
    display: inline-block;
    content: '';
    position: relative;
    border-top: 5px solid black;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    vertical-align: middle;
    margin: 0 0 0 7px;
    transition: all 0.5s;
}

ul.menu li a:hover:after, ul.menu li a.active:after {
    border-top-color: white;
}

ul.menu li:not(:hover)>.menu {
    visibility: hidden;
    opacity: 0;
}

ul.menu a.disabled {
    color: silver !important;
    background: white !important;
}

@media (max-width: 767px) {
    ul.menu {
        display: block;
    }
    body>ul.menu:after {
        display: block;
        content: '';
        width: 32px;
        height: 32px;
        background: url(../img/menu.svg) center no-repeat;
        background-size: 75%;
        cursor: pointer;
        position: absolute;
        top: 0;
        right: 0;
        opacity: 0.5;
    }
    ul.menu:after:hover {
        opacity: 1;
    }
    body>ul.menu:not(.open) li {
        height: 0;
        overflow: hidden;
    }
    ul.menu li:not(:hover) li {
        height: 0;
        overflow: hidden;
    }
    ul.menu li>.menu {
        display: block;
        position: relative;
        max-width: 100%;
        top: 100%;
        opacity: 1;
        transition: all 0.5s;
    }
}

.controls-panel {
    position: fixed;
    z-index: 100;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 5px;
    z-index: 5;
}

.controls-panel .info-btn {
    float: right;
    width: 32px;
    height: 32px;
    border: none;
    margin: 0 5px;
    background: url(../img/info.svg) center no-repeat;
    background-size: contain;
    opacity: 0.5;
}

.controls-panel .info-btn:hover {
    opacity: 1;
}

.controls-panel .screensize-btn {
    float: right;
    width: 32px;
    height: 32px;
    border: none;
    margin: 0 5px;
    background: url(../img/screensize.svg) center no-repeat;
    background-size: contain;
    opacity: 0.5;
}

.controls-panel .screensize-btn:hover {
    opacity: 1;
}

.controls-panel .subtitles-btn {
    float: right;
    width: 32px;
    height: 32px;
    border: none;
    margin: 0 5px;
    background: url(../img/subtitles.svg) center no-repeat;
    background-size: contain;
    opacity: 0.5;
}

.controls-panel .subtitles-btn:hover {
    opacity: 1;
}

.controls-panel.no-subtitles .subtitles-btn {
    filter: grayscale(1);
}

.subtitles {
    color: white;
    text-align: center;
    font-size: 20px;
    filter: drop-shadow(2px 3px 4px black);
    padding: 5px 30px;
}

.no-subtitles .subtitles {
    display: none;
}

/* .css-content > div > div {
    overflow: hidden;
} */

.css-wrap {
    overflow: hidden;
}

.css-element {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.css-element .slick-slider {
    transform: translate3d(0, 0, 0);
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    backface-visibility: visible;
}

.css-element .slick-slider .slick-track {
    transform: translate3d(0, 0, 0);
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    backface-visibility: visible;
}

.css-element .slick-slider .slick-slide {
    display: block;
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
}

.pointerTitle {
    position: fixed;
    z-index: 10000;
    color: white;
    text-align: center;
    font-size: 16px;
    filter: drop-shadow(2px 2px 4px black);
    transform: translateX(-50%);
    white-space: initial;
    max-width: 200px;
    min-width: 150px;
    background: #00000050;
    padding: 10px;
}

.pointerTitle:not(.actual) {
    opacity: 0;
}

@media (max-width: 767px) {
    .pointerTitle {
        display: none !important;
    }
}

img {
    max-width: 100%;
}

.video-block {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
}

.video-block.video-transparent {
    background: transparent;
}

.video-block>iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

.video-block>video {
    display: block;
    position: relative;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    outline: none;
    z-index: 0;
    object-fit: fill;
}

.video-block.video-controls .play {
    position: absolute;
    bottom: 10px;
    right: 10px;
    cursor: pointer;
    display: block;
    width: 30px;
    height: 30px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url(../img/play.svg);
    opacity: 0.7;
    z-index: 100;
    overflow: visible;
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
}

.video-block.video-controls .play:hover {
    opacity: 1;
}

.video-block.video-controls.video-plays .play {
    background-image: url(../img/pause.svg);
}

.glow {
    filter: drop-shadow(0px 0px 2px white) drop-shadow(0px 0px 9px white) drop-shadow(0px 0px 2px white);
}

[data-youtube] {
    cursor: pointer;
    background-position: center;
    background-size: cover;
    position: relative;
}

[data-youtube]:not(.youtube-player):before {
    content: '';
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url(../img/youtube.svg) center no-repeat;
    background-size: 64px;
}

.sceneContainer canvas {
    position: relative;
    min-width: 100%;
    min-height: 100%;
}

.intro-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    background: #00000033;
    opacity: 1;
    visibility: visible;
    transition: all 0.5s;
}

.intro-modal__body {
    position: absolute;
    top: 50%;
    left: 50%;
    padding: 15px 15px 0px;
    z-index: 10000;
    background: #ffffffe0;
    border-radius: 3px;
    transform: translate(-50%, -50%);
    color: #303267;
    width: 510px;
    font-size: 13px;
    max-width: 90vw;
    max-height: 90vh;
    overflow: auto;
}

.intro-modal:not(.active) {
    opacity: 0;
    visibility: hidden;
}

.intro-modal button {
    max-width: 30%;
    width: 100%;
    height: 100%;
    border-top: 1px solid #a6a6a6;
    border-right: 1px solid #a6a6a6;
    border-bottom: 1px solid #a6a6a6;
    background-color: #907759;
    border: #907759;
    color: #fff;
    -webkit-transition: background-color 0.5s;
    -o-transition: background-color 0.5s;
    transition: background-color 0.5s;
    cursor: pointer;
}

.intro-modal button:hover {
    background-color: #664d2f
}

.screen-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 40px;
    white-space: nowrap;
    color: gray;
}

.backdrop-blur {
    backdrop-filter: blur(10px);
}

.screen-iframe {
    width: 100%;
    height: 100%;
    border: none;
    position: absolute;
    display: block;
    border-radius: 40px;
}

.screen-youtube {
    width: 100%;
    height: 100%;
    border: none;
    position: absolute;
    display: block;
}

.screen-youtube-wrap {
    width: 100%;
    height: 100%;
    border: none;
    position: absolute;
    display: block;
    background-color: black;
}

.screen-youtube-wrap:before {
    content: "";
    width: 100%;
    height: calc(100% - 60px);
    border: none;
    position: absolute;
    display: block;
    z-index: 2;
    cursor: pointer;
}

.screen-link {
    width: 100%;
    height: 100%;
    border: none;
    position: absolute;
    display: block;
    background-position: center;
    background-size: cover;
    text-align: center;
    background-repeat: no-repeat;
}

.slick-slider, .slick-list, .slick-track {
    height: 100%;
}

.fortune-cookies {
    background-color: #ffe0e6;
    padding: 10px;
    position: relative;
}

.fortune-cookies__title {
    color: black;
    font-size: 1.3em;
    margin: 0 0 15px 0;
    text-align: center;
}

.fortune-cookies__items {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    justify-content: space-around;
    min-height: 250px;
}

.fortune-cookies__item:not(.active) {
    width: 25%;
    min-width: 150px;
    padding-top: 10%;
    background: url(../img/fortunecookie0.png) center no-repeat;
    background-size: contain;
    position: relative;
    cursor: pointer;
}

.fortune-cookies__item.active {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../img/fortunecookie1.png) 50% 15% no-repeat;
    background-size: 40%;
    position: absolute;
    background-color: #ffe0e6;
    text-align: center;
    z-index: 10;
    padding: 25% 15px 0;
    font-size: 1.2em;
}

.fortune-cookies__item:not(.active) span {
    display: none;
}

.fortune-cookies__item.active span {
    display: inline-block;
    padding: 15px 0;
}

.test {}

.test__slide {
    position: relative;
}

.test__slide:not(.active) {
    display: none;
}

.test__slide-number {
    font-size: 0.7em;
    text-align: center;
    margin: 0 0 15px 0;
}

.question-option {
    display: none;
}

.question-option+span {
    cursor: pointer;
}

.question-option+span:before {
    display: inline-block;
    content: '';
    width: 1.2em;
    height: 1.2em;
    border-radius: 50%;
    border: 0.2em solid white;
    box-shadow: 0 0 2px black;
    margin: 0 10px 0 0;
    vertical-align: middle;
}

.has-answer .question-option:checked+span:before {
    background-color: red;
}

.has-answer .question-option__right+span:before {
    background-color: green !important;
}

.test__slide-title {
    text-align: center;
    font-weight: bold;
    margin: 0 0 15px 0;
}

.test__slide-text-after {
    margin: 15px 0;
}

.test__slide:not(.has-answer) .test__slide-text-after {
    display: none;
}

.btn-info {
    background-color: #00a590;
    border: #00a590;
}

.btn-info:hover {
    background-color: #008a77;
}

ul.materials {
    margin: 0;
    padding: 0;
}

ul.materials li {
    display: block;
    padding: 5px 0;
    color: #2f90f8;
}

ul.materials li+li {
    display: block;
    padding: 5px 0;
    border-top: 2px solid #6bb2ff;
}

.image-popup {
    overflow: auto;
}

.image-popup>img {
    width: auto;
    max-width: initial;
    height: auto;
    max-height: 90vh;
}

.modal {
    z-index: 2000;
}

.modal-title {
    margin-bottom: 0;
    line-height: 1.5;
    display: block;
    width: 100%;
    /* font-family: AvantGarde-Bold; */
    font-style: normal;
    font-weight: bold;
    font-size: 29px;
    line-height: 23px;
    text-align: center;
    color: #575771;
}

.modal-header {
    border-bottom: 1px solid #DCDEED;
}

.modal-content {
    border-radius: 10px;
    color: #575771;
}

.illustration {
    border-radius: 10px;
    background-color: #4F5FA9;
    color: white;
    margin: 0 0 15px 0;
}

.illustration img {
    border-radius: 10px;
    display: block;
    position: relative;
}

.illustration[title]:after {
    content: attr(title);
    position: relative;
    display: block;
    padding: 7px 10px;
    font-size: 0.8em;
    line-height: 1em;
}

*::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

*::-webkit-scrollbar-track {
    background: #DCDEED;
}

*::-webkit-scrollbar-thumb {
    background-color: #4F5FA9;
    border-radius: 4px;
}