@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-regular.eot');
    src: url('../fonts/roboto-v30-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-regular.woff2') format('woff2'), url('../fonts/roboto-v30-latin-regular.woff') format('woff'), url('../fonts/roboto-v30-latin-regular.ttf') format('truetype'), url('../fonts/roboto-v30-latin-regular.svg#Roboto') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v30-latin-700.eot');
    src: url('../fonts/roboto-v30-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-700.woff2') format('woff2'), url('../fonts/roboto-v30-latin-700.woff') format('woff'), url('../fonts/roboto-v30-latin-700.ttf') format('truetype'), url('../fonts/roboto-v30-latin-700.svg#Roboto') format('svg');
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    font-size: 16px;
}

body {
    color: #000;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.3em;
    font-weight: 400;
}

#wrapper {
    max-width: 600px;
    margin: 1rem auto;
    border: 3px solid #007088;
    background-color: #D3ECEB;
    position: relative;
}

header {
    padding: 1.25rem 1.25rem 1.25rem 1.75rem;
    background: #fff;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: flex-end;
}

article {
    padding: 0.5rem 1.25rem 3.625rem 1.75rem;
}

.flex {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 7px;
}

footer {
    padding: 1.25rem 1.25rem 0.5rem;
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 16px;
}

footer p {
    text-align: right;
    margin: 0;
}

footer p a {
    font-size: 1.25rem;
    color: #007088 !important;
    display: inline-block;
}

.qrcode {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    gap: 10px;
}

figure {
    display: flex;
    gap: 4px;
    align-items: center;
}

p {
    margin: 0 0 0.25rem;
}

strong {
    font-weight: 700;
}

h1 {
    margin: 0 0 1.25rem;
    font-weight: 400;
    font-size: 22px;
    line-height: 1.3;
    padding: 0 0 0 21px;
    position: relative;
}

h1:before {
    background: #000;
    content: "";
    font-family: Arial, sans-serif;
    font-size: 22px;
    text-indent: -14px;
    position: absolute;
    top: 10px;
    left: 0;
    width: 11px;
    height: 3px;
}

h1 strong {
    font-weight: 700;
    font-size: 28px;
    line-height: 1.2;
    display: block;
}

h2 {
    font-weight: 700;
    font-size: 1.375rem;
    line-height: 1.75rem;
    color: #007088;
    margin-bottom: -7px;
}

h3 {
    margin: 0 0 0.125rem;
    font-weight: 700;
    font-size: 1.1875rem;
    line-height: 1.4375rem;
    color: #007088;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    text-decoration: none;
    white-space: nowrap;
}

.margin-left {
    margin: 0 0 0.25rem 24px;
}

.kontakt {
    position: relative;
    z-index: 99;
    width: 271px;
}

@media all and (max-width: 599px) {
    #wrapper {
        margin: 0;
        border: none;
    }

    :is(header, footer) {
        padding: 1rem;
    }

    article {
        padding: 1rem 1rem 5rem;
    }

    p {
        hyphens: auto;
        text-wrap: pretty;
    }

    :is(a, p span:not(.nowrap)) {
        white-space: nowrap;
    }

    br:not(.flex br, footer br) {
        display: none;
    }
}

@media all and (max-width: 480px) {
    header {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    h2 {
        text-align: center;
    }
}

@media all and (max-width: 424px) {
    article {
        padding: 1rem 1rem 0;
    }

    footer {
        position: static;
    }
}

@media all and (max-width: 374px) {
    footer {
        flex-direction: column;
        align-items: center;
    }

    footer p {
        text-align: center;
    }

    .qrcode {
        align-items: center;
    }
}