@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans-v35-latin-regular.eot');
    src: url('../fonts/open-sans-v35-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v35-latin-regular.woff2') format('woff2'), url('../fonts/open-sans-v35-latin-regular.woff') format('woff'), url('../fonts/open-sans-v35-latin-regular.ttf') format('truetype'), url('../fonts/open-sans-v35-latin-regular.svg#OpenSans') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/open-sans-v35-latin-700.eot');
    src: url('../fonts/open-sans-v35-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v35-latin-700.woff2') format('woff2'), url('../fonts/open-sans-v35-latin-700.woff') format('woff'), url('../fonts/open-sans-v35-latin-700.ttf') format('truetype'), url('../fonts/open-sans-v35-latin-700.svg#OpenSans') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    line-height: 1.25rem;
    font-size: 1rem;
    font-family: 'Open Sans', Arial, sans-serif;
    color: #000;
    font-weight: 400;
}

#wrapper {
    position: relative;
    max-width: 800px;
    margin: 1rem auto;
    border: 1px solid #000;
    overflow: hidden;
    background: #FBFAFA;
    background: linear-gradient(90deg, rgba(251, 250, 250, 1) 0%, rgba(228, 227, 227, 1) 71%, rgba(214, 212, 212, 0.71) 100%);
}

.logo {
    padding: 45px;
    background: url(../images/headerbild.png) no-repeat;
    position: relative;
    z-index: 9;
    background-size: cover;
}

article {
    padding: 2rem 2rem 0;
}

footer {
    padding: 3rem 2rem;
    background: url(../images/bottom.png) no-repeat;
    min-height: 271px;
}

footer :is(p, a, h2) {
    color: #FFF !important;
    font-weight: bold;
    text-shadow: 3px 1px 3px rgba(0, 0, 0, .6);
}

:is(strong, h1, h2) {
    font-weight: 700;
}

h1 {
    font-size: 28px;
    line-height: 31px;
    text-align: center;
    color: #9E1A19;
    text-shadow: 1px 1px 0 #FFFFFF, 1px -1px 0 #FFFFFF, -1px 1px 0 #FFFFFF, -1px -1px 0 #FFFFFF, 1px 0px 0 #FFFFFF, 0px 1px 0 #FFFFFF, -1px 0px 0 #FFFFFF, 0px -1px 0 #FFFFFF;
}

h1 span {
    display: block;
    font-size: 70%;
}

h2 {
    font-size: 18px;
    margin: 1rem 0;
    line-height: 24px;
    color: #9E1A19;
}

p {
    margin: 0 0 1rem;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    white-space: nowrap;
    text-decoration: none;
}

img {
    max-width: 100%;
}

ul {
    margin: 0 0 1rem;
    list-style: none;
}

ul li {
    padding-left: 30px;
    background: url(../images/li.png) no-repeat;
    margin: 0 0 7px;
}

.fix {
    position: relative;
}

.box {
    -webkit-box-shadow: 1px 5px 16px 0px #807F7F, 5px 5px 15px 5px rgba(0, 0, 0, 0);
    box-shadow: 1px 5px 16px 0px #807F7F, 5px 5px 15px 5px rgba(0, 0, 0, 0);
    border-radius: 10px;
    padding: 1rem 2rem;
    margin: 0 0 2rem;
}

.title {
    position: absolute;
    bottom: -1%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    background: rgba(218, 218, 218, 0.5);
    width: 90%;
    border-radius: 10px;
    padding: 1rem;
}

@keyframes slidy {
    0% {
        opacity: 0;
    }

    11% {
        opacity: 1;
    }

    33% {
        opacity: 1;
    }

    44% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

:is(.slider, .slider img:nth-of-type(1)) {
    position: relative;
}

.slider {
    margin: -64px 0 0;
}

.slider img {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    max-width: 100%;
    animation: slidy 15s linear 0s infinite normal forwards;
    vertical-align: bottom;
}

.slider img:nth-child(2) {
    animation-delay: 5s;
}

.slider img:nth-child(3) {
    animation-delay: 10s;
}

@media all and (max-width:799px) {
    #wrapper {
        margin: 0 auto;
        border: none;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }

    br:not(footer br) {
        display: none;
    }
}

@media all and (max-width:600px) {
    .title {
        position: static;
        transform: none !important;
        width: 100%;
    }

    :is(.box, article, footer) {
        padding: 1rem;
    }

    footer {
        min-height: auto;
        background: #9E1A1A;
    }
}