﻿@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans-v40-latin-regular.eot');
    src: url('../fonts/open-sans-v40-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v40-latin-regular.woff2') format('woff2'), url('../fonts/open-sans-v40-latin-regular.woff') format('woff'), url('../fonts/open-sans-v40-latin-regular.ttf') format('truetype'), url('../fonts/open-sans-v40-latin-regular.svg#OpenSans') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/open-sans-v40-latin-700.eot');
    src: url('../fonts/open-sans-v40-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v40-latin-700.woff2') format('woff2'), url('../fonts/open-sans-v40-latin-700.woff') format('woff'), url('../fonts/open-sans-v40-latin-700.ttf') format('truetype'), url('../fonts/open-sans-v40-latin-700.svg#OpenSans') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    line-height: 1.2;
    font-size: 1rem;
    font-family: 'Open Sans', Arial, sans-serif;
    color: #FFF;
    font-weight: 400;
}

#wrapper {
    position: relative;
    max-width: 758px;
    margin: 1rem auto;
    border: none;
    overflow: hidden;
    background: #fff url(../images/background1.jpg) no-repeat;
}

header {
    margin: 0;
    display: flex;
    justify-content: center;
}

article {
    padding: 0 21px 0 41px;
}

footer {
    padding: 20px 41px 0 130px;
    position: relative;
    font-size: 11px;
    line-height: 15px;
}

:is(strong, h1, h2, h3) {
    font-weight: 700;
}

h1 {
    margin: 0 0 16px -20px;
    font-size: 37px;
    line-height: 1;
}

h1 span {
    background: #7EBA1C;
    width: 380px;
    padding: 2px 4px 8px 50px;
    display: block;
    margin: 3px 0 0 -27px;
}

h1 small {
    font-size: 16px;
    background: #7EBA1C;
    width: 311px;
    padding: 4px 4px 7px 50px;
    display: block;
    margin: 4px 0 0 -27px;
    font-weight: normal;
}

h2 {
    font-size: 47px;
    margin: 2px 0 2px -46px;
    line-height: 46px;
    background: #7EBA1C;
    width: 496px;
    padding: 4px 4px 3px 50px;
}

h3 {
    font-size: 16px;
    margin: 1rem 0 2px;
    line-height: 1.1;
    color: #46454a;
    background: #FFF;
    display: inline-block;
    padding: 3px;
}

p {
    margin: 0 0 1rem;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #FFF;
    white-space: nowrap;
    text-decoration: none;
}

ul {
    margin: 0 0 24px;
    list-style: none;
    font-size: 17px;
}

ul li {
    padding-left: 1.25rem;
    color: #222127;
    margin: 0 0 9px;
    background: #FFF;
    display: inline-block;
    padding: 2px 2px 2px 50px;
    margin: 0 0 3px -26px;
}

ul li:before {
    content: ">";
    float: left;
    font-family: Arial, sans-serif;
    font-size: 1rem;
    color: #7eba1c;
    font-weight: bold;
    text-indent: -1.25rem;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

.text {
    font-size: 17px;
    margin: 0 0 33px;
    background: #7EBA1C;
    background: linear-gradient(90deg, rgba(126, 186, 28, 1) 0%, rgba(96, 115, 60, 1) 35%, rgba(153, 151, 151, 0) 100%);
    width: 443px;
    padding: 4px;
}

.slogan {
    position: absolute;
    top: 287px;
    right: 84px;
}

.font {
    font-size: 10px;
    line-height: 14px;
    width: 404px;
}

.kontakt {
    display: flex;
    gap: 23px;
    flex-wrap: wrap;
}

.qrcode {
    position: absolute;
    top: 18px;
    left: 41px;
}

footer span {
    display: inline-block;
    width: 33px;
}

.footerbild {
    display: none;
}

.solical {
    position: relative;
    display: flex;
    justify-content: center;
    margin: 23px 0 0 10px;
}

.instagram {
    position: absolute;
    top: 48%;
    left: 20%;
    width: 27%;
    height: 17%;
}

.facebook {
    position: absolute;
    top: 48%;
    left: 53%;
    width: 26%;
    height: 17%;
}

@media all and (max-width:757px) {
    #wrapper {
        margin: 0 auto;
        border: none;
        height: auto;
        background: #454545;
    }

    article {
        padding: 0 1rem;
    }

    footer {
        padding: 0;
    }

    .slogan {
        position: static;
        display: flex;
        justify-content: center;
        margin: 0 0 1rem;
    }

    .solical {
        margin: 0;
        border-top: 10px solid #FFF;
    }

    h1 {
        font-size: 30px;
        margin: 0;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }

    :is(h2, h1 small, h1 span) {
        width: 100%;
        margin: 0;
        padding: 4px 16px;
    }

    .text {
        width: auto;
    }

    .font {
        width: 100%;
    }

    .qrcode {
        position: static;
        margin: 0 0 1rem;
    }

    .flex {
        padding: 0 1rem;
    }

    .footerbild {
        display: flex;
        justify-content: center;
    }
}