@charset "utf-8";

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #383838;
    font-family: "Arial", sans-serif;
    font-size: 15px;
    line-height: 1.4;
}

img {
    max-width: 100%;
    height: auto;
}

#wrapper {
    position: relative;
    max-width: 870px;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    -webkit-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.5);
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.5);
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

article p:not(:last-child) {
    margin-bottom: 16px;
}

h1 {
    font-size: 21px;
    line-height: 1.3;
    color: #004DB1;
}

h1 span {
    font-weight: normal;
}

h2 {
    font-size: 15px;
    margin: 0 0 5px;
}

ul {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}

ul li {
    padding-left: 20px
}

ul li:before {
    content: "";
    float: left;
    position: relative;
    width: 5px;
    height: 5px;
    background: #5F758A;
    margin-left: -20px;
    top: 8px;
}

header {
    padding: 30px 40px;
    border-bottom: solid 5px #90BABD;
}

.slider {
    position: relative;
    margin-bottom: 30px;
}

.slider>img {
    display: block;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    animation: imageAnimation 12s linear infinite 0s;
}

.slider>img:nth-of-type(1) {
    position: static;
    opacity: 1;
}

.slider>img:nth-of-type(2) {
    animation-delay: 6s;
}

@keyframes imageAnimation {
    4% {
        opacity: 1;
    }

    50% {
        opacity: 1;
    }

    55% {
        opacity: 0;
    }
}

article {
    padding: 30px 40px;
}

.justify {
    text-align: justify;
    margin: 0;
}

.title {
    background: #90BABD;
    padding: 30px 40px;
    margin: 30px -40px;
}

footer {
    padding: 30px 40px;
    color: #000;
    border-top: solid 5px #90BABD;
}

.flex {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 0 0 20px;
}

.links {
    width: 45%
}

.rechts {
    width: 50%
}

footer p {
    margin: 0 0 16px;
}

.iframe-wrapper {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

.iframe-wrapper iframe {
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media only screen and (max-width: 869px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 1rem;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    .justify {
        text-align: left;
    }

    header,
    article {
        padding: 16px;
    }

    footer {
        padding: 0;
    }

    .flex {
        padding: 1rem 1rem 0;
        margin: 0;
    }

    .title {
        background: #90BABD;
        padding: 1rem;
        margin: 1rem -1rem;
    }

}

@media only screen and (max-width: 699px) {
    .flex {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .links,
    .rechts {
        width: 100%;
    }

    .title h2,
    h1 {
        text-align: center
    }
}

@media only screen and (max-width: 480px) {
    h1 {
        font-size: 19px;
    }
}