@charset "utf-8";

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #333;
    font-family: "Arial", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    background: linear-gradient(180deg, rgba(239, 239, 239, 0.3) 18.75rem, rgb(221, 220, 220) 50rem), url(../images/hintergrund.jpg) no-repeat top center;
    background-size: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
}

:is(a:link, a:visited, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

a.link {
    color: #f59c00;
    text-decoration: underline;
}

p {
    padding: 1rem 1.5rem;
}

span {
    white-space: nowrap
}

h1 {
    font-size: 1.5rem;
    padding: 1rem 1.5rem 1.5rem;
    line-height: 1.3;
    color:#f59c00;
}

h3 {
    font-size: 1.187rem;    
    color:#f59c00;
    background-color: #e6e6e6;
    padding: 0.75rem 1rem;
    text-transform: uppercase;
}

ul {
    padding: 1.5rem 1.5rem 2rem 2rem;
}

ul li {
    padding-bottom: 0.5rem;
}

header {
    padding: 1rem;
    background-color: #ffffff;
    margin-bottom: 1rem;
}

header img {
    width: 15rem;
}

.image {
    border-radius: 0.5rem;
}

.section {
    margin: 1rem 0;
    background: #fff;
}

.button {
    display: flex;
    justify-content: center;
    margin: 1rem 2rem;
}

a.apply {
    background: #f59c00;
    border: 3px solid #f59c00;
    color: #fff;
    font-weight: 700;
    padding: 0.5rem 4rem;
    border-radius: 5px;
    display: block;
    width: fit-content;
    margin: 1rem 0;
}

a.apply:hover {
    background: transparent;
    color: #f59c00;
}

iframe {
    display: block;
    width: 100%;
    height: 28.125rem;
    border-radius: 0.5rem;
}

.iframe-wrapper {
    width: 100%;
    position: relative;
    padding-bottom: 52.4%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

.iframe-wrapper iframe,
.iframe-wrapper object,
.iframe-wrapper embed {
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@keyframes slidy { 
    0% { 
        left: 0%;
    }
    30% {
        left: 0%;
    }
    33% { 
        left: -100%;
    }
    64% {
        left: -100%;
    }
    67% { 
        left: -200%;
    }
    97% {
        left: -200%;
    }
    100% {
        left: -300%;
    }
}
  
.slider {
    overflow: hidden;
}
  
.slider figure {
    position: relative;
    width: 400%;
    margin: 0;
    left: 0;
    text-align: left;
    font-size: 0;
    animation: 18s slidy infinite;
}
  
figure img {
    width: 25%;
    float: left;
}
    

@media only screen and (max-width: 49.937rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 1rem;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    h1 {
        width: auto
    }

    h3 {
        margin-top: 0
    }
}

@media only screen and (max-width: 750px) {

    h1 {
        text-align: center
    }
}

@media only screen and (max-width: 37.5rem) {
    h2 {
        font-size: 1.375rem;
    }
}

