html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    background: url(./img/bg.htm) center center fixed #4d757f;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    font-size: 1.2em;
    font-family: sans-serif, monospace;
    color: #001233;
    line-height: 1.5;
    letter-spacing: 0.1em;
    word-spacing: 0.02em;
}

main {
    margin: 3em auto;
    width: 95%;
    max-width: 28em;
    background: rgba(245, 222, 179, 0.9) /* wheat */;
    padding: 0.5em;
    /* border: 0.02em #c0c0c0 solid; */
    border-radius: 0.3em;
}

/* Responsive */
@media (max-width: 600px) {
    body {
        font-size: 1em;
        align-items: flex-start;
        padding-top: 2em;
    }
    
    main {
        margin: 1em auto;
        width: 95%;
    }
    
    .content {
        margin-left: 0.5em;
        margin-right: 0.5em;
    }
    
    table, th, td {
        padding: 0 0.3em;
    }
    
    h1 {
        font-size: 1.3em;
    }
    
    .zeile {
        font-size: 0.7em;
    }
}

@media (max-width: 400px) {
    body {
        font-size: 0.9em;
    }
    
    li {
        margin-right: 0.5em;
    }
}

/* Nav */
nav {
    float: left;
}

nav ul {
    padding: 0;
    margin: 0;
    list-style: none;
    position: relative;
    top: unset;
}

svg {
    position: relative;
    top: .2em;
}

nav ul li {
    display: inline-block;
    list-style-type: none;
}

#first {
    border-bottom: 0.1em dotted transparent;
}

nav a {
    display: block;
    text-decoration: none;
    border-bottom: 0.1em dotted transparent;
}

nav a:hover {
    text-decoration: none;
    border-bottom: 0.1em dotted;
}

nav ul ul {
    z-index: 1;
    display: none;
    position: absolute;
    white-space: nowrap;
    top: 2em; /* the height of the main nav */
}

nav ul li:hover > ul {
    display: inherit;
}

nav ul ul li {
    /* width: 250px; */
    padding: .3em 1em;
    float: none;
    display: list-item;
    position: relative;
    background: rgba(250, 250, 250, 0.9);
}

nav ul ul ul li {
    position: relative;
    top: -2em;
    left: 8em;
}
/* Nav End */

h1, h2, h3, h4 {
    margin: 0;
    font-weight: normal;
    font-style: italic;
    float: right;
}

h1 { font-size: 1.5em; }
h2 { font-size: 1.2em; }
h3, h4 { font-size: 1em; }

ul {
    margin-top: 3.22em;
}

li {
    list-style-type: circle;
    margin-right: 1em;
}

.zeile {
    font-size: .8em;
    margin: 0 0 0 .5em;
}

table,
th,
td {
    border-collapse: collapse;
    /* border: 1px solid; */
    width: 100%;
}

td.content {
    height: 18em;
    vertical-align: top;
}

th,
td {
    padding: 0 0.7em;
}

a {
    color: #001233;
    text-decoration: none;
}

a:hover {
    border-bottom: 0.1em dotted;
    text-decoration: none;
}

.clear {
    clear: both; 
}

.content {
    margin-left: 1em;
    margin-right: 1em;
}

hr {
    width: 75%;
    border: .02em dashed #001233;
}

#footer {
    margin-bottom: .4em;
}

q::before,
.qb::before {
    content: "„";
}

q::after,
.qa::after {
    content: "“";
}

.nobr {
    white-space: nowrap;
}
