@charset "utf-8";

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
    color: #505050;
    font: 15px/1.5em 'Arial', sans-serif;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    border: solid 1px #000;
}

header {
    position: relative;
    display: flex;
    justify-content: flex-end;
}

header img.logo {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.slider-2-bilder {
    position: relative;
}

.slider-2-bilder > img {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    animation: zweiImageAnimation 12s linear infinite 0s;
}

.slider-2-bilder > img:nth-of-type(1) {
    position: static;
    opacity: 1;
}

.slider-2-bilder > img:nth-of-type(2) {
    animation-delay: 6s;
}

@keyframes zweiImageAnimation {

    4% {
        opacity: 1;
    }

    50% {
        opacity: 1;
    }

    55% {
        opacity: 0;
    }
}

article {
    padding: 1rem 2rem 0;
}

article p {
    margin: 0 0 1rem;
}

article :is(p,ul) {
    hyphens: auto;
}

article h1 {
    background: #b9d690;
    color: #fff;
    padding: 1.25rem 1.875rem;
    margin: 1.5rem -2rem;
    font-size: 1.75rem;
    line-height: 120%;
}

article h1 span {
    font-size: 1.1rem;
    font-weight: normal;
}

article h2 {
    font-size: 1.2rem;
    color: #b9d690;
    margin-bottom: .5rem;
    line-height: 120%;
}

article ul {
    margin: 0 0 2rem 1.4rem;
    list-style: none;
}

article ul li:before {
    content: "\>";
    color: #c8dea5;
    float: left;        
    margin: 0 0 0 -20px;
    font-size: 1.125rem;
}

:is(a:link,a:visited,a:hover,a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;    
}

footer {
    padding: 0 2rem 1.5rem;
    border-bottom: .937rem solid #c8dea5;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-end;
}

footer section p {
    margin: 1rem 0 0;
}

@media only screen and (max-width: 49.938rem) {

    #wrapper {
        border: none;
        margin: 0 auto;
    }
}

@media only screen and (max-width: 44.188rem) {

    header {
        padding: 1rem 0 0;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 1.5rem;
    }

    header img.logo {
        position: static;
    }

    .slider-2-bilder > img {
        width: 100%;
    }
}

@media only screen and (max-width: 40rem) {

    article h1 {
        text-align: center;
    }

    footer {
        flex-direction: column;
        align-items: center;
    }

    footer p {
        text-align: center;
    }
}

@media only screen and (max-width: 30rem) {

    article {
        padding: 1rem 1rem 0;
    }
}