header, section, footer, aside, nav, main, article, figure {
    display: block;
}

html, body {
    position: relative;
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;

    font-family: "Georgia", serif;
}

#seite {
    position: relative;
    min-height: 100%;
}

#header {
    position: relative;
    width: 100%;
    height: 300px;
    background-color: black;
    /*background-image: url("../graphics/Logoschwarz.png"), url("../graphics/pictures/(7).jpg");*/
    background-image: url("/static/graphics/Logoweiß.png"), url("/static/graphics/background1.jpg");
    background-position: center 80px, center;
    background-repeat: no-repeat;
}

#navigation {
    position: sticky;
    left: 0;
    width: 100%;
    background-color: #f7f7f7;

    z-index: 1;
}

nav {
    position: relative;
    margin: 0 auto;
    height: 50px;
    text-align: center;
}

nav li {
    display: inline;
}

#main {
    position: relative;
    width: 1000px;
    margin: 0 auto;
    padding-top: 8px;
    padding-bottom: 100px;
}

#footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100px;
    background-color: #f7f7f7;
}

footer {
    position: relative;
    height: 100%;
    width: 1000px;
    margin: 0 auto;

    text-align: right;
    display: table;
    color: #222222;
    font-size: 12px;
}


footer span {
    display: table-cell;
    vertical-align: middle;
}

footer a {
    color: #222222;
}

.smallText {
    font-size: 12px;
}

a {
    color: black;
}

a.navi, a.navi_active {
    color: black;
    text-decoration: none;
    height: 50px;

    font-size: 25px;
    text-align: center;
    vertical-align: middle;
    line-height: 50px;
    min-width: 200px;

    display: inline-block;
}

.navi_active {
    background-image: url("/static/graphics/menu_active.png");
    background-repeat: no-repeat;
    background-position: center;
}

.navi:hover {
    background-image: url("/static/graphics/menu_hover.png");
    background-repeat: no-repeat;
    background-position: center;
}

.medialink {
    position: absolute;
}

#media {
    position: relative;
}

@media all and (max-width: 1050px) {
    nav {
        width: 100%;
    }

    #main {
        width: 97%;
        margin-top: 0;
    }

    #navigation {
        position: relative;
        height: 250px;
        top: 210px;
    }
    nav a {
        width: 100% !important;
    }

    #header {
        top: -250px;
        background-size: 320px, 700px;
        background-position: center 50px, center;
        height: 210px;
    }

    footer {
        width: 90%;
    }

    .medialink, #media iframe {
        position: relative !important;
        width: 100% !important;
        display: block;
        clear: both;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        margin: 0 auto;
        padding-bottom: 10px;
    }

    #media img {
        width: 100% !important;
        position: relative;
    }

    #media {
        height: inherit !important;
    }
}

@media all and (max-width: 550px) {
    #header {
        background-size: 200px, 400px;
        height: 120px;
        top: -250px;

        background-position: center 20px, center;
    }
    nav a {
        width: 100% !important;
    }

    #navigation {
        height: 250px;
        position: relative;
        top: 120px;
    }

    #main {
        margin-top: 0;
    }

    footer span {
        text-align: center;
        line-height: 20px;
    }
}