html, body, input {
    font-family: 'Open Sans', sans-serif;
    line-height:1.75em;
}

body {
    box-sizing:border-box;
    color:#edecee;
    background:#15141b;
    font-size: 1em;
    padding: 3em 5em 2em 5em;
    margin: 0 0 10em 0;
    width: 100%;
}

header {
    margin-top: 0.5em;
    z-index:2;
}

nav {
    text-align:left;
    background:#21202b;
    position: fixed;
    left: 0;
    top: 0;
    width:100%;
    border-bottom:1px solid #000000;
    padding:0.3em 0.3em 0.3em 2em;
    -webkit-box-shadow: 0em 0.2em 0.3em 0em rgba(0,0,0,0.5);
    -moz-box-shadow: 0em 0.2em 0.3em 0em rgba(0,0,0,0.5);
    box-shadow: 0em 0.2em 0.3em 0em rgba(0,0,0,0.5);
    z-index:2;
}

nav a {
    font-size: 1.1em;
    margin-left: 1em;
    margin-right: 1em;
}

::selection {
  background: #3d375e7f;
}

a {
    outline:none;
    text-decoration: none;
}

a:link {
    color:#82e2ff;
}

a:visited {
    color:#a277ff;
}

a:hover {
    color:#ffca85;
}

a:active {
    color:#ff6767;
}

#previous, 
#next {
    position:fixed;
    top:0;
    height:100%;
    width:3em;
    z-index:1;
    background:#21202baa;
}

#previous:hover, 
#next:hover {
    background:#21202bdd;
}

#previousarrow, 
#nextarrow {
    color:#ffffff;
    font-size: 3em;
    padding: 0.1em;
    position:fixed;
    top:50%;
    z-index:0;
}

#previous,
#previousarrow {
    left:0;
}

#next,
#nextarrow {
    right:0;
}

article, section {
    width:100%;
}

article img,
article embed,
article video {
    margin: 0.5em 1em 2em 5em;
    max-width:60%;
    padding:1em;
}

article embed,
article video {
    min-width:960px;
    min-height:590px;
}

pre {
    white-space: pre-wrap;
    white-space: -moz-pre-wrap;
    white-space: -pre-wrap;
    white-space: -o-pre-wrap;
    word-wrap: break-word;
}

ul {
    padding-left:2em;
}

footer {
    font-size:0.8em;
    text-align:right;
    background:#21202b;
    position: fixed;
    right: 0;
    bottom: 0;
    width:100%;
    border-top:1px solid #000000;
    padding: 0.1em 2em 0.1em 0.1em;
    -webkit-box-shadow: 0em -0.1em 0.3em 0em rgba(0,0,0,0.2);
    -moz-box-shadow: 0em -0.1em 0.3em 0em rgba(0,0,0,0.2);
    box-shadow: 0em -0.1em 0.3em 0em rgba(0,0,0,0.2);
    z-index:2;
}

h1, h2, h3, h4, h5, h6 { 
    font-weight:normal; 
    color:#61ffca;
}

h1 {
    display: inline-block;
    font-size: 1.4em;
    line-height: 1em;
    font-weight:bold;
}

h2 {
    font-size: 1.4em;
}

h3 {
    font-size: 1.2em;
}

.property, .button {
    margin-right:1em;
}

.button {
    display:inline-block;
}

.button {
    vertical-align: middle;
    white-space: nowrap;
    font-size:1.5em;
    font-style:normal;
    padding:0.1em 0.3em;
    border-radius:0.1em 0.3em 0.1em 0.3em;
    border: 1px solid #000000;
    -webkit-box-shadow: 0em 0.2em 0.3em 0em rgba(0,0,0,0.5);
    -moz-box-shadow: 0em 0.2em 0.3em 0em rgba(0,0,0,0.5);
    box-shadow: 0em 0.2em 0.3em 0em rgba(0,0,0,0.5);
}

.button:hover {
    -webkit-box-shadow: 0em 0.1em 0.2em 0em rgba(0,0,0,0.5);
    -moz-box-shadow: 0em 0.1em 0.2em 0em rgba(0,0,0,0.5);
    box-shadow: 0em 0.1em 0.2em 0em rgba(0,0,0,0.5);
}

.download {
    background-color: #009688;
}

.steam {
    background-color: #171a21;
}

.steam::before {
    display: inline-block;
    background-size: 1.3em 1.3em;
    height: 1.3em;
    width: 1.3em;
    background-image: url(../images/steam.png);
    content: "";
    vertical-align: text-bottom;
    margin-right: 0.5em;
}

.discord {
    background-color: #7289d9;
}

.reddit {
    background-color: #ff4500;
}

.rss {
    background-color:#121212;
}

.textimage {
    height: 1em;
    width: 1em;
    vertical-align:middle;
}

.rss::before {
    display: inline-block;
    background-size: 1.3em 1.3em;
    height: 1.3em;
    width: 1.3em;
    background-image: url(../images/rss.png);
    content: "";
    vertical-align: text-bottom;
    margin-right: 0.5em;
}

.button a {
    color:#dddddd;
}

.button:hover a {
    color: #ffffff;
}

.sourceCode,
.code,
code {
    display:inline-block;
    font-family: 'Roboto Mono', monospace;
    white-space:pre;
}


code {
    color:#eeeeee;
    background-color:#202020;
    padding-left: 0.5em;
    padding-right: 0.5em;
}

code.inline {
    color:#a277ff;
}

div.sourceCode,
div.code,
pre.code,
code:not(.inline) {
    padding:1em 3em 1em 3em;
    overflow-x: auto;
    display:block;
}


div.sourceCode,
div.code,
pre.code,
article img,
article embed,
article video {
    border-color:#000000;
    border-width:1px;
    border-style:solid;
    background-color:#202020;
    line-break:normal;
    -webkit-box-shadow: 0em 0.1em 0.1em 0em rgba(0,0,0,0.5);
    -moz-box-shadow: 0em 0.1em 0.1em 0em rgba(0,0,0,0.5);
    box-shadow: 0em 0.1em 0.1em 0em rgba(0,0,0,0.5);
}

.sourceCode .kw { color: #C3E88D; }
.sourceCode .dt { color: #7f31a0; }

.sourceCode .dv,
.sourceCode .bn,
.sourceCode .fl { color: #73d1c8; }

.sourceCode .fu, 
.sourceCode .st { color: #F07178; }

.sourceCode .re, 
.sourceCode .va { color: #C3E88D; }

.sourceCode .ch { color: #89DDF3; }
.sourceCode .co { color: #565656; }
.sourceCode .ot { color: #7986CB; }
.sourceCode .al { color: #FF5370; font-weight: bold; }
.sourceCode .er { color: #F78C6A; font-weight: bold; }
.sourceCode .cf { color: #FF5370; }
.sourceCode .bu { color: #009688; }
.sourceCode .at { color: #7986CB; font-weight: bold; }

.icon {
    vertical-align: top;
    display: inline-block;
    height:1.1em;
}

.icon img {
    height:100%;
}

.logo {
    height:3em;
    margin:0 0 1em 1em;
    margin-left:1em;
    -webkit-filter: drop-shadow(4px 4px 5px #000000);
    filter: drop-shadow(4px 4px 5px #000000);
}
.logo.invert {
    -webkit-filter: invert(100%) drop-shadow(4px 4px 5px #000000);
    filter: invert(100%) drop-shadow(4px 4px 5px #000000);
}

.logo:hover {
    -webkit-filter: drop-shadow(2px 2px 3px #000000);
    filter: drop-shadow(2px 2px 3px #000000);
}

.logo.invert:hover {
    -webkit-filter: invert(100%) drop-shadow(2px 2px 3px #000000);
    filter: invert(100%) drop-shadow(2px 2px 3px #000000);
}

article .header, .fixedbuttons {
    color: #666666;
    font-size: 0.7em;
    font-style: italic;
}

.fixedbuttons {
    position:fixed;
    left:5em;
    bottom:3em;
}

.fixedbuttons .button {
    border: 2px solid #999999;
    margin-top: 0.5em;
}

.language,
.date,
.platform {
    font-family: 'Roboto Mono', monospace;
    font-size:0.7em;
    color: #666666;
    vertical-align:middle;
}

@media only screen and (max-width: 768px) {
    body {
        padding-left:1em;
        padding-right:1em;
    }

    .fixedbuttons {
        left: 5em;
    }

    nav {
        text-align:center;
        padding:0.2em;
    }

    footer {
        left:0;
        text-align:left;
        padding:0.2em;
    }

    ul {
        padding-left:0.5em;
        list-style-type:none;
    }

    article img,
    article embed,
    article video {
        margin:1em 0.5em 0.5em 0.5em;
        max-width:90%;
        padding:0.3em;
    }

    .sourceCode,
    .code,
    code {
        font-size:0.85em;
    }

    .optional {
        display:none;
    }
}
