:root {
	--sheetzRed: #e01839;
	--redLight: rgb(255, 51, 51);
	--whiteTranslucent: #ffffff67;
	--shadow: 0 0 20px rgb(177, 177, 177);
	--vignette: radial-gradient(rgba(163, 181, 211, .1) 45%, rgba(74, 129, 231, 0.34) 100%);
}

html {
	box-sizing: border-box;
	font-family: 'Gotham', sans-serif;
	color: var(--dark);
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}

body {
	cursor: default !important;
}

.dev-tools {
    visibility: hidden;
}

.overlay {
    display: block;
    background-color: #b8022c;
    opacity: 1;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    pointer-events: all;
    transition: 0.6s;
	-webkit-transition: 0.6s;
}

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

.loading-container {
    position: absolute;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
}

#loadingGraphic {
    display: flex;
    justify-content: center;
    flex-direction: row;
    user-select: none;
    margin: auto;
    margin-top: 30vh;
    margin-bottom: 0;
    height: 30vw;
    width: 30vw;
    animation: loadingAnimation 2s infinite;
    -webkit-animation: loadingAnimation 2s infinite;
    animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1);
    -webkit-animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1);
}

#loadingSubtitle {
    margin: auto;
    margin-top: 6vw;
    user-select: none;
    text-align: center;
    font-size: 5vw;
    line-height: 7vw;
    font-weight: 500;
    color: white;
    user-select: none;
    transition: 0.3s;
	-webkit-transition: 0.3s;
}

/* Device Permission Override */
.a-dialog {
    background-color: #910324;
    width: 60vw;
    height: 40vw;
    color: #e7e7e7;
    padding: 50px;
    border-radius: 0;
    font-family: 'Gotham', sans-serif !important;
}

.a-dialog-text-container {
    background-color: #ffffff00;
}

.a-dialog-allow-button {
    margin-left: 15px;
    background-color: #b8022c;
    color: #ffffff;
    font-size: 5vw !important;
    line-height: 5vw !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 10%;
    font-family: 'Gotham', sans-serif !important;
}

.a-dialog-deny-button {
    margin-right: 15px;
    background-color: #b8022c;
    color: #ffffff;
    font-size: 5vw !important;
    line-height: 5vw !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 10%;
    font-family: 'Gotham', sans-serif !important;
}

.a-dialog-text {
    font-size: 5vw !important;
    line-height: 5vw !important;
}

.bottom-message {
    position: absolute;
    z-index: 2;
    width: 100vw;
    text-align: center;
    bottom: 20vh;
    pointer-events: none;
    color: white;
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.7);
    font-size: 3.5em;
    font-weight: 500;
    opacity: 0;
    transition: 0.6s;
	-webkit-transition: 0.6s;
}

.bottom-message.show-message {
    opacity: 1;
}

/* Landscape Settings */
@media screen and (min-aspect-ratio: 1/1) {
    #loadingGraphic {
        margin-top: 32vh;
        height: 15vh;
        width: 15vh;
    }
    #loadingSubtitle {
        margin-top: 6vh;
        font-size: 4vh;
        line-height: 5vh;
    }
    .a-dialog {
        width: 30vw;
        height: 20vw;
    }
    .a-dialog-text {
        font-size: 2.5vw !important;
        line-height: 2.5vw !important;
    }
    .a-dialog-allow-button {
        font-size: 2.5vw !important;
    }
    .a-dialog-deny-button {
        font-size: 2.5vw !important;
    }
    .bottom-message {
        font-size: 1.5em;
        bottom: 6vh;
    }
}


.blackout-overlay {
    display: none;
    background-color: black;
    opacity: 0;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    pointer-events: none;
    animation: fadeTransition .6s 1;
    -webkit-animation: fadeTransition .6s 1;
}

#blackoutOverlay.active {
    display: block;
}

#blackoutOverlayStart.blackout-overlay {
    opacity: 1;
}

#horizonLine {
    z-index: 11;
    position: absolute;
    margin-top: 50vh;
    width: 100vw;
    height: 5px;
    background-color: tomato;
    pointer-events: none;
}

#vertLine {
    z-index: 11;
    position: absolute;
    margin-left: 49.8vw;
    height: 100vh;
    width: 5px;
    background-color: rgb(62, 180, 62);
    pointer-events: none;
}

#locationList {
    z-index: 11;
    position: absolute;
    width: 30vh;
    height: 90vh;
    right: 0;
    overflow-y: scroll;
    background-color: rgb(224, 24, 24);
    padding-right: 2vw;
}

#activeLocation {
    position: absolute;
    z-index: 11;
}

#locationList li{
    height: 3vh;
    background-color: rgb(255, 51, 51);
    color: white;
    padding: 1vw;
    margin-bottom: 2vh;
}

.control-group {
    position: absolute;
    display: flex;
    flex-direction: column;
    z-index: 11;
    margin-top: 10vh;
    height: auto;
    width: 15vw;
    background-color: #00000075;
    color: white;
}

#positionControlGroup {
    margin-top: 35vh;
}

.val-control {
    display: flex;
    flex-direction: row;
    height: 5vh;
    width: auto;
    margin-top: 0.5vh;
    margin-bottom: 0.5vh;
}

.val-button {
    background-color: white;
    color: black;
    width: 20%;
    height: 90%;
    text-align: center;
    font-size: 3vh;
    margin-right: 2%;
    padding: auto;
    -webkit-user-select: none;
}

.val-text {
    color: white;
    margin: auto;
}

@keyframes fadeTransition {
    0%{ opacity: 0; }
    50%{ opacity: 1; }
    100%{ opacity: 0; }
}
@-webkit-keyframes fadeTransition {
    0%{ opacity: 0; }
    50%{ opacity: 1; }
    100%{ opacity: 0; }
}

@keyframes loadingAnimation {
    0%{ transform: rotate(0deg); }
    40%{ transform: rotate(360deg); }
    100%{ transform: rotate(360deg); }
}
@-webkit-keyframes loadingAnimation {
    0%{ -webkit-transform: rotate(0deg); }
    40%{ -webkit-transform: rotate(360deg); }
    100%{ -webkit-transform: rotate(360deg); }
}

@font-face {
    font-family: "Gotham";
    src: url("../fonts/Gotham-Black.woff") format('woff'), 
         url("../fonts/Gotham-Black.woff2") format('woff2');
    font-style: normal;
    font-weight: 500;
}

@font-face {
    font-family: "Gotham";
    src: url("../fonts/Gotham-Bold.woff") format('woff'),
         url("../fonts/Gotham-Bold.woff2") format('woff2');
    font-style: normal;
    font-weight: 400;
}

@font-face {
    font-family: "Gotham";
    src: url("../fonts/GothamXNarrow-Bold.woff") format('woff'),
         url("../fonts/GothamXNarrow-Bold.woff2") format('woff2');
    font-style: normal;
    font-weight: 600;
}

@font-face {
    font-family: "Gotham";
    src: url("../fonts/GothamUltra.woff") format('woff'),
         url("../fonts/GothamUltra.woff2") format('woff2');
    font-style: normal;
    font-weight: 700;
}
