@font-face {
    font-display: swap;
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/source-sans-3-v18-latin-regular.eot');
    src: url('../fonts/source-sans-3-v18-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/source-sans-3-v18-latin-regular.woff2') format('woff2'), url('../fonts/source-sans-3-v18-latin-regular.woff') format('woff'), url('../fonts/source-sans-3-v18-latin-regular.ttf') format('truetype'), url('../fonts/source-sans-3-v18-latin-regular.svg#SourceSans3') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/source-sans-3-v18-latin-600.eot');
    src: url('../fonts/source-sans-3-v18-latin-600.eot?#iefix') format('embedded-opentype'), url('../fonts/source-sans-3-v18-latin-600.woff2') format('woff2'), url('../fonts/source-sans-3-v18-latin-600.woff') format('woff'), url('../fonts/source-sans-3-v18-latin-600.ttf') format('truetype'), url('../fonts/source-sans-3-v18-latin-600.svg#SourceSans3') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/poppins-v22-latin-500.eot');
    src: url('../fonts/poppins-v22-latin-500.eot?#iefix') format('embedded-opentype'), url('../fonts/poppins-v22-latin-500.woff2') format('woff2'), url('../fonts/poppins-v22-latin-500.woff') format('woff'), url('../fonts/poppins-v22-latin-500.ttf') format('truetype'), url('../fonts/poppins-v22-latin-500.svg#Poppins') format('svg');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

body {
    color: #4a4a4a;
    font-family: 'Source Sans 3', Arial, sans-serif;
    font-size: 13px;
    line-height: 18px;
    font-weight: 400;
}

#wrapper {
    margin: 1rem auto;
    max-width: 1002px;
    border: 1px solid #4a4a4a;
    background-color: #fff;
}

.logo {
    padding: 30px 0;
    display: flex;
    justify-content: flex-start;
}

header {
    padding: 0 36px
}

article {
    padding: 30px 36px;
}

footer {
    padding: 30px 36px;
    position: relative;
}

.kontakt {
    display: flex;
    gap: 20px;
    align-items: center;
}

.background {
    margin: 20px -36px 0;
    background: #6cc24a;
    padding: 30px 36px 20px;
}

.background :is(h2, p, i) {
    color: #fff;
}

.background :is(h2, p) {
    margin-top: 0 !important;
    margin-bottom: 15px;
    font-family: 'Poppins', Arial, sans-serif;
}

.background .flex-box {
    display: flex;
    align-items: flex-start;
    gap: 200px
}

.background .flex-box i {
    padding-right: 5px;
    display: inline;
}

.column {
    padding-bottom: 10px;
    width: 31%;
}

p:not(:first-of-type) {
    margin-top: 20px;
}

h1 {
    font-size: 31px;
    line-height: 1.1;
    margin: 30px 0 0;
}

h2 {
    font-size: 21px;
    line-height: 1.1;
    margin-top: 25px;
}

.flex {
    margin-top: 15px;
    display: flex;
    gap: 15px
}

.flex p {
    margin-top: 0 !important;
}

.flex i {
    color: #6cc24a;
}

ul {
    list-style: none;
    margin-top: 15px;
}

ul li {
    padding-left: 22px;
}

li:before {
    content: "\25A0";
    color: #6cc24a;
    float: left;
    font-size: 15px;
    text-indent: -22px;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

:is(h1, h2, h3) {
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: 500;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #4a4a4a;
    text-decoration: none;
    white-space: nowrap;
}

.font {
    font-family: 'Source Sans 3', Arial, sans-serif !important;
    font-size: 13px;
}

.qrcode {
    position: absolute;
    bottom: 20px;
    right: 20px;
}

@media only screen and (max-width: 1002px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty
    }

    :is(p, ul) span {
        white-space: nowrap;
    }

    .column {
        width: auto;
    }
}

@media only screen and (max-width: 850px) {
    :is(header, article, footer) {
        padding: 16px;
    }

    header {
        padding-bottom: 0 !important
    }

    .logo {
        padding: 0 0 1rem;
    }

    .background {
        margin: 16px -16px 0;
        padding: 16px;
    }

    .background .flex-box {
        gap: 50px;
    }
}

@media only screen and (max-width: 618px) {
    .background .flex-box {
        flex-direction: column;
        gap: 0
    }

    .column {
        padding-bottom: 0;
    }

    h1 {
        font-size: 25px;
    }
}

@media only screen and (max-width: 550px) {
    .flex {
        flex-wrap: wrap;
    }

    .kontakt {
        flex-direction: column;
        align-items: center;
    }

    .kontakt p {
        text-align: center;
    }

    .qrcode {
        position: static;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        margin-top: 16px;
    }
}