@font-face {
    font-display: swap;
    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-display: swap;
    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');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    color: #000;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    line-height: 22px;
    font-weight: 400;
}

#wrapper {
    max-width: 520px;
    margin: 16px auto;
    border: 1px solid #000;
    position: relative;
    background-color: #fff;
}

article {
    padding: 0 16px 0 0;
    position: absolute;
    left: 16px;
    top: 32px;
    width: calc(100% - 16px);
}

footer {
    padding: 40px 16px 22px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: #db2128;
}

footer p {
    text-align: center;
    color: #fff;
}

.qrcode {
    position: absolute;
    top: -88px;
    right: 16px;
    z-index: 9;
}

.font {
    font-size: 17px;
}

:is(strong, h1, h2) {
    font-weight: 700;
}

h1 {
    font-size: 1.59375rem;
    line-height: 1.2;
    background: rgba(255, 255, 255, 0.9);
    padding: 26px 16px;
    border-radius: 32px;
    text-align: center;
    color: #db2128;
}

h1 span {
    font-size: 16px;
    white-space: nowrap;
}

h2 {
    margin: 0 0 96px;
    font-size: 56px;
    line-height: 1;
    color: #0066b3;
    text-align: center;
    transform: rotate(-5deg);
    text-decoration: underline;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

@media all and (max-width: 519px) {
    #wrapper {
        margin: 0 auto;
        border: none;
    }

    h2 {
        font-size: 12vw;
        margin: 0 0 60px;
    }
}

@media all and (max-width: 374px) {
    h2 {
        margin: 0 0 30px;
    }
}