@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans-v43-latin-regular.eot');
    src: url('../fonts/open-sans-v43-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v43-latin-regular.woff2') format('woff2'), url('../fonts/open-sans-v43-latin-regular.woff') format('woff'), url('../fonts/open-sans-v43-latin-regular.ttf') format('truetype'), url('../fonts/open-sans-v43-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-v43-latin-700.eot');
    src: url('../fonts/open-sans-v43-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v43-latin-700.woff2') format('woff2'), url('../fonts/open-sans-v43-latin-700.woff') format('woff'), url('../fonts/open-sans-v43-latin-700.ttf') format('truetype'), url('../fonts/open-sans-v43-latin-700.svg#OpenSans') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Caveat';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/caveat-v17-latin-700.eot');
    src: url('../fonts/caveat-v17-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/caveat-v17-latin-700.woff2') format('woff2'), url('../fonts/caveat-v17-latin-700.woff') format('woff'), url('../fonts/caveat-v17-latin-700.ttf') format('truetype'), url('../fonts/caveat-v17-latin-700.svg#Caveat') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    color: #4f4f4e;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
}

#wrapper {
    max-width: 560px;
    margin: 16px auto;
    padding: 14px 42px 6px 43px;
    background: url('../images/background.jpg') no-repeat;
    overflow: hidden;
}

header {
    padding: 0 10px 10px;
    display: flex;
    justify-content: flex-end;
    position: relative;
    z-index: 1;
}

article {
    position: relative;
    margin: -38px 0 0;
    padding-bottom: 57px;
}

.qrcode {
    position: absolute;
    bottom: 6px;
    right: 16px;
}

span {
    white-space: nowrap;
}

p {
    margin: 0 0 12px;
}

:is(strong, h1) {
    font-weight: 700;
}

h1 {
    margin: 0 0 16px;
    font-size: 27px;
    line-height: 1.1;
    text-align: center;
    color: #CB4A4E;
}

h2 {
    margin: 0 14px 16px 13px;
    font-weight: 400;
    font-size: 17px;
    line-height: 1.3;
    text-align: center;
    font-family: 'Caveat', Arial, sans-serif;
    color: #CB4A4E !important;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #4f4f4e;
    text-decoration: none;
    white-space: nowrap;
}

img {
    max-width: 100%;
}

@media all and (max-width: 558px) {
    #wrapper {
        margin: 0 auto;
        padding: 1rem;
        background: #fff;
    }

    header {
        padding: 0 0 16px;
        justify-content: center;
    }

    article {
        margin-top: 0;
        padding-bottom: 0;
    }

    p {
        hyphens: auto;
        text-wrap: pretty;
    }

    h1 small {
        display: block;
    }

    h2 {
        margin: 10px 0 0;
    }

    br {
        display: none;
    }

    .qrcode {
        position: static;
        display: flex;
        justify-content: center;
    }
}