@charset "utf-8";

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #333;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.4;
    background: #ebebeb;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
    background: transparent;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1 {
    font-size: 1.5rem;
    text-align: center;
    margin: 0.75rem 0;
}

h1 span {
    white-space: nowrap;
}

h2 {
    font-size: 1.2rem;
}

h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

:is(h1, h2, h3) {
    color: #ff7b00;
}

ul {
    margin: 0.5rem 0 0 1.1rem;
    list-style: none;
}

ul li:before {
    content: "\2022";
    color: #ff7b00;
    float: left;
    margin: 0 0 0 -0.938rem;
}

header {
    background: #fff;
    padding: 2rem;
    margin-bottom: 0.5rem;
    display: flex;
}

article p {
    margin-bottom: 0.5rem;
}

article section {
    background: #fff;
    margin: 0.5rem 0;
    padding: 1.5rem 2rem;
    box-shadow: rgba(0, 0, 0, 0.15) 0 0.125rem 0.5rem;
}

.bewerben {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
}

.fa-solid {
    font-size: 2.2rem;
    color: #ff7b00;
}

.button {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.button a.apply {
    color: #fff;
    font-weight: 700;
    background: #ff7b00;
    font-size: 1.125rem;
    text-align: center;
    padding: 0.5rem 1.5rem;
}

.flex {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.flex .section {
    width: 50%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 1.5rem;
}

.iframe-wrapper {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

.iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

footer {
    background: #fff;
    padding: 1.5rem 1rem;
    margin-top: .5rem;
}

footer p {
    text-align: center;
    font-weight: 700;
}

a.link {
    color: #3a434f;
}

.socials {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.socials i {
    font-size: 2rem;
}

.slider {
    position: relative;
}

.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;
    }
}

@media only screen and (max-width: 49.938rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
        hyphens: auto;
        padding: .5rem;
    }
}

@media only screen and (max-width: 48rem) {
    header {
        justify-content: center;
    }

    .bewerben,
    .flex {
        flex-direction: column;
    }

    .bewerben h3 {
        text-align: center;
    }

    .flex .section {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: .625rem;
    }

    .flex .section :is(h3, p) {
        text-align: center;
    }
}

@media only screen and (max-width: 30rem) {

    header,
    article section,
    footer {
        padding: 1rem;
    }

    h1 + p {
        text-align: center;
    }
}
