:root {
    /** Market Garden colors **/
    /* buildings */
    --yellow1: #9c6a00;
    --yellow2: #c19315;
    /* greens */
    --green1 : #7f8900;
    --green2 : #a6b200;
    /* fire */
    --orange1: #e8c600;
    --orange2: #eadf9a;
    /* air */
    --air_d: #a9c4c5;
    --air_l: #d1dbda;
    /* characters */
    --dark   : #232d2b;
    --blue   : #36777e;
}

html, body {
    /* Avoid ugly scrollbars */
    overflow: hidden;
    /* Reset default browser paddings etc */
    margin: 0;
    padding: 0;
    border: 0;
    /* 100% size */
    width: 100vw;
    height: 100vh;

    font-family: "Poppins", sans-serif !important;
    font-weight: 400;
    font-style: normal;
  }

body {
    display: flex;
    flex-direction: column;
    background-color: #000 !important;
}

* {
    box-sizing: border-box;
}

header, footer, nav, .menu{
    overflow: hidden;
}

nav {
    background: transparent !important;
}


nav #menu a {
    color:white;
    height:2rem;
}

.mgButton {
    background:var(--yellow2);
    color:var(--dark);
    opacity:1.0 !important;
}

header nav span {
    font-size: 2rem;
    font-weight: bold;
}

header.page {
    display: flex;
    color:white;
    padding: 0 2em;
    max-height: 167px;
    align-items: center;
    justify-content: center;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    box-shadow: 0px 0px 8px 2px rgba(0, 0, 0, 0.3);
    z-index: 100;
    -webkit-app-region: drag;
}

#poi_modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    display: none;
}

#poi_img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

#poi_title {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 0 0 5px black;
}
#poi_close {
    position: absolute;
    top: 10px;
    right: 10px;
    color: white;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    z-index: 10000;
}

#poi_vim {
    position:relative;
    top:0;left:0;
    width:100%;height:100%;
}

#infoScreen {
    background-color: rgba(0, 0, 0, 0.8);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1280px;
    height: 90%;
    padding:2rem;
    margin-top:8vw;
    margin-bottom:2rem;
    color: var(--orange1);
    justify-content: center;
    align-items: center;
    font-size: .9em;
    z-index: 9999;
    overflow: auto;
}
#langMenu {
    position: absolute;
    top: 1.0em;
    right: 1.0em;
    z-index: 9999;
}
#langMenu img {
    padding:5px;
    cursor:pointer;
    width: 64px;
    max-width: 100%;
    height: auto;
    @media (max-width: 768px) {
        width: 48px;
    }
    @media (max-width: 480px) {
        width: 32px;
    }
}

#langMenu .active {
    opacity: 0.5;
}
.fade-in {
    animation: fadeIn 0.6s ease-in-out;
}

.fade-out {
    animation: fadeOut 0.6s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

#infoScreen h4 {
    padding-bottom: 0;
    color:white;
}
#infoScreen p.info_par {
    padding-top: 0;
    margin-top:0;
}
#infoScreen a {
    color: var(--orange2) !important;
}

#vidbg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9990;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.6);
    display: none;
}

#videoFrame {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1280px;
    height: 90%;
    justify-content: center;
    align-items: center;
    font-size: .9em;
    z-index: 9995;
    overflow: auto;
}

.tr_btn {
    border:2px solid white;
    background-color: black;
    color: white;
    z-index: 9999;
    position: absolute; 
    right: 10%;
    top: 10%; 
}

.a-enter-vr.fullscreen .a-enter-vr-button {
    background-image: url("/img/full_screen.svg") !important;
    min-width:32px;
    min-height:32px;
}
.a-enter-vr.fullscreen .a-enter-vr-button:hover {
    background-color: var(--blue) !important;
}

#credits {
    display: none;
}

#credits h4 {
    font-variant: small-caps;
    display: inline;
}
#credits p {
    padding-top: 0;
    margin-top:0;
}

a {
    color: var(--blue) !important;
    text-decoration: none;  
    font-weight: bold;
}

.btn_next, .btn_prev {
    color: var(--orange2) !important;
    padding:7px 15px;
}

.btn_prev {
    background-color: black;
}


#modTurn {
    max-width: 300px;
    width:60vw;
    margin: 0 8vw;
}

.start {
    background-color: black;
    clip-path: polygon(0 0, 80% 0, 100% 50%, 80% 100%, 0 100%, 20% 50%);
    padding:5px 2.4rem;
    width:10rem;
    font-size: 1.8rem;
}


#navPreview{
    float:right
}

@media (max-width: 1024px) {
    .desktop-only {
        display: none !important;
    }

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

@media (min-width: 1024px) {
    .desktop-only {
        display: block !important;
    }

    .mobile-only {
        display: none !important;
    }
}