@charset "utf-8";

@font-face {
    font-display: swap;
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/nunito-v31-latin-regular.eot');
    src: url('../fonts/nunito-v31-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/nunito-v31-latin-regular.woff2') format('woff2'), url('../fonts/nunito-v31-latin-regular.woff') format('woff'), url('../fonts/nunito-v31-latin-regular.ttf') format('truetype'), url('../fonts/nunito-v31-latin-regular.svg#Nunito') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/nunito-v31-latin-700.eot');
    src: url('../fonts/nunito-v31-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/nunito-v31-latin-700.woff2') format('woff2'), url('../fonts/nunito-v31-latin-700.woff') format('woff'), url('../fonts/nunito-v31-latin-700.ttf') format('truetype'), url('../fonts/nunito-v31-latin-700.svg#Nunito') format('svg');
}

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #5f6e73;
    font-family: 'Nunito', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    background: #fff url(../images/hintergrund.jpg) no-repeat ;
    font-weight: 500;
}

img {
    max-width: 100%;
    height: auto;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.26);
}

h1 {
    font-size: 29px;
    font-weight: 700;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

h1::after {
    content: " ";
    width: 60px;
    height: 4px;
    position: absolute;
    left: 50%;
    bottom: 0px;
    margin-left: -30px;
    background-color: rgb(220, 145, 27);
}

h2 {
    font-size: 20px;
    color: #dc911b;
    margin: 0 0 .625rem
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

a:hover {
    text-decoration: underline
}

a.website {
    color: #5f6e73;
    font-weight: 700;
    text-decoration: underline 1px dotted #dc911b;
}

a.website:hover {
    color: #dc911b;
    text-decoration: underline 1px solid #dc911b;
}

p {
    margin: 0 0 26px;
}

ul {
    list-style: none;
    margin: 0 0 43px;
    padding: 0;
}

ul li {
    padding-left: 1.375rem;
    position: relative
}

ul li:before {
    content: '\00a0';
    position: absolute;
    width: 9px;
    height: 3px;
    left: 0;
    top: 10px;
    background-color: #dc911b;
    -webkit-border-radius: 0 3px 0 3px;
    border-radius: 0 3px 0 3px;
}

header {
    padding: 35px
}

.hamelin:hover {
    opacity: 0.62;
}


.btn {
    text-align: center;
    margin: 0;
}

a.apply {
    display: inline-block;
    font-size: 15px;
    line-height: 26px;
    text-decoration: none;
    color: #fff;
    background-color: #dc911b;
    border: 2px solid #dc911b;
    padding: 8px 8%;
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
    margin: 26px auto 53px;
    border-radius: 1px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 2px;
    text-transform: uppercase;
}

a.apply:hover {
    background-color: transparent;
    color: #dc911b;
    text-decoration: none;
    opacity: 1;
}

.iframe-wrapper {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 1.875rem;
    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%;
}

.white {
    padding: 35px 35px 8px;
}

.gray {
    padding: 35px 35px 26px;
}

footer {
    background: #dc911b;
    padding: 35px 35px 8px;
}

footer p,
a.web {
    color: #fff
}

  .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: 799px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 1rem;
        background: none
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    header,
    article {
        background: #fff;
    }

    .gray,
    .white {
        padding: 1rem
    }

    footer {
        padding: 1rem;
    }
}

@media only screen and (max-width: 750px) {
    h1 {
        font-size: 24px;
        letter-spacing: 0
    }

    h2 {
        font-size: 19px;
    }

    header {
        display: flex;
        flex-direction: column;
        align-items: center
    }
}

@media only screen and (max-width: 480px) {
    footer {
        flex-direction: column;
        align-items: center
    }

    footer p {
        text-align: center;
        margin: 0 0 1rem
    }
}

@media only screen and (max-width: 376px) {
    a.apply {
        width: 100%
    }
}
