@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');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    color: #000;
    line-height: 1.25rem;
    font-size: 1rem;
    font-weight: 400;
}

#wrapper {
    position: relative;
    max-width: 510px;
    margin: 1rem auto;
    border: 1px solid #ffc423;
    overflow: hidden;
    background-color: #fff;
    padding: 1rem 0 0;
}

header {
    padding: 0 1rem 1rem;
    display: flex;
    justify-content: flex-end;
}

article {
    padding: 0 1rem;
    position: relative;
}

footer {
    padding: 18px 1rem;
    background: #ffc423;
}

:is(strong, h1, h3) {
    font-weight: 700;
}

h1 {
    margin: 1rem 0;
    font-size: 28px;
    line-height: 33px;
    text-align: center;
    color: #95979a;
}

h1 span {
    font-weight: normal;
    display: block;
    font-size: 18px;
}

h2 {
    font-size: 22px;
    width: 200px;
    margin: 1rem 0 1rem -1rem;
    line-height: 24px;
    padding: 10px 1rem;
    background: #ffc423;
    font-weight: normal;
}

h3 {
    font-size: 1rem;
    line-height: 1.125rem;
    text-align: right;
    color: #FFF;
}

p {
    margin: 0 0 1rem;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    white-space: nowrap;
    text-decoration: none;
}

img {
    max-width: 100%;
}

.qrcode {
    position: absolute;
    bottom: 0;
    right: 1rem;
}

@media all and (max-width:509px) {
    #wrapper {
        margin: 0 auto;
        border: none;
    }

    :is(p, h1) {
        hyphens: auto;
        text-wrap: pretty;
    }

    .qrcode {
        position: static;
    }

    br:not(footer br) {
        display: none;
    }
}