@charset "utf-8";

:root {
    --main-color: #991355;
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #000;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.4;
    background: #ebebeb;
    font-weight: 400;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

article p {
    margin-bottom: 0.5rem;
}

h1 {
    font-size: 1.7rem;
    text-align: center;
    margin-top: 1rem;
    line-height: 1.2;
}

h1 span {
    font-size: 1.2rem;
}

h2 {
    font-size: 1.2rem;
    margin: 0 0 .375rem;
}

:is(h1, h2) {
    color: #991355;
}

.text {
    font-size: .937rem;
    margin: 0 0 .625rem;
}

ul {
    margin: 0.5rem 0 0 1.1rem;
    list-style: none;
}

ul li {
    font-size: .937rem;
}

ul li:before {
    content: "\2022";
    color: #991355;
    float: left;
    margin: 0 0 0 -0.938rem;
}

header {
    background: #fff;
    padding: 2rem;
    margin-bottom: 0.5rem;
    display: flex;
}

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: var(--main-color);
}

.button {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.button a.apply {
    color: #fff;
    font-weight: 700;
    background: var(--main-color);
    font-size: 1.125rem;
    text-align: center;
    padding: 0.5rem 1.5rem;
}

.flex {
    display: flex;
    gap: .625rem 7rem;
}

.flex .section {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: .5rem 1.5rem;
}

.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;
}

: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;
    color: #58585a
}

@media only screen and (max-width: 49.937rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: .5rem;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
}

@media only screen and (max-width: 48rem) {
    header {
        justify-content: center;
    }

    .bewerben,
    .flex {
        flex-direction: column;
    }

    .flex .section {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .flex .section :is(h2, h3, p) {
        text-align: center;
    }
}

@media only screen and (max-width: 30rem) {
    h1 {
        font-size: 1.6rem;
    }

    header,
    article section,
    footer {
        padding: 1rem;
    }
}

@media only screen and (max-width: 23.437rem) {
    .bewerben {
        gap: .625rem;
    }

    .button {
        margin: .625rem 0;
    }
}