@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: 1.5;
    font-weight: 400;
}

#wrapper {
    max-width: 540px;
    margin: 16px auto;
    border: 3px solid #000;
    padding: 26px 16px 10px;
    background-color: #fff;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row-reverse;
    gap: 16px;
}

footer {
    position: relative;
}

.qrcode {
    position: absolute;
    bottom: -5px;
    right: 40px;
    z-index: 99;
}

:is(strong, h1) {
    font-weight: 700;
}

h1 {
    margin: 16px 0 24px;
    font-size: 20px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    text-decoration: none;
    white-space: nowrap;
}

img {
    max-width: 100%;
}

@media all and (max-width: 538px) {
    #wrapper {
        margin: 0 auto;
        padding: 1rem;
        border: none;
    }

    header {
        flex-direction: column;
    }

    p {
        hyphens: auto;
        text-wrap: pretty;
    }

    .qrcode {
        position: static;
        display: flex;
        margin: 16px 0 0;
        justify-content: center;
    }

    h1 {
        margin: 10px 0;
    }

    br {
        display: none;
    }

    span {
        white-space: nowrap;
    }
}