@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans-v35-latin-regular.eot');
    src: url('../fonts/open-sans-v35-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v35-latin-regular.woff2') format('woff2'), url('../fonts/open-sans-v35-latin-regular.woff') format('woff'), url('../fonts/open-sans-v35-latin-regular.ttf') format('truetype'), url('../fonts/open-sans-v35-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-v35-latin-700.eot');
    src: url('../fonts/open-sans-v35-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v35-latin-700.woff2') format('woff2'), url('../fonts/open-sans-v35-latin-700.woff') format('woff'), url('../fonts/open-sans-v35-latin-700.ttf') format('truetype'), url('../fonts/open-sans-v35-latin-700.svg#OpenSans') format('svg');
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    font-size: 16px;
}

body {
    color: #003f3c;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.35em;
    font-weight: 400;
}

#wrapper {
    max-width: 670px;
    margin: 16px auto;
    border: 2px solid #003f3c;
    background-color: #fff;
    position: relative;
}

header {
    padding: 32px 32px 80px;
    background: #003f3c;
    clip-path: polygon(100% 0, 100% 70%, 38% 100%, 0 70%, 0 0);
}

article {
    padding: 32px 32px 10px;
    position: relative;
}

footer {
    padding: 10px 32px;
    background: #bdd73c;
}

footer p {
    margin: 0;
    font-weight: bold;
}

p {
    margin: 0 0 10px;
}

strong {
    font-weight: 700;
}

h1 {
    margin: 16px 0;
    font-weight: 700;
    font-size: 28px;
    line-height: 32px;
}

h1 small {
    display: block;
    font-size: 17px;
    line-height: 22px;
    margin: 5px 0 0;
}

h2 {
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #003f3c;
    text-decoration: none;
}

.qrcode {
    position: absolute;
    bottom: 24px;
    right: 32px;
}

@media all and (max-width: 670px) {
    #wrapper {
        margin: 0;
        border: none;
    }

    header {
        padding: 16px 16px 60px;
    }

    :is(article, footer) {
        padding: 16px;
    }

    :is(p, h1) {
        hyphens: auto;
        text-wrap: pretty;
    }

    :is(a, span) {
        white-space: nowrap;
    }

    br:not(footer br, .kontakt br) {
        display: none;
    }
}

@media all and (max-width:525px) {
    .qrcode {
        position: static;
        display: flex;
        justify-content: center;
    }
}