@charset "utf-8";

@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/roboto-v51-latin-300.eot');
    src: url('../fonts/roboto-v51-latin-300.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v51-latin-300.woff2') format('woff2'), url('../fonts/roboto-v51-latin-300.woff') format('woff'), url('../fonts/roboto-v51-latin-300.ttf') format('truetype'), url('../fonts/roboto-v51-latin-300.svg#Roboto') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v51-latin-regular.eot');
    src: url('../fonts/roboto-v51-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v51-latin-regular.woff2') format('woff2'), url('../fonts/roboto-v51-latin-regular.woff') format('woff'), url('../fonts/roboto-v51-latin-regular.ttf') format('truetype'), url('../fonts/roboto-v51-latin-regular.svg#Roboto') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v51-latin-700.eot');
    src: url('../fonts/roboto-v51-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v51-latin-700.woff2') format('woff2'), url('../fonts/roboto-v51-latin-700.woff') format('woff'), url('../fonts/roboto-v51-latin-700.ttf') format('truetype'), url('../fonts/roboto-v51-latin-700.svg#Roboto') format('svg');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #333;
    font-family: 'Roboto', "Arial", sans-serif;
    font-size: .85rem;
    line-height: 1.3;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    box-shadow: -.1rem .1rem 1rem rgba(0, 0, 0, .2);
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

a.link {
    color: #00a1df;
    white-space: normal;
}

a.link:hover {
    background: -webkit-linear-gradient(left, #a5c420 0%, #00a1df 100%);
    background-clip: text;
    color: transparent;
}

p {
    padding-bottom: 1rem;
}

h1 {
    font-size: 1.5rem;
    font-weight: 300;
    color: #00a1df;
    padding-bottom: 1.5rem;
}

h2 {
    font-size: 1.2rem;
    font-weight: 300;
    color: #a4c41b;
    padding-bottom: .5rem;
}

ul {
    padding: 0 0 0 1rem;
}

ul li {
    padding-bottom: .3rem;
}

.slider {
    position: relative;
}

.slider::after {
    content: url("../images/bg.png");
    bottom: -2.25rem;
    left: 0;
    position: absolute;
}

.slider>img {
    display: block;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    animation: imageAnimation 24s linear infinite 0s;
}

.slider>img:nth-of-type(1) {
    position: static;
    opacity: 1;
}

.slider>img:nth-of-type(2) {
    animation-delay: 6s;
}

.slider>img:nth-of-type(3) {
    animation-delay: 12s;
}

.slider>img:nth-of-type(4) {
    animation-delay: 18s;
}

@keyframes imageAnimation {
    4% {
        opacity: 1;
    }

    25% {
        opacity: 1;
    }

    30% {
        opacity: 0;
    }
}

.green {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background-color: #a4c41b;
    color: #fff;
}

.green h2 {
    color: #fff;
}

.gray {
    background: #efefef;
    margin: 0 -2rem 1.5rem;
    padding: 1.5rem 2rem;
}

.flex {
    display: flex;
    gap: 1.5rem;
}

.flex>div {
    flex: 50%;
}

.button a {
    padding: .6rem 2rem;
    background-color: #a4c41b;
    font-weight: 700;
    color: #fff;
    display: inline-block;
    transition: .2s;
    margin-bottom: 1rem;
}

.button a:hover {
    background-color: #00a2de;
}

.datenschutz {
    background-color: #00a1df;
    padding: 1rem 2rem;
    margin: 1rem -2rem 0;
    color: #fff;
}

header {
    display: flex;
    padding: 1.5rem;
    border-top: #a4c41b solid .5rem;
}

article {
    padding: 2rem;
}

footer {
    padding: 2rem 2rem 0;
    background: #d9f1fa;
    position: relative;
}

footer::before {
    content: url("../images/bg2.png");
    top: -1.5rem;
    left: 0;
    position: absolute;
}

footer h2 {
    color: inherit;
}

@media only screen and (max-width: 49.938rem) {

    #wrapper {
        border: none;
        margin: 0 auto;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
}

@media only screen and (max-width: 40rem) {
    header {
        justify-content: center;
        padding: 1.5rem 1rem;
    }

    article {
        padding: 1.5rem 1rem .5rem;
    }

    footer {
        padding: 2rem 1rem 0;
    }

    .slider::after,
    footer::before {
        display: none;
    }

    .green {
        padding: 1rem;
    }

    .flex {
        display: block;
    }
}

@media only screen and (max-width: 23.438rem) {
    .button a {
        width: 100%;
        text-align: center;
    }

    h1,
    footer {
        text-align: center;
    }
}