@import url('https://fonts.googleapis.com/css?family=Share+Tech+Mono&display=swap');
@font-face {
    font-family: 'Monitorica';
    src: url('assets/ui/Monitorica-Rg.ttf') format('truetype');
}

body {
    margin: 0;
    background-color: #000;
    color: #fff;
    font-family: 'Share Tech Mono', monospace;
    font-size: 24px;
    line-height: 24px;
    user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
}

#gui {
    display: none;
}

#logo {
    position: fixed;
    top: 10px;
    left: 10px;
    width: 12%;
    min-width: 100px;
}

#controls {
    position: fixed;
    right: 10px;
    bottom: 10px;
    display: flex;
    flex-direction: column-reverse;
}

#catalogue {
    display: flex;
    flex-direction: row-reverse;
}

.cat_button {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 12px;
    font-family: 'Monitorica';
    /* color: rgba(200, 255, 255, 0.8); */
    font-size: 1.1vw;
    color: 'white';
}

.cat_button:hover {
    cursor: pointer;
    color: dodgerblue;
}

#button_current {
    width: 50px;
}

#button_future {
    width: 50px;
}

#button_starlink {
    width: 50px;
}

#button_other {
    width: 50px;
}

#options {
    display: flex;
    flex-direction: column-reverse;
    margin-bottom: 12px;
}

.option_button {
    display: flex;
    flex-flow: row;
    flex-direction: row-reverse;
    align-items: center;
    text-align: right;
    font-family: 'Monitorica';
    font-size: 0.9vw;
    /* color: rgba(200, 255, 255, 0.8); */
    margin-right: 10px;
    pointer-events: painted;
}

.option_button_img {
    vertical-align: middle;
    /* margin-left: 5px; */
    width: 28px;
    height: 30px;
    transition: 0.1s;
}

.option_button_img:hover {
    background-color: rgb(63, 87, 112);
    cursor: pointer;
}

/* 
.option_button_img:hover + .option_button {
    color: rgb(63, 87, 112);
    cursor: pointer;
} */

.option_button_img:active {
    background-color: dodgerblue;
    cursor: pointer;
}

#button_full_screen {
    width: 28px;
}

#button_VR {
    width: 25px;
}

#button_SNP_link {
    width: 25px;
}

#button_sat_coverage {
    width: 25px;
}

#button_SNP_coverage {
    width: 25px;
}

#button_orbit_types {
    width: 25px;
}

#button_orbits {
    width: 25px;
}

#button_search {
    width: 25px;
}

#search_input {
    font-family: 'Monitorica';
    font-size: 0.9vw;
    /* background-color: rgba(0, 0, 0, 0); */
    background-color: rgba(160, 202, 202, 0.2);
    outline: none;
    border-style: solid;
    border-color: rgba(65, 65, 65, 0.5);
    color: rgb(255, 255, 255);
    transition: 0.3s;
}

#search_input:focus {
    background-color: rgba(0, 0, 0);
}

#time_mult_slider_curve {
    position: fixed;
    cursor: pointer;
    left: 50%;
    bottom: 20px;
    transform: translate(-50%, 0);
    width: 440px;
    height: auto;
    stroke: rgba(65, 65, 65, 0.5);
    fill: none;
    stroke-width: 1.5px;
}

#time_buttons_and_display {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translate(-50%, 0);
    text-align: center;
    /* display: flex; */
    /* flex-direction: column; */
}

.time_button {
    font-weight: bold;
    height: 20px;
    outline: none;
    border: 0;
    background: rgba(236, 236, 236, 0.379);
    width: 35px;
    transition: .1s;
    font-size: 1.2vh;
    color: rgb(0, 0, 0);
    margin-bottom: 5px;
}

/* 
.time_button_img {
    vertical-align: middle;
    width: 15px;
    height: 10px;
    border: 0;
    padding: 0;
    margin-left: 0;
    margin-right: 0;
} */

#decMultiplier {
    border-radius: 35% 0 0 35%;
}

#incMultiplier {
    border-radius: 0 35% 35% 0;
}

.time_button:hover {
    background: #868686;
}

.time_button:active {
    background: #cecece;
}

#time_display {
    font-size: 2vh;
    color: rgba(200, 255, 255, 0.8);
}

.dot {
    position: fixed;
    height: 18px;
    width: 18px;
    background-color: black;
    border-radius: 50%;
    display: inline-block;
    z-index: 1;
    border: 2px solid rgba(116, 116, 116, 0.8);
}

.dot:hover {
    background: #868686;
    cursor: pointer;
}

.dot:active {
    background-color: #fa505c;
    border: 2px solid #fa505c;
}

#time_slider {
    display: none;
    cursor: pointer;
    position: fixed;
    left: 30px;
    top: 12%;
    height: 83%;
    stroke: rgba(65, 65, 65, 0.5);
    fill: none;
    stroke-width: 1px;
}

#time_slider_label {
    display: none;
    position: fixed;
    font-family: 'Monitorica';
    font-size: 14px;
    color: rgba(200, 255, 255, 0.5);
}

#time_slider_dot {
    display: none;
}

#selection_label {
    position: fixed;
    left: 50%;
    top: 20px;
    transform: translate(-50%, 0);
    font-family: 'Monitorica';
    font-size: 20px;
    color: rgba(255, 255, 255, 1);
}

canvas {
    position: absolute;
    margin: 0;
    display: block;
    z-index: -1;
}

#loading {
    position: fixed;
    font-family: 'Monitorica';
    font-size: 15px;
    top: 90%;
    width: 100%;
    padding: 10px;
    text-align: center;
}

#overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 1;
    background: #000;
}

#launchButton {
    display: none;
    position: absolute;
    text-align: center;
    top: 75%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: none;
    background: #fa505c;
    color: #ffffff !important;
    font-family: 'Monitorica';
    font-weight: 900;
    font-size: 0.7em;
    letter-spacing: 0.2em;
    padding-top: 0.7em;
    padding-bottom: 0.7em;
    padding-left: 2.5em;
    padding-right: 2.5em;
    text-transform: uppercase;
    border-radius: 6px;
    transition: all 0.3s ease 0s;
    z-index: 999;
}

#launchButton:hover {
    color: #404040 !important;
    font-weight: 700 !important;
    letter-spacing: 0.8em;
    background: #ffffff;
    cursor: pointer;
    -webkit-box-shadow: 0px 5px 40px -10px rgba(0, 0, 0, 0.57);
    -moz-box-shadow: 0px 5px 40px -10px rgba(0, 0, 0, 0.57);
    transition: all 0.3s ease 0s;
    text-decoration: none;
}

.info_pane {
    position: fixed;
    display: block;
    font-family: 'Monitorica';
    font-size: 0.6em;
    color: #b1b1b1;
    background-color: rgb(0, 0, 0, 0.5);
    text-align: center;
    padding: 0.8em;
}

.info_pane>a {
    color: rgb(89, 113, 139);
}

.info_pane_close {
    color: rgb(63, 87, 112);
    text-decoration: underline;
    cursor: pointer;
}

#credits_button, #credits_close_button{
    position: fixed;
    right: 12px;
    top: 12px;
    background: none;
    font-family: 'Monitorica';
    font-size: 0.6em;
    color: #868686;
    cursor: pointer;
    z-index: 10;
    text-align: right;
    padding-right: 0.5em;
}

#credits_button{
    display: block;
}

#credits_close_button{
    display: none;
}

#credits {
    display: none;
    right: 12px;
    top: 12px;
}

#search_label, #button_orbits_label, #button_SNP_coverage_label, #button_sat_coverage_label, #button_SNP_link_label, #button_orbit_types_label, #button_VR_label, #button_full_screen_label{
    cursor: pointer;
}