@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: #231f20;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    line-height: 22px;
    font-weight: 400;
}

#wrapper {
    max-width: 710px;
    margin: 16px auto;
    border: 2px solid #231f20;
    padding: 10px 12px;
    background-color: #fff;
    position: relative;
}

header {
    display: flex;
    flex-direction: row-reverse;
    gap: 12px;
    justify-content: space-between;
}

header img {
    max-width: 239px;
}

.flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    margin: 2px -12px 25px;
}

.flex img {
    max-width: 323px;
}

.flex p {
    margin: 0 16px 10px 0;
}

.qrcode {
    position: absolute;
    bottom: 16px;
    right: 16px;
}

footer {
    padding: 0;
}

footer img {
    max-width: 200px;
}

.color {
    color: #97c93c;
}

.margin {
    margin: 0 0 16px;
}

p {
    margin: 0 0 12px;
}

:is(strong, h1) {
    font-weight: 700;
}

h1 {
    font-size: 25px;
    line-height: 1.25;
    background: #97c93c;
    color: #fff;
    padding: 15px 12px;
    margin: 15px 0 0;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #231f20;
    text-decoration: none;
    white-space: nowrap;
}

.link {
    white-space: normal !important;
}

img {
    max-width: 100%;
}

@media all and (max-width: 710px) {
    #wrapper {
        margin: 0 auto;
        padding: 1rem;
        border: none;
    }

    .flex {
        margin: 2px -16px 25px;
    }

    .flex p {
        margin: 0 16px 12px;
    }

    footer {
        gap: 40px;
    }

    footer span {
        white-space: nowrap;
    }

    h1 {
        padding: 12px 16px;
        margin: 16px 0 0;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }

    br {
        display: none;
    }

    :is(header, footer) {
        gap: 16px;
    }

    :is(.flex, header, footer) {
        flex-direction: column;
        align-items: center;
    }

    .qrcode {
        position: static;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        margin-top: 16px;
    }
}
