﻿@font-face {
    font-display: swap;
    font-family: 'Lato';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/lato-v24-latin-700.eot');
    src: url('../fonts/lato-v24-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/lato-v24-latin-700.woff2') format('woff2'), url('../fonts/lato-v24-latin-700.woff') format('woff'), url('../fonts/lato-v24-latin-700.ttf') format('truetype'), url('../fonts/lato-v24-latin-700.svg#Lato') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'PT Sans Narrow';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/pt-sans-narrow-v18-latin-regular.eot');
    src: url('../fonts/pt-sans-narrow-v18-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/pt-sans-narrow-v18-latin-regular.woff2') format('woff2'), url('../fonts/pt-sans-narrow-v18-latin-regular.woff') format('woff'), url('../fonts/pt-sans-narrow-v18-latin-regular.ttf') format('truetype'), url('../fonts/pt-sans-narrow-v18-latin-regular.svg#PTSansNarrow') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'PT Sans Narrow';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/pt-sans-narrow-v18-latin-700.eot');
    src: url('../fonts/pt-sans-narrow-v18-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/pt-sans-narrow-v18-latin-700.woff2') format('woff2'), url('../fonts/pt-sans-narrow-v18-latin-700.woff') format('woff'), url('../fonts/pt-sans-narrow-v18-latin-700.ttf') format('truetype'), url('../fonts/pt-sans-narrow-v18-latin-700.svg#PTSansNarrow') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-size: 1rem;
    line-height: 18px;
    font-family: 'PT Sans Narrow', Arial, sans-serif;
    color: #000;
    font-weight: 400;
}

#wrapper {
    position: relative;
    max-width: 545px;
    margin: 1rem auto;
    border: 1px solid #000;
    overflow: hidden;
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

header {
    background: #00964D;
    padding: 0 1rem 10px;
    width: 100%;
}

header p {
    color: #FFF;
    text-align: justify;
    margin: 0;
}

header section {
    display: flex;
    justify-content: space-between;
    margin: 0 -1rem 0 0;
    align-items: flex-start;
    flex-wrap: wrap;
}

article {
    width: 48%;
    padding: 16px 0 0px 16px;
}

footer {
    width: 48%;
    padding: 16px 16px 8px 0;
}

footer section {
    display: flex;
    gap: 5px;
    align-items: flex-end;
}

:is(strong, h1, h2) {
    font-weight: 700;
}

:is(h1, h2) {
    font-size: 21px;
    margin: 10px 0;
    line-height: 20px;
    width: 109px;
    color: #FFF;
    text-align: left;
}

h2 span {
    font-weight: 400;
    display: block;
}

h3 {
    font-size: 15px;
    line-height: 1.125rem;
    position: absolute;
    bottom: -34px;
    left: 102px;
    font-weight: 400;
    background: #00B664;
    clip-path: polygon(18% 0%, 100% 12%, 84% 70%, 0 78%);
    color: #FFF;
    padding: 14px 20px 39px 51px;
    width: 264px;
    height: 107px;
}

h3 span {
    display: block;
    margin: 0 0 0 -7px;
}

p {
    margin: 0 0 1rem;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    white-space: nowrap;
    text-decoration: none;
}

p span {
    color: #00A65D;
}

.hide-desktop {
    display: none;
}

.qrcode {
    gap: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.kontakt {
    padding: 3px 0 0;
}

.kontakt p {
    margin: 0 0 5px;
}

.text {
    position: relative;
    margin: 24px 0 40px;
}

img {
    max-width: 100%;
}

@media all and (max-width:544px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    p {
        text-align: left !important;
        hyphens: auto;
        text-wrap: pretty;
    }

    .kontakt {
        padding: 0
    }

    br:not(.kontakt br) {
        display: none;
    }

    .slogan :is(h1, h2) {
        text-align: center;
    }

    header p {
        margin-top: 10px;
    }
}

@media all and (max-width:510px) {
    :is(article, footer) {
        width: 100%;
        padding: 16px 16px 0;
    }

    footer {
        padding: 0 16px 16px;
    }

    .flexbox {
        flex-wrap: wrap;
    }

    header section {
        margin: 0;
        justify-content: center;
    }

    .slogan h2 {
        line-height: 1.3;
        width: auto;
        text-align: center;
    }

    h3 {
        left: 50px;
        bottom: -20px;
    }

    .text {
        position: relative;
        margin: 48px 0 1rem;
    }
}

@media all and (max-width:480px) {
    .article {
        flex-wrap: wrap;
    }

    .content {
        width: 100% !important;
    }

    .hide-desktop {
        display: inline;
        color: #000;
    }

    .show-desktop {
        display: none;
    }
}