@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --main-color: #00519e;
    font-size: 1rem;
}

body {
    color: #3a434f;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.4;
    background: rgb(235, 240, 240);
    background: linear-gradient(180deg, rgba(239, 239, 239, 0.3) 18.75rem, rgba(239, 239, 239, 1) 50rem), url("../images/background.jpg") no-repeat top center;
    background-size: 100%;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #FFFBF2;
    border: solid 0.0625rem #ededed;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

.nowrap {
    white-space: nowrap;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1 {
    font-size: 1.5rem;
    color: var(--main-color);
    text-align: center;
    margin-top: 1rem;
}

h2 {
    font-size: 1.2rem;
    color: var(--main-color);
    margin-bottom: 0.5rem;
}

h3 {
    font-size: 1.125rem;
    color: var(--main-color);
    margin-bottom: 0.5rem;
}

ul {
    margin: 0 0 0 1rem;
}

ul li::marker {
    color: var(--main-color);
    font-size: 0.873rem;
}

p {
    margin-bottom: 1rem;
}

ul + p {
    margin: 1rem 0 0;
}

header,
article section,
footer {
    background: #fff;
    box-shadow: rgba(0, 0, 0, 0.15) 0 0.125rem 0.5rem;
}

header {
    padding: 2rem;
    display: flex;
    justify-content: left;
    margin-bottom: 0.5rem;
}

article section {
    padding: 1.5rem 2rem;
    margin: 0.5rem 0;
}

article i {
    color: var(--main-color);
    font-size: 2.2rem;
}

.bewerben {
    display: flex;
    gap: 1.5rem;
}

.button {
    display: flex;
    justify-content: center;
    margin: 0.5rem 0 0;
}

a.apply {
    background-color: #fdc400;
    color: var(--main-color);
    font-size: 1.125rem;
    font-weight: 700;
    padding: 0.5rem 1.5rem;
}

.flex {
    display: flex;
    gap: 1rem;
}

.flex .section {
    display: flex;
    gap: 1.5rem;
    width: 50%;
}

.iframe-wrapper {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 1.875rem;
    height: 0;
    overflow: hidden;
}

.iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

footer {
    padding: 1.5rem 2rem;
    margin-top: 0.5rem;
}

footer p {
    text-align: center;
    font-weight: 700;
    margin-bottom: 1rem;
}

.socials {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
}

.socials i {
    font-size: 2rem;
}

footer :is(p, i) {
    color: #000;
}

@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.99rem) {
    #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: 48rem) {
    .flex {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
    }

    .flex .section {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.25rem;
        width: 100%;
    }

    .flex :is(is, h3, p) {
        text-align: center;
    }

    .bewerben {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .bewerben h3,
    .bewerben p {
        text-align: center;
    }
}

@media only screen and (max-width: 40rem) {
    header {
        padding: 1.5rem 1rem;
    }

    article section,
    footer {
        padding: 1rem;
    }
}

@media only screen and (max-width: 25rem) {
    h1 {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
}