﻿ * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
}

@font-face {
    font-display: swap;
    font-family: 'Just Me Again Down Here';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/just-me-again-down-here-v24-latin-regular.eot');
    src: url('../fonts/just-me-again-down-here-v24-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/just-me-again-down-here-v24-latin-regular.woff2') format('woff2'), url('../fonts/just-me-again-down-here-v24-latin-regular.woff') format('woff'), url('../fonts/just-me-again-down-here-v24-latin-regular.ttf') format('truetype'), url('../fonts/just-me-again-down-here-v24-latin-regular.svg#JustMeAgainDownHere') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-regular.eot');
    src: url('../fonts/roboto-v30-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-regular.woff2') format('woff2'), url('../fonts/roboto-v30-latin-regular.woff') format('woff'), url('../fonts/roboto-v30-latin-regular.ttf') format('truetype'), url('../fonts/roboto-v30-latin-regular.svg#Roboto') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v30-latin-700.eot');
    src: url('../fonts/roboto-v30-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-700.woff2') format('woff2'), url('../fonts/roboto-v30-latin-700.woff') format('woff'), url('../fonts/roboto-v30-latin-700.ttf') format('truetype'), url('../fonts/roboto-v30-latin-700.svg#Roboto') format('svg');
}

body {
    color: #231f20;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 14px;
    line-height: 20px;
}

#wrapper {
    margin: 1rem auto;
    padding: 0 35px 25.875rem;
    max-width: 910px;
    background: #FFFFFF url(../images/kinder.jpg) no-repeat left bottom;
    overflow: hidden;
    position: relative;
    border: solid thin #cbcbcb;
}

header {
    margin: 0 -2.1875rem;
    display: flex;
    justify-content: space-between;
}

footer {
    margin: 0.625rem 0 0;
}

.flex {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 0 0;
}

.flex section {
    width: 49%;
}

p {
    margin-bottom: 1rem;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #5C2874;
    text-decoration: underline;
    white-space: nowrap;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

header>section:nth-of-type(1) {
    width: 65%;
    padding: 2.3125rem 2.375rem 1.8125rem;
    background: #5e2f7e;
}

header>section:nth-of-type(2) {
    width: 35%;
    background: #49317f;
    padding: 2.0625rem 3.25rem 1.6875rem;
}

h1 {
    margin: -0.8125rem 0 17px;
    font-size: 41px;
    line-height: 1.2;
    color: #5e2f7e;
}

h1 small {
    font-size: 16px;
}

h1 span {
    font-size: 16px;
    display: block;
    margin-top: 6px;
}

h2 {
    font-size: 80px;
    line-height: 1.1;
    margin: 0 0 1.5rem;
    font-family: 'Just Me Again Down Here', cursive;
    font-weight: 400;
    color: #3FA535;
}

h3 {
    font-size: 2rem;
    line-height: 1.875rem;
    margin: 0 0 0.75rem;
    font-family: 'Just Me Again Down Here', cursive;
    color: #00aeef;
    font-weight: 400;
}

h4 {
    font-size: 14px;
    line-height: 19px;
    font-weight: normal;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 7px;
}

h4 strong {
    font-size: 18px;
}

.margin {
    margin-right: -15px;
}

h5 {
    font-size: 30px;
    line-height: 31px;
    font-family: 'Just Me Again Down Here', cursive;
    font-weight: 400;
    color: #3FA535;
    margin: -2px 0 15px;
}

h6 a {
    font-size: 29px;
    line-height: 31px;
    font-family: 'Just Me Again Down Here', cursive;
    font-weight: 400;
    text-decoration: none !important;
}

.flexbox {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
}

.flexbox section {
    width: 47%;
}

ul {
    list-style: none;
}

ul li {
    padding-left: 1rem;
    margin: 0 0 6px;
}

ul li:before {
    content: "\2022";
    float: left;
    color: #5C2874;
    font-family: Arial, sans-serif;
    font-size: 1.5625rem;
    text-indent: -1rem;
}

ul li.li:before {
    color: #009FE3;
}

.lila {
    color: #5C2874;
}

.blau {
    color: #009FE3;
}

.kontakt {
    position: absolute;
    bottom: 0;
    right: 45px;
    width: 350px;
    height: 281px;
    background: url(../images/background-kontakt.png) no-repeat;
    padding: 54px 32px 19px 128px;
}

.kontakt p {
    text-align: center;
    color: #5C4192;
}

.kontakt :is(p, h6) {
    transform: rotate(8deg);
    margin: 0 0 8px;
}

.solical img {
    margin: 0 5px;
}

h5+p {
    line-height: 22px;
}

.solical {
    margin: 8px 0 0;
    display: inline-block;
}

.images {
    display: none;
}

.link {
    color: #009FE3 !important;
}

@media screen and (max-width:910px) {
    #wrapper {
        border: none;
        margin: 0;
        height: auto;
        background: #FFF;
        padding: 0 1rem;
    }

    :is(h4, h5, p, ul) {
        hyphens: auto;
        text-wrap: pretty
    }

    h2 {
        font-size: 8.5vw;
        margin: 1rem 0 1.5rem;
    }

    header {
        margin: 0 -16px;
    }

    h1 {
        margin-bottom: 30px;
    }

    br {
        display: none;
    }

    header>section:nth-of-type(1) {
        width: 100%;
        padding: 1rem;
    }

    header>section:nth-of-type(2) {
        width: auto;
    }

    .images {
        display: block;
        margin: 0 -1rem;
    }

    .kontakt {
        right: 1rem;
    }

    :is(p, ul) span {
        white-space: normal;
    }

    .margin {
        margin-right: 0;
    }
}

@media screen and (max-width:720px) {
    :is(.flex, .flexbox) {
        flex-wrap: wrap;
    }

    h5 {
        margin-top: 0;
    }

    h1 {
        font-size: 28px;
    }

    section {
        width: 100% !important;
    }

    .kontakt {
        background: rgba(255, 255, 255, 0.6) none repeat scroll 0 0;
        width: 100%;
        padding: 1rem;
        height: auto;
        position: static;
    }

    .kontakt :is(p, h6) {
        transform: rotate(0);
        text-align: center;
    }
}