@charset "utf-8";

@font-face {
    font-display: swap;
    font-family: 'Merriweather';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/merriweather-v33-latin-700.eot');
    src: url('../fonts/merriweather-v33-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/merriweather-v33-latin-700.woff2') format('woff2'), url('../fonts/merriweather-v33-latin-700.woff') format('woff'), url('../fonts/merriweather-v33-latin-700.ttf') format('truetype'), url('../fonts/merriweather-v33-latin-700.svg#Merriweather') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
}

html {
    min-height: 100%;
}

body {
    color: #44546A;
    font: 400 1em/1.3em Arial, sans-serif;
}

#wrapper {
    position: relative;
    max-width: 940px;
    margin: 1rem auto;
    border: solid 1px #000;
    background: url('../images/bg1.jpg') top -2.5rem left no-repeat, url('../images/bg2.jpg') bottom left no-repeat, #fff;
    overflow: hidden;
    padding: 0;
}

#wrapper:after {
    content: url('../images/mann_und_frau.png');
    position: absolute;
    bottom: 13rem;
    left: 2rem;
}

p {
    padding-bottom: 1rem;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

h1 {
    margin: 0 0 0.5rem;
    font-size: 2em;
    line-height: 1.1em;
    color: #fff;
}

h2 {
    font-size: 1.6em;
    line-height: 1.3em;
    padding: 0.5rem 1rem 0.5rem 53%;
    margin-bottom: 0.25rem;
    background: #DAE9F5;
}

h3 {
    font-size: 1.75em;
    line-height: 1.75;
    margin-bottom: 0.25rem;
}

h4 {
    font-size: 1.75em;
    line-height: 1.3em;
    color: #FF0000;
}

h4,
.font {
    font-family: 'Merriweather', "Time New Roman", serif;
}

p.font {
    color: #fff;
    font-size: 1.5em;
    line-height: 1.3;
}

h1,
h3,
h4,
p {
    text-align: center;
}

ul {
    padding: 0 1rem 1rem 53%;
    list-style: none;
    color: #000;
}

li:before {
    content: "•";
    float: left;
    color: #FF0000;
    margin: -1px 0 0 -1.5rem;
}

header {
    padding: 1.5rem 1rem 0;
}

.benefits {
    padding: 0 1rem 0 53%;
    display: flex;
    justify-content: space-between;
}

.benefits p {
    font-size: 0.75rem;
    line-height: 1.3;
    max-width: calc(100% / 6);
}

.benefits p span {
    margin: 0 auto 0.5rem;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
    box-shadow: 0.125rem 0.125rem 0.5rem 0.125rem #ccc;
}

.logo {
    padding-bottom: 1rem;
}

figure,
.logo {
    display: flex;
    justify-content: center;
}

@media only screen and (max-width:939px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        background-image: none;
    }

    p {
        -moz-hyphens: auto;
        -o-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    p :is(span, a) {
        display: inline-block;
    }

    h1 {
        margin: 0;
        padding-bottom: 1rem;
    }

    #wrapper:after,
    .hide_m {
        display: none;
    }

    .logo {
        padding-bottom: 1rem;
    }

    h2,
    .benefits,
    ul {
        padding: 0.5rem 1rem;
        margin: 0 -1rem;
    }

    li {
        padding-left: 1rem;
    }

    li:before {
        margin-left: -1rem;
    }

    .benefits {
        flex-wrap: wrap;
        gap: 0 1rem;
        justify-content: space-around;
    }

    .benefits p {
        max-width: fit-content;
    }

    article {
        padding: 1rem;
    }

    header,
    footer {
        padding: 1rem 1rem 0;
        background: #003E65;
    }
}

@media only screen and (max-width:480px) {

    h2,
    h3 {
        font-size: 1.4rem;
    }

    .benefits p {
        max-width: 100%;
        width: calc(50% - 0.5rem);
    }
}