﻿ * {
     box-sizing: border-box;
     margin: 0;
     padding: 0;
 }

 html {
     min-height: 100%;
 }

 @font-face {
     font-display: swap;
     font-family: 'Gochi Hand';
     font-style: normal;
     font-weight: 400;
     src: url('../fonts/gochi-hand-v25-latin-regular.eot');
     src: url('../fonts/gochi-hand-v25-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/gochi-hand-v25-latin-regular.woff2') format('woff2'), url('../fonts/gochi-hand-v25-latin-regular.woff') format('woff'), url('../fonts/gochi-hand-v25-latin-regular.ttf') format('truetype'), url('../fonts/gochi-hand-v25-latin-regular.svg#GochiHand') format('svg');
 }

 body {
     color: #231f20;
     font-family: Arial, Helvetica, sans-serif;
     font-size: 14px;
     line-height: 18px;
 }

 #wrapper {
     margin: 1rem auto;
     padding: 0 35px 30.875rem;
     max-width: 910px;
     background: #dff1f8 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:nth-of-type(1) {
     width: 45%;
 }

 .flex section:nth-of-type(2) {
     width: 52%;
 }

 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: 96px;
     line-height: 96px;
     font-family: 'Gochi Hand', cursive;
     color: #5e2f7e;
     font-weight: 400;
 }

 h1 small {
     font-size: 38px;
 }

 h1 span {
     font-size: 102%;
 }

 h2 {
     font-size: 38px;
     line-height: 1.1;
     margin: 0 0 1.5rem;
     font-family: 'Gochi Hand', cursive;
     font-weight: 400;
     color: #5e2f7e;
 }

 h3 {
     font-size: 24px;
     line-height: 28px;
     margin: 0 0 0.75rem;
     font-family: 'Gochi Hand', 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: 22px;
     line-height: 26px;
     font-family: 'Gochi Hand', cursive;
     font-weight: 400;
     color: #00aeef;
     margin: -2px 0 15px;
 }

 h6 a {
     font-size: 29px;
     line-height: 31px;
     font-family: 'Gochi Hand', cursive;
     font-weight: 400;
     text-decoration: none !important;
 }

 .flexbox {
     display: flex;
     justify-content: space-between;
     flex-direction: row-reverse;
 }

 .flexbox section:nth-of-type(1) {
     width: 49%;
 }

 .flexbox section:nth-of-type(2) {
     width: 46%;
 }

 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: #5C2874 !important;
 }

 h2 span {
     color: #00aeef;
 }

 h2 small {
     font-size: 80%;
 }

 .color {
     color: #5C2874;
 }

 .phone {
     text-decoration: none !important;
     font-size: 29px;
     font-family: 'Gochi Hand', cursive;
     font-weight: 400;
 }

 .colorone {
     color: #5C2874;
     font-size: 18px;
 }

 .flexbox section:nth-of-type(2) {
     margin-top: -24px;
     padding-left: 15px;
 }

 .font {
     font-family: Arial, Helvetica, sans-serif;
     font-weight: 700;
     font-size: 16px;
     line-height: 20px;
 }

 article {
     padding: 20px 0 0;
 }

 .fontsize {
     font-size: 170%;
 }

 @media screen and (max-width:910px) {
     #wrapper {
         border: none;
         margin: 0;
         height: auto;
         background: #dff1f8 url(../images/kinder.jpg) no-repeat left bottom;
         background-size: 100% auto;
         padding: 0 1rem 54%;
     }

     :is(h4, h5, p, ul) {
         hyphens: auto;
         text-wrap: pretty
     }

     h2 {
         font-size: 8.75vw;
         margin: 1rem 0 1.5rem;
     }

     header {
         margin: 0 -16px;
     }

     h1 {
         margin-bottom: 30px;
         line-height: 58px;
     }

     h1 small {
         margin-left: 0;
     }

     h2 {
         font-size: 7.75vw;
     }

     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 0;
     }

     .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: 80px;
     }

     section {
         width: 100% !important;
     }

     .flexbox section:nth-of-type(2) {
         margin: 0;
         padding: 0;
     }

     .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;
     }
 }