:root {
    --global-foreground: #555753;
    --global-background: #eeeeec;
    --link             : #2c72c7;
    --link-visited     : #00438a;
    --header           : #e3ad00;
    --navigation       : #37a42c;
    --navigation-hover : #00892c;
    --code-background  : var(--global-background);
}

@font-face {
    font-display: swap;
    font-family: "Bitter";
    font-style: normal;
    font-weight: 400;
    src: url("/static/fonts/bitter-v40-latin-regular.woff2") format("woff2");
}

@font-face {
    font-display: swap;
    font-family: "Bitter";
    font-style: italic;
    font-weight: 400;
    src: url("/static/fonts/bitter-v40-latin-italic.woff2") format("woff2");
}

@font-face {
    font-display: swap;
    font-family: "Bitter";
    font-style: normal;
    font-weight: 700;
    src: url("/static/fonts/bitter-v40-latin-700.woff2") format("woff2");
}

@font-face {
    font-display: swap;
    font-family: "Bitter";
    font-style: italic;
    font-weight: 700;
    src: url("/static/fonts/bitter-v40-latin-700italic.woff2") format("woff2");
}

@font-face {
    font-display: swap;
    font-family: "Lato";
    font-style: normal;
    font-weight: 400;
    src: url("/static/fonts/lato-v25-latin-regular.woff2") format("woff2");
}

@font-face {
    font-display: swap;
    font-family: "Lato";
    font-style: normal;
    font-weight: 700;
    src: url("/static/fonts/lato-v25-latin-700.woff2") format("woff2");
}

body {
    margin: 0;
    padding: 0;
    color: var(--global-foreground);
    font-family: "Bitter", serif;
    background-color: var(--global-background);
}

main {
    line-height: 135%;
}

h1, h2, h3 {
    margin-left: -0.4em;
}

h2, h3, h4 {
    line-height: 135%;
}

a {
    text-decoration: none;
    color: var(--link);
}

a:visited {
    color: var(--link-visited);
}

a[href^="http"]:after {
    content: "\00A0↗";
}

pre {
    background-color: var(--code-background);
    padding: 1em;
    border-radius: 0.3em;
}

code {
    background-color: var(--code-background);
    padding: 0.3em;
    border-radius: 0.3em;
}

dd {
    margin-bottom: 0.5em;
}

hr {
    color: transparent;
    border-top: 1px solid var(--global-foreground);
}

header {
    margin: 0 auto;
    padding: 0;
    max-width: 800px;
    height: 80px;
    background-color: var(--header);
}

header h1 {
    margin: 0;
    padding: 0;
    height: 80px;
}

header h1 a {
    color: transparent;
    display: block;
    height: 80px;
    width: 325px;
    background-image: url("/static/img/nasauber.de-2.png");
    background-position: right center;
    background-repeat: no-repeat;
    background-size: auto 44px;
    margin: 0 0.4em 0 auto;
}

nav.main_menu {
    float: right;
    background-color: var(--navigation);
    padding: 0.8em;
    margin: 0 0 1em 1em;
    border-radius: 0 0 0 1em;
    font-family: "Lato", sans-serif;
}

nav.main_menu ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

nav.main_menu ul li {
    padding: 0;
    border-bottom: 1px solid white;
}

nav.main_menu ul li:first-child {
    border-top: 1px solid white;
}

nav.main_menu ul li a,
nav.main_menu ul li span {
    display: block;
    padding: 0.2em 0.8em;
    color: white;
}

nav.main_menu ul li a {
    text-align: right;
    text-decoration: none;
}

nav.main_menu ul li a:hover {
    background-color: var(--navigation-hover);
}

nav.main_menu ul li span {
    font-weight: bold;
    text-align: left;
    background-color: var(--navigation-hover);
}

nav.main_menu ul li span:before {
    content: "« ";
}

#main_submenu {
    margin-right: -0.5em;
}

main {
    box-sizing: border-box;
    max-width: 800px;
    margin: 0 auto;
    padding: 0.5em 2em;
    background-color: white;
}

main li {
    margin-bottom: 0.5em;
}

blockquote {
    font-family: "Lato", sans-serif;
}

img.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    height: 100%;
}

img.left {
    display: block;
    margin-right: auto;
    width: 100%;
    height: 100%;
}

.center {
    text-align: center;
}

table.booktab {
    border-spacing: 0px;
}

table.booktab td {
    padding: 0.2em 0.7em 0.2em;
}

table.booktab tr:not(:first-child) td {
    border-top: 1px solid var(--global-foreground);
}

ol.footnotes {
    font-size: smaller;
    list-style: none;
    counter-reset: footnote;
    margin-left: -1.5em;
}

ol.footnotes li {
    counter-increment: footnote;
    text-indent: -2em;
    margin-left: 2em;
}

ol.footnotes li::before {
    content: counter(footnote) " ";
    vertical-align: super;
}

footer {
    box-sizing: border-box;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    background-color: var(--navigation);
    padding: 0.3em 2em;
    font-family: "Lato", sans-serif;
    color: white;
    text-align: center;
    clear: both;
}

footer div {
    font-size: smaller;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:visited {
    color: white;
}

footer span {
    font-weight: bold;
}

.break_all {
    word-break: break-all;
}
