@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-regular.eot');
    src: local(''), 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-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v30-latin-700.eot');
    src: local(''), 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');
}

@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/roboto-v51-latin-300.eot');
    src: url('../fonts/roboto-v51-latin-300.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v51-latin-300.woff2') format('woff2'), url('../fonts/roboto-v51-latin-300.woff') format('woff'), url('../fonts/roboto-v51-latin-300.ttf') format('truetype'), url('../fonts/roboto-v51-latin-300.svg#Roboto') format('svg');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    color: #c40c37;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 15px;
    line-height: 20px;
    font-weight: 300;
}

#wrapper {
    max-width: 518px;
    margin: 1rem auto;
    border: 4px solid #c40c37;
    background-color: #fff;
}

header {
    padding: 0;
}

.logo {
    padding: 12px;
    display: flex;
    justify-content: center;
}

article {
    padding: 16px;
}

article p {
    font-size: 19px;
    line-height: 26px;
}

footer {
    padding: 0 16px 16px;
    position: relative;
}

.text {
    padding-left: 147px;
}

.qr-code {
    position: absolute;
    top: 0;
    left: 16px
}

p:not(:first-of-type) {
    margin-top: 10px;
}

h1 {
    font-size: 21px;
    line-height: 24px;
    margin: 0;
}

h2 {
    font-size: 37px;
    line-height: 1.2;
    padding-bottom: 10px;
}

img {
    max-width: 100%;
    display: block;
}

:is(h1, h2, strong) {
    font-weight: 700;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #c40c37;
    text-decoration: none;
    white-space: nowrap;
}

@media only screen and (max-width:518px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty
    }

    :is(p, ul) span {
        white-space: nowrap;
    }

    br:not(footer br) {
        display: none;
    }

    .qr-code {
        position: static;
        display: flex;
        justify-content: center;
        padding-bottom: 20px;
    }

    .text {
        padding-left: 0;
    }

    .text p {
        text-align: center;
    }
}