body {
  background: #111;
  color: #f8f8f8;
  margin: 0;
}

canvas {
  /*background: pink;*/
    z-index: -1000;
    
}

body::before {
    content: "";
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    z-index: -10000;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(5, 5, 5, .7))), url(../../images/darkwaterbackground.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    overflow: hidden;
}

/* flex here is simply for easy alignment */
.menu-bar {
    display: flex;
}

/* This sets up the mobile settings, which is a slide down nav. The    flex display lines up the menu and the close button (fa-times) */

nav,
.menu-bar {
    background-color: rgba(5, 5, 5, .5);
    color: #fff;
    order: -1;
    width: 100%;
}

nav > ul {
    flex: 100%;
    list-style-type: none;
    display: flex;
    flex-direction: row;
    padding: 0;
    margin: 0;
    font-size: 1rem;
}

nav > ul a {
    text-decoration: none;
    color: #f5f5f5;
    display: block;
    padding: 1rem;
    font-family: "Space Mono", monospace;
    font-weight: 300;

}

    nav > ul {
        flex-direction: row;
        justify-content: space-around;
    }

.here {
    color: #fc6751;
}

.menu-bar i:hover {
    color: #fc6751;
}

nav a:link{
    color: #fff;
    text-decoration: none;
}

nav a:visted{
    color: #fff;
}

nav a[href]:hover,
.about-text a[href]:hover {
    color: #fc6751;
}

nav a:active{
    color: #fc6751;
}

a {
    transition: color .4s;
}

a:hover {
    transition: color .3s;
}


nav {
    order: -1;
    width: 100vw;
}

p {
    font-family: "Space Mono", monospace;
    color: #fff;
}

.game-wrapper {
    text-align: center;
    margin: 1em;
}

.text-box {
    background-color: rgba(210, 180, 140, 1); /*d2b48c dark */ /*light dbb583 */
    border-color: #a1773f;
    border-style: solid;
    border-width: 10px;
    width: 600px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -310px;
    margin-top: -200px;
    text-align: left;
    padding: 10px;  
    opacity: 0;
}

.on {
    opacity: 1;
}

.order1 {
    z-index: 1;
}

.inner-text-box {
    padding-bottom: .4rem;
}
.credits {
    text-align: center;
}

.credits > p {
        margin: 0;
    padding-bottom: 1rem;
}

.end-title {
    font-size: 1.5rem;

}

.press_space {
    padding-top: 2rem;
}

.end-header {
    font-size: 1.1rem;
}

.story-end {
        margin-top: -250px;
}
.space {
    padding-top: 1.2rem;
}