﻿@charset "utf-8";

/* Standard */
:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    color: #8593a9;
    font-family: 'Roboto', Helvetica, Arial, sans-serif;
    font-size: 0.875em;
    line-height: 1.431em;
    background-attachment: fixed;
    background-image: url(../images/hg2.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
}

#wrapper {
    position: relative;
    max-width: 51.875rem;
    margin: 1rem auto;
    border: none;
    padding: 0.5rem 0rem;
    overflow: hidden;
}

p {
    text-align: left;
}

h2 + p,
h2 + ul {
    margin-top: 0.308rem;
}

h1 {
    font-size: 1.692em;
    line-height: 1.1em;
    color: #3a4659;
}

h1 span {
    font-size: 0.631em;
}

h2 {
    font-size: 1.231em;
    line-height: 1.231em;
    color: #86a4ee;
}

article nav h2 {
    color: #3a4659;
}

h3 {
    font-size: 1.992rem;
    line-height: 1.1em;
    text-align: center;
}

a:link,
a:active,
a:visited {
    color: #8593a9;
    text-decoration: none;
}

a:hover {
    color: #8593a9;
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

hr {
    border-top: thin solid #52BA5A;
}

ul {
    padding-left: 1rem;
}

li {
    padding-bottom: 0.2rem;
}

.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0;
}

/* Ende Standard */


/* Header */
article {
    margin: 0 1.2rem;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 1rem;
    padding: 0rem 1.4rem;
    background-color: #fff;
}

header section:first-of-type {
    width: 65%;
}

header section:first-of-type p img {
    display: inline-block;
    vertical-align: baseline;
}

header section:last-of-type {
    width: 33%;
}

header section:last-of-type a img {
    display: block;
    margin-left: auto;
}

p span {
    color: #86a4ee;
}

article aside {
    width: 100%;
    margin-bottom: 1rem;
    margin-top: 1rem;
    background-color: #FFF;
    padding: 0.5rem 1.5rem;
}

article nav {
    width: 100%;
    margin-bottom: 1rem;
    margin-top: 1rem;
    padding: 0.5rem 1.5rem;
    background-color: #CAD9FF;
    color: #818181;
}

article aside img {
    margin-left: auto;
    margin-top: -2rem;
    width: 30%;
}

footer:first-of-type {
    padding: 1rem 0;
    background-color: #fff;
    margin-bottom: 1rem;
}

footer:first-of-type img {
    margin: 1rem auto;
}

footer p {
    text-align: center;
}

footer:last-of-type {
    background-color: #CAD9FF;
    color: #818181;
    margin-bottom: 1rem;
    margin-top: 1rem;
    padding: 0.5rem 1.5rem;
}

article div {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
    margin-bottom: 1.5rem;
}

article div iframe {
    border: none;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}


/* Responsive */
@media only screen and (max-width:40rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }

    article {
        margin: 0 0.625rem;
    }

    header {
        flex-direction: column-reverse;
        align-items: flex-start;
        justify-content: flex-start;
    }

    header section:first-of-type {
        width: 100%;
    }

    header section:last-of-type {
        width: 100%;
    }

    header section:last-of-type a img {
        display: block;
        margin-left: 0;
    }

    article aside img {
        margin-left: 0;
        margin-top: 1rem;
    }

    footer:first-of-type {
        padding: 0.1rem 0;
        background-color: #fff;
        margin-bottom: 1rem;
    }

    footer:first-of-type img {
        margin: 1rem auto;
    }

    footer p {
        text-align: center;
    }

    footer:last-of-type {
        background-color: #CAD9FF;
        margin-bottom: 1rem;
        margin-top: 1rem;
        padding: 0.5rem 1.5rem;
    }

    h6 {
        overflow: hidden;
        padding-bottom: 56.25%;
        position: relative;
        height: 0;
        margin-bottom: 1.5rem;
    }

    h6 iframe {
        border: none;
        left: 0;
        top: 0;
        height: 100%;
        width: 100%;
        position: absolute;
    }

    article section:nth-of-type(5) img {
        float: none;
        margin-top: 0rem;
    }
}

/* Ende Responsive */
