::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 4px;
    background-color: #072a5f
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
    background-color: #072a5f
}

::-webkit-scrollbar-thumb {
    border-radius: 4px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    background-color: rgba(1,253,198,0.9)
}

a {
    text-decoration: none;
    color: #00d2f7
}

a:not(.nohover):hover {
    text-shadow: 0 0 0.2em #01fdc7,0 0 0.25em rgba(1,253,199,0.7),0 0 0.3em rgba(1,253,199,0.5),0 0 0.4em rgba(1,253,199,0.3),0 0 0.6em rgba(1,253,199,0.2),0 0 1em rgba(1,253,199,0.1);
    color: #01fdc7
}

a:visited {
    color: #ff6b83
}

body {
    position: fixed;
    left: 0;
    top: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    align-items: stretch;
    font-family: 'Courier New', monospace;
}

#groupsearch {
    min-width: 20em;
    background:rgb(3, 2, 56);

    order: 0;
    flex-grow: 1;

    display: flex;
    flex-flow: column wrap;
    justify-content: space-around;
    align-items: stretch;
}

#groupsearch-ui {
    color: white;
    border-bottom: 1px white solid;
    
    padding: 0.7em;
    order: 0;
}

#groupsearch-ui > input {
    background: black;
    color: white;
    width: calc(100% - 7em);
    padding: 0.3em;
    margin-top: 0.3em;

    border-radius: 0.5em;
}

#groupsearch-ui > input:focus {
    background-color: #0060B5;
}

#groupsearch-results {
    min-height: 10em;
    border-bottom: 1px white solid;

    flex-grow: 5;
    order: 1;
}

#groupsearch-results-invisible {
    position: relative;
    height: 0;
    width: 0;
}

#groupsearch-results-box {
    z-index: 100;
    overflow-y: auto;
}

.group-listing {
    border-bottom: 1px white solid;
    color: white;

    display: grid;
    grid-template-columns: 30% auto;
}

.group-listing:hover {
    background-color: #B51770;
    cursor: pointer;
}

.group-listing-selected {
    background-color: #01766b;
}

.group-listing > p {
    margin: 0;
    padding: 0.5em;
}

.group-listing-name {
    font-size: 1.2em;
    text-align: center;
    vertical-align: middle;
    margin: 0.5em;

    grid-column-start: 1;
}

.group-listing-desc {
    font-size: 0.9em;
    vertical-align: middle;
    grid-column-start: 2;
}

#end-result {
    width: 100%;

    display: flex;
    cursor: initial;
}

#end-result-text {
    width: 100%;
    background-color: rgb(51, 13, 89);
    text-align: center;
    align-items: stretch;
}

#plot {
    min-width: 30em;
    min-height: 60%;
    background: rgb(3, 2, 56);
    border-left: white 1px solid;

    order: 1;
    flex-grow: 8;
}

#plot-invisible {
    width: 0;
    height: 0;
}

#info {
    position: absolute;
    right: 1em;
    bottom: 1em;
    z-index: 100;
}

.gg-info {
    box-sizing: border-box;
    position: relative;
    display: block;
    transform: scale(1.5);
    width: 20px;
    height: 20px;
    border: white 2px solid;
    border-radius: 40px
}
.gg-info::after,
.gg-info::before {
    content: "";
    display: block;
    box-sizing: border-box;
    position: absolute;
    border-radius: 3px;
    width: 2px;
    background: white;
    left: 7px
}
.gg-info::after {
    bottom: 2px;
    height: 8px
}
.gg-info::before {
    height: 2px;
    top: 2px
}

.gg-info:hover {
    cursor: pointer;
    border: #01fdc7 2px solid;
    box-shadow: 0 0 0.5em #01fdc6,0 0 0.6em rgba(1,253,198,0.7),0 0 0.8em rgba(1,253,198,0.5),0 0 1.2em rgba(1,253,198,0.3),0 0 1.8em rgba(1,253,198,0.2),0 0 2.5em rgba(1,253,198,0.1);
}

.gg-info:hover::after,
.gg-info:hover::before {
    background: #01fdc7;
}

#info-toggle:checked ~ label .gg-info {
    border-color: cyan;
    box-shadow: 0 0 0.5em #01fdc6,0 0 0.6em rgba(1,253,198,0.7),0 0 0.8em rgba(1,253,198,0.5),0 0 1.2em rgba(1,253,198,0.3),0 0 1.8em rgba(1,253,198,0.2),0 0 2.5em rgba(1,253,198,0.1);
}

#info-toggle:checked ~ label .gg-info::after,
#info-toggle:checked ~ label .gg-info::before {
    background: pink;
}

#info-toggle {
    position: absolute;
    left: -100vw;
}

#info-screen {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 2em;
    
    background: rgba(0,20,49,0.5);
    backdrop-filter: blur(10px);

    width: calc(min(40em, 70%));
    max-width: 40em;
    max-height: 70%;
    display: none;

    overflow-y: auto;

    color: white;
    border: cyan 2px solid;
}

#info-screen h1 {
    text-shadow: 0 0 0.2em #01fdc7,0 0 0.25em rgba(1,253,199,0.7),0 0 0.3em rgba(1,253,199,0.5),0 0 0.4em rgba(1,253,199,0.3),0 0 0.6em rgba(1,253,199,0.2),0 0 1em rgba(1,253,199,0.1);
}

#info-screen h2,
#info-screen h3,
#info-screen h4 {
    text-shadow: 0 0 0.2em #e18ce4,0 0 0.25em rgba(247,101,252,0.7),0 0 0.3em rgba(247,101,252,0.5),0 0 0.4em rgba(247,101,252,0.3),0 0 0.6em rgba(247,101,252,0.2),0 0 1em rgba(247,101,252,0.1);
}

#info-screen code {
    color: #fa0;
    font-size: 1.1em;
}

#info-toggle:checked ~ #info-screen {
    display: initial;
}

#ui-control {
    position: absolute;
    right: 0;
}

#ui-control, #ui-control *{
    font-size: 0.96em;
}
