:root {
    --header-height: 5vh;
    --side-m-w: 25vw;

    --bg-color: black;
    --text-color: white;

    --blink-transition: 0.3s;
    --fade-transition: 0.3s;
    --chapter-color: 'rgb(0,0,0)';
    --chapter-text-color: 'rgb(255,255,255)';
}

*::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
* {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}
::-moz-selection { /* Code for Firefox */
  color: black;
  background: white;
}

::selection {
  color: black;
  background: white;
}

@font-face {
    font-family: 'AUTHENTICSans-90';
    src: url('../fonts/AUTHENTICSans-90.otf') format('opentype');
}

@font-face {
    font-family: 'AUTHENTICSans-Condensed-90';
    src: url('../fonts/AUTHENTICSans-Condensed-90.otf') format('opentype');
}

@font-face {
    font-family: 'AUTHENTICSans-90';
    font-weight: bold;
    src: url('../fonts/AUTHENTICSans-130.otf') format('opentype');
}

@font-face {
    font-family: 'Diatype';
    src: url('../fonts/Diatype_Semi-Mono/ABCDiatypeSemi-Mono-Ultra.woff')
        format('woff');
}
@font-face {
    font-family: 'DiatypeMono';
    src: url('../fonts/Diatype_Mono/ABCDiatypeMono-Regular.woff') format('woff');
}

* {
    font-family: 'DiatypeMono';
}
.bar-child {
    font-family: 'diatype';
    text-transform: uppercase;
    font-size: 1.7vw;
}
/*body {
    margin: 0;
    background-color: #000;
    color: #fff;
    font-family: Monospace;
    font-size: 13px;
    line-height: 24px;
    overscroll-behavior: none;
}

a {
    color: #ff0;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

button {
    cursor: pointer;
    text-transform: uppercase;
}

#info {
    position: absolute;
    top: 0px;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
    z-index: 1;
}

a,
button,
input,
select {
    pointer-events: auto;
}

.lil-gui {
    z-index: 2 !important;
}

@media all and (max-width: 640px) {
    .lil-gui.root {
        right: auto;
        top: auto;
        max-height: 50%;
        max-width: 80%;
        bottom: 0;
        left: 0;
    }
}

#overlay {
    position: absolute;
    font-size: 16px;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.7);
}

#overlay button {
    background: transparent;
    border: 0;
    border: 1px solid rgb(255, 255, 255);
    border-radius: 4px;
    color: #ffffff;
    padding: 12px 18px;
    text-transform: uppercase;
    cursor: pointer;
}

#notSupported {
    width: 50%;
    margin: auto;
    background-color: #f00;
    margin-top: 20px;
    padding: 10px;
}

#hud {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 20px;
    display: none;
}

#hud .keyControl {
    color: red;
    background: blue;
    padding: 10px;
    transition: background 1s;
}
#hud .keyControl.triggered {
    background: white;
    transition: background 0s;
    z-index: 10;
}
*/

.keyControl {
    cursor: pointer;
}
#overlayHud {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 11;
    pointer-events: none;
    display: none;
    opacity: 0;
    transition: 1.5s opacity; /* NOTE: TRANSITION NOT WORKING, display? */
}

#overlayHud .keyControl-JUMP {
    position: relative;
    width: 70px;
    height: 70px;
    background-image: url('../img/play.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% auto;
    pointer-events: all !important;
    display: none !important;
}

#imageHud {
    display: none;
    position: fixed;
    width: 100vw;
    bottom: var(--header-height);
    height: var(--header-height);
    /* background-color: red; */
    justify-content: center;
    align-items: center;
    z-index: 101;
    mix-blend-mode: difference;
    font-size: 0.9em;
}
#imageHud p {
    text-align: center;
    margin: 0;
    height: fit-content;
    width: fit-content;
}

#innerHud {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    z-index: 10;
}
#innerHud .crosshair {
    background-color: rgba(0, 0, 255, 1);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    opacity: 0;
    transition: opacity var(--mode-fade-transition);
}
#innerHud .crosshair.hover_video {
    animation-name: hover_video;
    animation-duration: 1s;
    animation-direction: reverse;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}
#innerHud .pov_focus {
    display: flex;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}
#innerHud .pov_focus > div {
    padding: 20px;
    background: black;
    pointer-events: all;
}
#innerHud > div {
    opacity: 0;
    pointer-events: none;
}
@keyframes hover_video {
    0% {
        background-color: rgba(0, 0, 255, 1);
        width: 1px;
        height: 1px;
        border: 0px solid rgba(0, 0, 255, 1);
    }
    100% {
        background-color: rgba(0, 0, 255, 0);
        width: 39px;
        height: 39px;
        border: 2px solid rgba(0, 0, 255, 1);
    }
}

/* .media.video { */
/*     position: absolute; */
/*     z-index: 0; */
/*     top: 0px; */
/*     left: 0px; */
/*     width: 200px; */
/*     height: 200px; */
/*     object-fit: contain; */
/*     pointer-events: none; */
/* } */

#hud {
    display: none !important;
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
}

body.NONE .none-show {
    display: flex;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    position: fixed;
    justify-content: center;
    align-items: center;
}

body.NONE .interface-show-hide:not(.none-show) {
    display: none;
}

body.ENTER .enter-show {
    display: flex;
}
body.ENTER .interface-show-hide:not(.enter-show) {
    display: none;
}

body.ENTER .enter-button {
    background: white;
    color: black;
    position: fixed;
    z-index: 20;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

body.MENU .menu-show {
    display: flex;
    /*    align-items: center;*/
}
body.MENU .interface-show-hide:not(.menu-show) {
    display: none;
}
body.MENU .main-menu > .filters {
    display: none !important;
}
body.POV #innerHud .menu {
    opacity: 1;
}
body.POV #map,
body.POV_FOCUS #map {
    width: 100%;
}

body.POV .pov-show {
    display: flex;
}
body.POV .interface-show-hide:not(.pov-show) {
    display: none;
}
body.POV #innerHud .pov {
    opacity: 1;
}

body.POV.SUB_HOVER .pov-hover-show {
    display: flex;
}
body.POV.SUB_HOVER .interface-show-hide:not(.pov-hover-show) {
    display: none;
}
body.POV #innerHud .pov_sub_hover {
    opacity: 1;
}

body.POV.SUB_AUTOPILOT .pov-autopilot-show {
    display: flex;
    width: 100%;
}
body.POV.SUB_AUTOPILOT .interface-show-hide:not(.pov-autopilot-show) {
    display: none;
}
body.POV #innerHud .pov_sub_autopilot {
    opacity: 1;
}

body.POV_FOCUS .pov-focus-show {
    width: 100%;
}

.pov-focus-video-show{
  display: none;
}

body.POV_FOCUS .pov-focus-show,
body.POV_FOCUS_IMAGE .pov-focus-image-show,
body.POV_FOCUS_IMAGE #imageHud.pov-focus-image-show,
body.POV_FOCUS_VIDEO .pov-focus-video-show:not(body.SUB_AUTOPILOT #videoProgressBar.pov-focus-video-show),
body.POV_FOCUS_VIDEO
    #overlayHud.pov-focus-video-show:not(
        body.SUB_INTRODUCTION #overlayHud.pov-focus-video-show,
        body.SUB_AUTOPILOT #overlayHud.pov-focus-video-show
    ) {
    display: flex;
    opacity: 1;
}
body.POV_FOCUS .interface-show-hide:not(.pov-focus-show) {
    display: none;
}
body.POV_FOCUS #innerHud .pov_focus {
    opacity: 1;
}

/*body.POV .pov-show{
	display: block;
}

body.POV .pov-show{
	display: block;
}*/

/*body.MENU .menu-show{
	display: block;
}
body.MENU .pov-show, body.MENU .pov-focus-show{
	display: none;
}*/

.loader {
    position: fixed;
    background: var(--bg-color) !important;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 10001;
    opacity: 1;
    transition: opacity 1s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.loader.hidden {
    display: none;
    opacity: 0;
    pointer-events: none;
}

* {
    box-sizing: border-box;
    /*    font-family: Helvetica;*/
}

#media {
    display: none;
}

.popup_text {
    position: absolute;
    z-index: 30;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    max-width: 30vw;
    margin: calc(var(--header-height) + 1em) 1em;
    padding: 0.5em;
    display: flex;
    flex-direction: column;
    row-gap: 1em;
    transform: translateX(0vw);
    transition: 0.5s transform;
    max-height: 86%;
    overflow-y: scroll;
    font-size: 0.95em;
}

.popup_text span.tag {
    border: 1px solid red;
    /* display: inline; */
    /* margin: 5px; */
    padding: 5px;
    color: red;
    margin-right: 0.5em;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    position: relative;
}
.tag-parent {
    padding-bottom: 0.5em;
}
.popup_text img {
    width: fit-content;
    height: auto;
    max-height: 30vh;
    object-fit: contain;
}

.popup_text p {
    margin: 0;
    line-height: 1.35em;
}

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

.introduction_text strong,
.introduction_text strong *,
.popup_text strong,
.popup_text strong * {
    color: lightgrey;
    font-weight: normal;
}

.introduction_container {
    width: 100%;
    z-index: 101;
    position: relative;
    height: calc(100% - (var(--header-height) * 2));
    top: var(--header-height);
    display: flex;
    justify-content: center;
    /* overflow-y: scroll; */
    pointer-events: none;
}

.introduction_wrap {
    width: 75%;
    /* height: 100%; */
    position: relative;
    /* z-index: 1000; */
    /* overflow-y: scroll; */
    /*    position: absolute;*/
    row-gap: 1em;
    display: flex;
    align-items: center;
    flex-direction: column;
    max-height: 100%;

    overflow-y: scroll;
    padding-top: 3em;
    padding-bottom: 3em;
}

.introduction_text {
    position: absolute;
    pointer-events: all;
    z-index: 100;
    color: white;
    width: 100%;
    height: 100%;
    margin: 0em;
    /*    padding: 2em 3em 3em 3em;*/
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 1;
    transition: 0.5s opacity;
    pointer-events: all;
    background: rgba(0, 0, 0, 0.8);
    overflow-y: scroll;
}
.introduction_text .continue_button {
    border: 1px solid white;
    padding: 0.4em 0.5em 0.4em 0.5em;
    font-size: 1.1em;
    border-radius: 3px;
    line-height: 1em;
    cursor: pointer;
    width: fit-content;
}
.introduction_text .continue_button:hover {
    background: white;
    color: black;
}
.introduction_text.hidden .continue_button {
    pointer-events: none;
}
.introduction_text .continue_button {
    pointer-events: all;
    margin-top: 1em;
}

.introduction_text p,
.introduction_text ul {
    margin: 0;
    max-width: 65%;
    line-height: 1.5em;
}
.introduction_text ul {
    row-gap: 1em;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0px;
}
.introduction_text ul li {
    width: 90%;
}
.introduction_text ul p {
    width: 100%;
    max-width: 100%;
}

.popup_text.hidden {
    transform: translateX(calc(-30vw - 1em));
}

.activeTag {
    background: white;
    color: black;
}

.timed_text_container {
    z-index: 10;
    position: absolute;
    bottom: var(--header-height);
    width: 100%;
    height: calc(100% - (var(--header-height) * 2));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 3em;
    pointer-events: none;
}

.timed_text_container .timed-text {
    background: rgba(0, 0, 0, 0.8);
    position: absolute;
    width: 100%;
    padding: 3em;
    transform: translateY(0vh);
    transition: 0.5s transform;
    bottom: 0;
}
.timed_text_container .timed-text.hidden {
    transform: translateY(100vh);
}
.timed-text p strong{
    color: lightgrey;
    font-weight: normal;
}
.guides.bar-child p {
    text-transform: lowercase;
    position: relative;
    bottom: 0.1em;
}

.loading {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    z-index: 100000;
}

.loading.hidden {
    display: none;
}
@keyframes loader {
    0% {
        content: '.';
    }
    33% {
        content: '..';
    }
    66% {
        content: '...';
    }
    100% {
        content: '.';
    }
}

.loader p::after,
.loading p::after {
    color: white;
    content: '...';
    animation: loader 2s linear infinite;
}

.mediaIndexNumbers {
    font-size: 0.6em;
    text-transform: lowercase;
    display: inline;
    margin-left: 0.6em;
}
#videoProgressBar {
    position: fixed;
    bottom: var(--header-height);
    left: 0px;
    height: 4px;
    width: 100%;
    z-index: 101;
    background: white;
}
#videoProgressBar div{
    position: absolute;
    left: 0px;
    height: 100%;
    background: black;
}

#autopilotProgressBar {
    position: fixed;
    bottom: var(--header-height);
    left: 0px;
    height: 4px;
    z-index: 102;
    display: none;
}
#autopilotIndicator {
    display: none;
    background: red;
    position: fixed;
    top: 0;
    height: var(--header-height);
    align-items: center;
    justify-content: center;
    right: 0;
    padding: 0.5em;
}

body.SUB_AUTOPILOT #autopilotProgressBar {
    display: block;
    background: red;
}
body.SUB_AUTOPILOT #autopilotIndicator {
    display: flex;
}

body.desktop .mobileBlocker {
  display: none;
}
body.mobile .mobileBlocker {
  display: flex;
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0px;
  top: 0px;
  z-index: 1000000;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: black;
}
.mobileBlocker h2,
.mobileBlocker p {
  text-align: center;
  margin: 3em;
  color: white;
}
.mobileBlocker .mobileUnblocker {
    cursor: pointer;
    font-size: 0.5em;
    /* text-transform: uppercase; */
}
@media screen and (orientation:landscape) and (min-width:2000px) {
    *{
      font-size: 18px
    }
}
