@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: 21px;
    font-weight: 400;
}

#wrapper {
    max-width: 580px;
    margin: 1rem auto;
    border: 3px solid #007088;
    background-color: #D3ECEB;
    position: relative;
}

header {
    padding: 1.25rem 1.25rem 16px;
    background: #fff;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: flex-end;
}

article {
    padding: 16px 1.25rem 72px;
}

.flex {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 7px;
}

article p {
    margin: 0 0 5px;
}

footer {
    position: absolute;
    right: 20px;
    bottom: 16px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 16px;
}

footer p {
    text-align: right;
}

footer p a {
    font-size: 20px;
    color: #007088 !important;
    display: inline-block;
    line-height: 1.3;
}

.qrcode {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    gap: 6px;
}

.margin-left {
    margin: 0 0 6px 24px;
}

.kontakt {
    position: relative;
    z-index: 99;
    width: 271px;
}

figure {
    display: flex;
    gap: 6px;
    align-items: center;
}

:is(strong, h1, h2, h3) {
    font-weight: 700;
}

h1 {
    margin: 0 0 10px;
    font-size: 29px;
    line-height: 1.2;
}

h1 span {
    font-size: 22px;
	white-space: nowrap;
}

h2 {
    font-size: 23px;
    line-height: 1.1;
    color: #007088;
}

h3 {
    margin: 8px 0 6px;
    font-size: 19px;
    line-height: 1.3;
    color: #007088;
}

img {
    max-width: 100%;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    text-decoration: none;
    white-space: nowrap;
}

@media all and (max-width: 579px) {
    #wrapper {
        margin: 0;
        border: none;
    }

    header {
        padding: 1rem;
    }

    article {
        padding: 1rem 1rem 5rem;
    }

    p {
        hyphens: auto;
        text-wrap: pretty;
    }

    .mobile {
        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;
        padding: 16px;
    }
}

@media all and (max-width: 374px) {
    footer {
        flex-direction: column;
    }

    footer p {
        text-align: center;
    }

    :is(.qrcode, footer) {
        align-items: center;
    }
}