@charset "utf-8";

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #172b4d;
    font-family: "Arial", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

h1 {
    font-size: 1.45rem;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

h2 {
    font-size: 1.4rem;
    margin: 1rem 0;
}

h3 {
    font-size: 1.0rem;
}

h4 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
}

ul {
    margin: 0 0 2rem 1rem;
}

.center {
    text-align: center;
}

header {
    padding: 1rem;
}

article {
    padding: 1rem;
}

.flex {
    display: flex;
    margin: 1rem 0;
    gap: 2rem;
}

.flex .left {
    width: 35%;
    text-align: right;
}

.flex .right {
    width: 65%;
}

a.btn-link {
    color: #2182c3;
}
a.btn-link:hover {
    text-decoration: underline;
}

.lines li {
    border-top: 1px solid #e3e6e8;
    padding: 0.35rem 0;
}

.lines li:last-of-type {
    border-bottom: 1px solid #e3e6e8;
}

.bonus {
    display: flex;
    gap: 2rem;
    margin: 1.5rem;
}

.bonus div {
    display: flex;
    flex-direction: column;
    align-items:center ;
    justify-content: center;
    text-align: center;
    width: 15rem;
}

.bonus div h4 {
    margin-top: 0.75rem;
}

.blue {
    background: #2081C1;
    background: linear-gradient(186deg,rgba(32, 129, 193, 1) 0%, rgba(36, 144, 214, 1) 100%);
    padding: 1rem;
    margin: 0 -1rem;
    display: flex;
    gap: 2rem;
}

.blue h2 {
    color: #fff;
    margin: 0 0 1rem;
}

.blue p {
    color: #fff;
}

.blue a.apply {
    border: 1px solid #fff;
    border-radius: 3px;
    padding: 0.5rem;
    color: #fff;
}

.blue .bewerben {
    width: 60%;
}

.blue .image {
    width: 40%;
}

footer {
    background-color: #172b4d;
    color: #fff;
    display: flex;
    gap: 1rem;
    padding: 1rem;
}

footer p {
    margin: 0;
}

.socials {
    display: flex;
    gap: 1rem;
}

@media only screen and (max-width: 49.938rem) {
    #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;
        gap: 0;
    }

    .flex .left,
    .flex .right {
        width: 100%;
    }

    .flex .left {
        text-align: left;
    }

    .bonus {
        flex-wrap: wrap;
        justify-content:center;
    }

    .blue {
        flex-direction: column-reverse;
    }

    .blue .image {
        display: none;
    }
    .blue .bewerben {
        width: 100%;
    }

    .blue .button {
        display: flex;
        justify-content: center;
    }
}

@media only screen and (max-width: 40rem) {
    h1 {
        font-size: 1.25rem;
        line-height: 1.3;
    }
    h3 {
        font-size: 1rem;
    }
}

