:root {
    --border: rgba(9, 30, 59, 0.699);
    --navbar_back: rgb(0, 0, 255);
    --navbar_bord: rgb(18, 73, 26);
    --navbar_text: white;
    --popup_back: rgba(7, 41, 57, 0.868);
    --popup_bord: rgba(0, 81, 255, 0.621);
}

* {
    scroll-behavior: smooth;
}

body {
    max-width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
    font-family: 'Courier New', Courier, monospace;

}

#layer_dark {
    background-color: rgba(0, 0, 0, 0.613);
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 11;
    display: none;
}


#info,
#instruction {
    display: none;
}

#info_button {
    position: fixed;
    z-index: 12;
    bottom: 2%;
    right: 1%;
}

#instruction_button {
    position: fixed;
    z-index: 12;
    bottom: 2%;
    right: 5%;
}

#output {
    position: fixed;
    z-index: 12;
    bottom: 2%;
    right: 13%;
}

.popup {
    position: fixed;
    z-index: 12;
    /* border: solid var(--popup_bord) 5px; */
    width: 50%;
    height: 50%;
    left: 25%;
    top: 25%;
    background-color: var(--popup_back);
    padding: 2%;
}

#close_all {
    /* border: solid 1px var(--popup_bord); */
    position: fixed;
    right: 17%;
    top: 25%;
    z-index: 12;
    display: none;
}


#navbar {
    height: 25%;
    width: 25%;
    background-color: var(--navbar_back);
    /* border: solid 3px var(--navbar_bord); */
    position: fixed;
    padding: 1%;
    padding-top: 3%;
    display: none;
    bottom: 0;
    border-top-right-radius: 3%;
    /* border-bottom-right-radius: 10%; */
    filter: drop-shadow(5px);
    overflow-y: scroll;
    font-size: 8pt;
    color: var(--navbar_text);

    border-top: 6mm black solid;

}

#navbar div {
    /* width: 100%;
    background-color: black;
    height: 2%; */
}

#navbar div button {
    position: absolute;
    top: 4%;
    right: 2%;
    background-color: rgba(255, 115, 0, 0.938);
    border-radius: 100%;
    border: solid .4px red;
}

#navbar a {
    color: white
}

#nav_button {
    position: fixed;
    top: 1%;
    left: 1%;
    z-index: 60;
}

#show_button {
    position: fixed;
    top: 5%;
    left: 1%;
    z-index: 10;
    display: none;
}

.container {
    width: 100%;
    height: 100%;
    border: solid black 3px;
    /* margin-left: 25%; */
    /* border: dashed green 10px; */
}

input {
    position: absolute;
    margin-top: 3%;
    height: 20%;
    right: 50%;
}


.box {
    width: 75%;
    height: 80%;
    margin-left: 6.5%;
    margin-top: 10%;
    /* height: 100vh; */
    box-shadow: 10px 11px 29px -9px var(--border);
    -webkit-box-shadow: 10px 11px 29px -9px var(--border);
    -moz-box-shadow: 10px 11px 29px -9px var(--border);
    /* padding: 25%; */
    overflow-y: scroll;
    z-index: 20;
}

.title {
    margin-top: 1%;
    margin-left: 6.5%;
}

.showbar {
    width: 23%;
    height: 100%;
    /* background: var(--navbar_back); */
    position: fixed;
    top: 0;
    right: 0;
    display: none;
    overflow-y: scroll;
    padding: 1%;
    display: block;
    border: solid red 3px;
}

.current a {
    color: red
}

img {
    width: 100%;
}

.slider {
    position: fixed;
    z-index: 50;
    width: 100%;
    height: 5%;
    top: 2%;
    right: -.5%;

    /* border: solid; */
}

.slider input {
    background: none;
    width: 100%;
    margin-top: 25%;
    right: 0;
    --thumb-transform: scale(.1);
}

input[type='range'] {
    -webkit-appearance: none !important;
    /* background: red; */
    height: 7px;
}

input[type='range']::-webkit-slider-thumb {
    -webkit-appearance: none !important;
    /* background: blue; */
    height: 10px;
    width: 0px;
}