@charset "utf-8";

@font-face {
    font-display: swap;
    font-family: 'Bitter';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/bitter-v33-latin-regular.eot');
    src: url('../fonts/bitter-v33-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/bitter-v33-latin-regular.woff2') format('woff2'), url('../fonts/bitter-v33-latin-regular.woff') format('woff'), url('../fonts/bitter-v33-latin-regular.ttf') format('truetype'), url('../fonts/bitter-v33-latin-regular.svg#Bitter') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Bitter';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/bitter-v33-latin-500.eot');
    src: url('../fonts/bitter-v33-latin-500.eot?#iefix') format('embedded-opentype'), url('../fonts/bitter-v33-latin-500.woff2') format('woff2'), url('../fonts/bitter-v33-latin-500.woff') format('woff'), url('../fonts/bitter-v33-latin-500.ttf') format('truetype'), url('../fonts/bitter-v33-latin-500.svg#Bitter') format('svg');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #005f7e;
    font-family: "Bitter", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 400;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    max-width: 55rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    box-shadow: rgba(0, 0, 0, 0.35) 0 .312rem .937rem;
}

:is(a:link, a:visited, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

article p {
    padding-bottom: 1rem;
}

span.background {
    background-color: #9fd8da;
}

h1 {
    font-size: 2.3rem;
    font-weight: 500;
    line-height: 1.3;
    padding: 1rem 0 2rem;
}

h1 span {
    white-space: nowrap;
    display: block;
}

h2 {
    font-size: 1.3rem;
    font-weight: 500;
    font-style: italic;
    color: #21bbbd;
}

ul {
    list-style: none;
    padding-bottom: 1.5rem;
    hyphens: auto
}

ul li {
    padding: 0 0 0 1rem;
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -1rem;
    color: #21bbbd;
}

.list {
    display: inherit;
    position: relative;
    top: .125rem;
}

header {
    display: flex;
    justify-content: end;
    padding: 2rem;
}

article {
    padding: 0 2rem 2rem 4.375rem;
    display: flex;
    gap: 2rem;
    position: relative;
}

article section:first-of-type {
    flex: 0 1 65%;
}

article section:last-of-type {
    flex: 0 1 35%;
}

article section .block {
    padding: 1rem 1rem;
    color: #21bbbd;
}

article section:last-of-type p {
    padding: .5rem 0;
    font-style: italic;
}

article section aside {
    padding: 3rem 16px 3rem 26px;
    margin-bottom: 1.5rem;
    position: relative;
    line-height: 1.4;
    width: 99%;
}

article section h2 {
    margin: 0;
    line-height: 1;
}

article section aside>* {
    position: relative;
    color: #fff;
}

article section aside::before {
    content: url("../images/bg.png");
    position: absolute;
    top: -.625rem;
    left: -.812rem;
}

article section .bewerben {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

article section a.btn {
    position: relative;
    font-size: 1.5rem;
    color: #fff;
    background-color: #ec7c89;
    padding: 1rem;
    text-align: center;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 160px;
    height: 160px;
    font-weight: 500;
    transform: rotate(-10deg);
}

article section a.btn::before {
    content: url('../images/arrow.png');
    position: absolute;
    top: -5rem;
    left: 0;
    transform: rotate(10deg);
}

footer {
    padding: 0 2rem 1rem;
}

@media only screen and (max-width: 54.938rem) {

    #wrapper {
        border: none;
        margin: 0 auto;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    ul br {
        display: none;
    }

    .list {
        top: .312rem;
    }
}

@media only screen and (max-width: 50rem) {
    header {
        justify-content: center;
        padding: 2rem;
    }

    h1 {
        font-size: 1.7rem;
    }

    h1 br {
        display: none;
    }

    article {
        display: block;
        padding: .625rem;
    }

    article section .block {
        padding: 0 0 1rem;
    }

    article section aside {
        padding: 1rem;
        background-color: #005f7e;
    }

    article section :is(aside, .btn)::before {
        display: none;
    }

    footer {
        padding: 0 1rem 1rem;
    }
}

@media only screen and (max-width: 30rem) {

    header {
        gap: 2rem;
        padding: 1rem;
    }

    footer {
        padding: 1rem;
        justify-content: center;
    }

    article {
        padding: 1rem 1rem;
    }

    h1 {
        text-align: center;
        font-size: 1.6rem;
    }
}