@font-face {
    font-display: swap;
    font-family: 'Hind';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/hind-v16-latin-regular.eot');
    src: url('../fonts/hind-v16-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/hind-v16-latin-regular.woff2') format('woff2'), url('../fonts/hind-v16-latin-regular.woff') format('woff'), url('../fonts/hind-v16-latin-regular.ttf') format('truetype'), url('../fonts/hind-v16-latin-regular.svg#Hind') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Hind';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/hind-v16-latin-700.eot');
    src: url('../fonts/hind-v16-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/hind-v16-latin-700.woff2') format('woff2'), url('../fonts/hind-v16-latin-700.woff') format('woff'), url('../fonts/hind-v16-latin-700.ttf') format('truetype'), url('../fonts/hind-v16-latin-700.svg#Hind') format('svg');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    color: #000;
    font-family: 'Hind', Arial, sans-serif;
    font-size: 17px;
    line-height: 22px;
    font-weight: 400;
}

#wrapper {
    max-width: 520px;
    margin: 1rem auto;
    border: 4px solid #357bbf;
    background-color: #fff;
    padding: 20px 20px 10px;
    position: relative;
}

header {
    position: absolute;
    top: 20px;
    right: 16px;
}

.qr-code {
    position: absolute;
    bottom: 72px;
    right: 35px;
}

footer {
    padding: 10px 0 0;
}

p:not(:first-of-type) {
    margin-top: 10px;
}

h1 {
    font-size: 28px;
    line-height: 1.1;
    margin: 10px 0 0;
}

h1+p {
    margin-top: 0 !important;
}

img {
    max-width: 100%;
    display: block;
}

:is(h1, strong) {
    font-weight: 700;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    text-decoration: none;
    white-space: nowrap;
}

.link {
    text-decoration: underline !important;
    color: #357bbf !important;
}

@media only screen and (max-width:520px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    p {
        hyphens: auto;
        text-wrap: pretty
    }

    p span {
        white-space: nowrap;
    }
}

@media only screen and (max-width:480px) {
    br:not(.br) {
        display: none;
    }

    :is(.qr-code, header) {
        position: static;
        display: flex;
        justify-content: center;
        padding: 10px 0;
    }
}