/* Variables */
:root {
    --primary-color: #000080;
    --secondary-color: red;
    --background-color: #ccffff;
    --text-color: black;
}

/* Base Styles */
body {
    max-width: 80em;
    margin: 1em auto;
    display: flex;
    flex-flow: row wrap;
    background-color: var(--background-color);
}

header,
nav,
article,
aside,
footer {
    border-radius: 0px 0.5em 0.5em;
    padding: 10px;
    margin: 10px;
    flex: 1 100%;
}

header {
    background: var(--background-color);
    display: flex;
    flex-flow: row wrap;
}

nav,
nav ul,
nav li {
    margin: 0;
    padding: 0;
    border: none;
    background: var(--background-color);
}

nav ul {
    display: flex;
    flex-direction: column;
}

nav li {
    list-style-type: none;
    margin: 1.3em 0;
    flex: 1 1 100%;
}

nav a,
nav span {
    display: inline-block;
    width: 95%;
    background: var(--background-color);
    border: 0px solid #dfac20;
    margin: 0;
    text-decoration: none;
    text-align: center;
}

nav span {
    line-height: 250%;
}

nav a:hover {
    background-color: #dfac20;
}

article {
    background: var(--background-color);
}

aside {
    background: var(--background-color);
}

footer {
    background: #e4ebf2;
    border-color: #8a9da8;
    text-align: center;
    display: flex;
    flex-flow: row wrap;
}

footer * {
    flex: 1 1 0%;
    justify-content: space-between;
}

footer p {
    text-align: right;
}

/* Responsive Design */
@media all and (min-width: 35em) {
    nav ul {
        flex-direction: row;
    }
    nav li {
        margin: 0 10px;
        flex: 1 1 0%;
    }
    article {
        flex: 3 1 0%;
    }
    aside {
        flex: 1 1 0%;
    }
}

/* Text Styles */
.text-center {
    text-align: center;
}

.text-bold {
    font-weight: bold;
}

.text-blue {
    color: var(--primary-color);
}

.text-red {
    color: var(--secondary-color);
}

.text-grey {
    color: #e4ebf2;
}

.text-1em {
    font-size: 1em;
}

.text-1-5em {
    font-size: 1.5em;
}

.text-2em {
    font-size: 2em;
}

.text-100 {
    font-size: 150%;
}

/* Link Styles */
a:link { color: var(--secondary-color); }
a:visited { color: green; }
a:hover { color: #FF00FF; }
a:active { color: #0000FF; }

/* Additional Classes */
.trennleiste {
    margin-bottom: auto;
    text-align: center;
    font-family: sans-serif;
    color: yellow;
    background-color: var(--primary-color);
    font-size: 150%;
}
