@charset "utf-8";

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #3c3c3c;
    font-family: 'Arial', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    background: linear-gradient(to bottom, #ededeb00 0%, #ededeb00 38vw, #EDEDEB 55vw, #EDEDEB 100vw), url("../images/hintergrund.jpg") no-repeat top center;
    background-size: contain;
}

img {
    max-width: 100%;
    height: auto;
}

#wrapper {
    position: relative;
    max-width: 51.375rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 0 1.5625rem -0.75rem rgba(0, 0, 0, 0.5);
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

p {
    margin: 0 0 1.25rem;
}

.small_text {
    font-size: 0.8125rem;
    line-height: 2;
}

.nowrap {
    white-space: nowrap;
}

a.link {
    color: #021d49;
}

a.link:hover {
    text-decoration: underline;
}

ul {
    margin: 0 0 3.125rem;
    padding: 0;
    list-style: none;
}

ul li {
    padding: 0 0 0 1.25rem;
    margin: 0 0 0.1875rem;
}

ul li:before {
    content: "";
    background-color: #3c3c3c;
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 50%;
    position: relative;
    display: block;
    float: left;
    top: 0.5625rem;
    margin: 0 0 0 -1.25rem;
}

h1 {
    color: #021d49;
    font-size: 2rem;
    line-height: 1.3;
    margin: 3.125rem 0;
}

h2 {
    color: #021d49;
    font-size: 1.125rem;
    margin: 0 0 0.625rem;
}

header {
    padding: 1.5625rem 3.75rem;
    display: flex;
}

article {
    padding: 3.75rem;
}

.button_container {
    margin: 3.125rem 0 0
}

a.apply {
    color: #fff;
    background-color: #021d49;
    width: 9.375rem;
    height: 2.75rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.iframe-wrapper {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 1.875rem;
    height: 0;
    overflow: hidden;
}

.iframe-wrapper iframe {
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slider {
    position: relative;
}

.slider>img {
    display: block;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    animation: imageAnimation 18s 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;
}

@keyframes imageAnimation {
    4% {
        opacity: 1;
    }

    33% {
        opacity: 1;
    }

    38% {
        opacity: 0;
    }
}

@media only screen and (max-width: 51.3125rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 1rem;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    body {
        background-color: none;
    }

    .small_text {
        line-height: 1.6;
    }

    ul {
        margin: 0 0 1.5625rem;
    }

    h1 {
        font-size: 1.7rem;
        margin: 1.5625rem 0;
    }

    h2 {
        margin: 0 0 0.3125rem;
    }

    header {
        padding: 1rem;
        justify-content: center;
    }

    article {
        padding: 1rem 0;
    }

    .button_container {
        margin: 1.5625rem 0;
        display: flex;
        justify-content: center;
    }
}