﻿@charset "utf-8";

/* Standard */

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

a {
    color: inherit;
    display: inline-block;
    text-decoration: none;
    white-space: nowrap;
}

p u a {
    text-decoration: underline;
}

a:hover {
    color: rgb(52, 123, 36);

}

a:active,
a:visited {
    text-decoration: underline;
}

u {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: .937rem;
    font-style: normal;
    line-height: 1.562rem;
    color: rgb(90, 80, 73);
}

#wrapper {
    position: relative;
    max-width: 56.25rem;
    margin: 1rem auto;
    box-shadow: .125rem .125rem .625rem #000;
    padding: 3.125rem 3.125rem 1.25rem;
    /* für Hintergund
	background:url() top left no-repeat;
	background-size:100%;
	*/
    background-color: #fff;
    overflow: hidden;
}

p {
    text-align: left;
    margin: 0 0 1.25rem;
}

h1 {
    font-family: Tinos, 'Times New Roman', serif;
    font-size: 2.187rem;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1.4;
    color: inherit;
    text-align: left;
    margin-bottom: 1em;

}

h2 {
    font-family: Tinos, "Times New Roman", serif;
    font-size: 1.5rem;
    line-height: 2.125rem;
    font-weight: normal;
}

h3 {
    font-family: Tinos, "Times New Roman", serif;
    font-size: 1.5rem;
    line-height: 2.125rem;
    font-weight: normal;
}

hr {
    border-top: thin solid #52BA5A;
}

ul {
    list-style: none;
    margin: 0 0 2.5rem;
    padding: 0;
}

ul li {
    padding-left: .937rem;
}

ul li:before {
    content: "";
    float: left;
    position: relative;
    width: .312rem;
    height: .312rem;
    border-radius: 50%;
    background: rgb(90, 80, 73);
    margin-left: -.937rem;
    top: .625rem;
}

.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0;
}

header {
    margin: -3.125rem -3.125rem 1.25rem;

    border-bottom: 2.5rem solid #FBFAF8;
    box-shadow: .125rem .125rem 0.625rem #F0F0F0;
}

header a {
    display: block;
    max-width: 18.75rem;
    margin: 0 auto 1.25rem;
}

header p {
    text-align: center;
    font-size: 1.063em;
    font-weight: bold;
    color: #fff;
}

footer {
    border-bottom: 2.5rem solid #FBFAF8;
    margin: 0 -3.125rem;
}

aside {
    position: relative;
    margin: 0 0 1.25rem;
}

aside > img {
    display: block;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    animation: imageAnimation 36s linear infinite 0s;
}

aside > img:nth-of-type(1) {
    position: static;
    opacity: 1;
}

aside > img:nth-of-type(2) {
    animation-delay: 6s;
}

aside > img:nth-of-type(3) {
    animation-delay: 12s;
}

aside > img:nth-of-type(4) {
    animation-delay: 18s;
}

aside > img:nth-of-type(5) {
    animation-delay: 24s;
}

aside > img:nth-of-type(6) {
    animation-delay: 30s;
}


@keyframes imageAnimation {
    4% {
        opacity: 1;
    }

    17% {
        opacity: 1;
    }

    22% {
        opacity: 0;
    }
}


@media only screen and (max-width: 56.187rem) {
    #wrapper {

        margin: 0 auto;
        border: 0;
        padding: 0.625rem;
    }

    a {
        font-weight: bold;
    }

    footer {
        margin: 0 -0.625rem -0.625rem;
        padding: 0.625rem;
    }

    header {
        margin: -0.625rem -0.625rem 0.625rem;
        padding: 0.625rem;
    }

    h1 br {
        display: none;
    }


}

@media only screen and (max-width:29.937rem) {

    body {
        line-height: 1.3;

    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        margin: 0;
        line-height: 1.3;
    }

    h3 {
        margin: 0;
        line-height: 1.2;
    }

    ul {
        margin: 0 0 1.25rem;
    }

}
