@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');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    color: #606d8f;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    line-height: 22px;
    font-weight: 400;
}

#wrapper {
    max-width: 600px;
    margin: 16px auto;
    border: 1px solid #606d8f;
    background-color: #fff;
}

header {
    padding: 32px 30px 20px;
    background: #606d8f;
}

article {
    padding: 20px 26px 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.qrcode {
    position: relative;
}

.qrcode img {
    max-width: 158px;
}

.qrcode p {
    transform: rotate(-90deg);
    position: absolute;
    left: -115px;
    top: 69px;
    font-size: 98%;
}

footer {
    padding: 0 26px 10px;
    border-bottom: 16px solid #606d8f;
}

footer p {
    text-align: center;
}

h1 {
    font-weight: 400;
    font-size: 24px;
    line-height: 1.5;
    width: 58%;
}

h1 span {
    font-size: 19px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #606d8f;
    text-decoration: none;
    white-space: nowrap;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

@media all and (max-width: 598px) {
    #wrapper {
        margin: 0 auto;
        border: none;
    }

    header {
        padding: 16px;
    }

    article {
        padding: 16px 16px 25px;
    }

    footer {
        padding: 0 16px 12px;
    }

    p {
        hyphens: auto;
        text-wrap: pretty;
    }

    span {
        white-space: nowrap;
    }
}

@media all and (max-width: 546px) {
    article {
        display: block;
    }

    h1 {
        text-align: center;
        width: auto;
        margin: 0 0 16px;
    }

    .qrcode {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }

    .qrcode p {
        position: static;
        transform: none;
    }
}