@font-face {
    font-display: swap;
    font-family: 'Titillium Web';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/titillium-web-v15-latin-regular.eot');
    src: url('../fonts/titillium-web-v15-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/titillium-web-v15-latin-regular.woff2') format('woff2'), url('../fonts/titillium-web-v15-latin-regular.woff') format('woff'), url('../fonts/titillium-web-v15-latin-regular.ttf') format('truetype'), url('../fonts/titillium-web-v15-latin-regular.svg#TitilliumWeb') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Titillium Web';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/titillium-web-v15-latin-700.eot');
    src: url('../fonts/titillium-web-v15-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/titillium-web-v15-latin-700.woff2') format('woff2'), url('../fonts/titillium-web-v15-latin-700.woff') format('woff'), url('../fonts/titillium-web-v15-latin-700.ttf') format('truetype'), url('../fonts/titillium-web-v15-latin-700.svg#TitilliumWeb') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-size: 16px;
    line-height: 20px;
    font-family: 'Titillium Web', Arial, sans-serif;
    color: #fff;
    font-weight: 400;
}

#wrapper {
    position: relative;
    max-width: 543px;
    margin: 16px auto;
    overflow: hidden;
    padding-left: 26px;
    background: #b8292f url(../images/linien.jpg) no-repeat;
    border: 1px solid #555;
}

header {
    padding: 8px 0 8px 41px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

article {
    padding: 0 40px 3px 41px;
}

.qrcode {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 16px;
    margin: -18px 0 4px;
}

.text {
    flex: 1 1 0;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap: 36px;
}

footer {
    margin: 0 40px 32px 41px;
    padding: 4px;
    background-color: #fff;
    text-align: center;
}

strong {
    font-weight: 700;
}

h1 {
    margin: 6px 0;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 400;
    width: 100%;
    padding: 3px 3px 5px;
    background-color: #fff;
    color: #b8292f;
    text-align: center;
}

h1+p {
    margin-bottom: 22px;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #b8292f;
    text-decoration: none;
}

@media all and (max-width:542px) {
    #wrapper {
        margin: 0;
        border: none;
        background-size: 16px 100%;
        padding-left: 16px;
    }

    header {
        padding: 0 0 16px 16px;
    }

    article {
        padding: 0 16px 4px 16px;
    }

    footer {
        margin: 0 16px 16px;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }

    br:not(footer br) {
        display: none;
    }

    .text {
        flex: 1 1 0;
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        gap: 14px;
    }
}

@media all and (max-width:424px) {
    .qrcode {
        align-items: center;
        margin: 16px 0;
    }

    h1 {
        margin: 16px 0;
    }
}