@font-face {
    font-family: Oxanium;
    src: url(oxanium.ttf);
}

body {
    display: flex;
    align-items: safe center;
    flex-direction: column;
    background: black;
    margin: 0px;
    height: 100vh;
    color: white;
    font-family: sans-serif;
    font-size: 14pt;
}

.topmenu_container {
    display: flex;
    justify-content: center;
    width: 100%;
    background: black url("scanline.png") bottom center;
}

.topmenu {
    display: flex;
    flex-grow: 1;
    align-items: center;
    justify-content: space-between;
    max-width: 800px;
}

.menuentries {
    display: flex;
    flex-flow: row wrap;
}

a {
    color: #daf;
}

.menu {
    font-family: Oxanium, sans-serif;
    display: block;
    font-size: 22pt;
    margin: 1em 0px 1em 30px;
    font-weight: bold;
}

a.menu{
    color: #ccc;
    text-decoration: none;
    text-shadow: 3px 0px 5px rgba(255,0,255,0.3), -3px 0px 5px rgba(50,50,255,0.7);
}

.toclink {
    text-decoration: none;
    color: #fff;
}

.logo {
    width: 200px;
    height: 120px;
    margin-top: 0px;
    margin-right: 10px;
}

a.menu.active {
    color: #fff;
    text-shadow: 3px 0px 5px rgba(255,0,255,0.7), -3px 0px 5px rgba(50,50,255,1);
}

main {
    max-width: 800px;
    padding: 40px 2em 0px 2em;
    text-align: justify;
}

main p, main ul, main ol {
    color:#eee;
    margin-top: 0px;
    margin-bottom: 0.5em;
}

main p em, main p code, main li em, main li code{
    color: #fff;
    font-style: normal;
}

main p code, main li code {
    background: rgba(70,70,70,0.5);
    border-radius: 3px;
    padding: 0em 0.2em 0.1em 0.2em;
}

h1, h2, h3, h4, .toctitle {
    font-family: Oxanium, sans-serif;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    clear: both;
    text-shadow: 3px 0px 5px rgba(255,0,255,0.7), -3px 0px 5px rgba(50,50,255,1);
}

.toctitle {
    display: block;
    font-size: 1.5em;
    font-weight: bold;
}

/* Really sorry about this */
h1:nth-child(1),
h2:nth-child(1),
h3:nth-child(1),
h4:nth-child(1) {
    margin-top: 0px;
}

h1 a {
    color: #ffff
}

.article_entry header, .single_article header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.between_articles {
    margin: 40px 0 40px 0;
    filter: drop-shadow(0px 0px 10px black);
    min-width: 80%;
}

header time {
    margin-left: 20px;
    text-align: right;
}
header h1 {
    text-align: left;
}

main img {
    border: 1px solid #444;
    border-radius: 5px;
    filter: drop-shadow(0px 0px 10px black);
    margin: 1em 0px 1em 0px;
    max-width: min(90vw, 800px);
}

iframe {
    max-width: min(90vw, 800px);
    margin: 1em 0 1em 0;
}

.highlight {
    overflow: auto;
    max-width: min(800px, 90vw);
    max-height: 700px;
    border: 1px solid #444;
    border-radius: 5px;
    filter: drop-shadow(0px 0px 10px black);
    margin: 1em 0px 1em 0px;
}

.highlight pre {
    padding-left: 20px;
}

.highlight .highlighttable {
    margin: 0;
}
.highlight .linenos, .highlight .code {
    padding: 0;
}

.thumbnail {
    width: 200px;
    height: 200px;
    float: right;
    display: inline-block; margin: 0em 0px 1em 25px;
}

.prev_next {
    display: flex;
    justify-content: space-between;
}

table {
    border-collapse: collapse;
    text-align: left;
    margin: 1em 0 1em 0;
}

td, th {
    padding: 0.3em 1em 0.3em 1em;
}

tr:not(:last-child) td{
    border-bottom: 1px solid #888;
}

thead {
    border-bottom: 2px solid #888;
}

.overflow-container {
    overflow: auto;
    max-width: min(800px, 90vw);
}

blockquote {
    border-left: 3px solid #444;
    margin-left: 3px;
    padding-left: 15px;
    font-style: italic;
}

blockquote p {
    color: #ccc;
}

.bracket1 {
    color: #fcda9d;
}

.bracket2 {
    color: #feba8e;
}

.bracket3 {
    color: #fd968d;
}

.bracket4, .bracket5 {
    color: #dc7a90;
}

.keyword {
    color: #66d9ef;
}
