@font-face {
    font-display: swap;
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/lato-v24-latin-regular.eot');
    src: url('../fonts/lato-v24-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/lato-v24-latin-regular.woff2') format('woff2'), url('../fonts/lato-v24-latin-regular.woff') format('woff'), url('../fonts/lato-v24-latin-regular.ttf') format('truetype'), url('../fonts/lato-v24-latin-regular.svg#Lato') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Lato';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/lato-v24-latin-700.eot');
    src: url('../fonts/lato-v24-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/lato-v24-latin-700.woff2') format('woff2'), url('../fonts/lato-v24-latin-700.woff') format('woff'), url('../fonts/lato-v24-latin-700.ttf') format('truetype'), url('../fonts/lato-v24-latin-700.svg#Lato') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    color: #fff;
    font-family: 'Lato', Arial, sans-serif;
    font-size: 17px;
    line-height: 24px;
    font-weight: 400;
}

#wrapper {
    max-width: 500px;
    margin: 16px auto;
    border: 1px solid #cbcbcb;
    padding: 50px 50px 50px;
    background: #0b9444 url('../images/background.jpg') bottom left no-repeat;
    position: relative;
}

article {
    padding: 46px 0 136px;
}

article p {
    margin: 0 0 14px;
}

footer p {
    position: absolute;
    bottom: 50px;
    left: 50px;
    z-index: 1;
    font-size: 16px;
}

.qrcode {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    justify-content: flex-end;
}

h1 {
    font-weight: 700;
    font-size: 31px;
    line-height: 1.25;
    margin: 0 0 16px;
}

h2 {
    margin: -0.875rem 0 0;
    font-weight: 400;
    font-size: 23px;
    line-height: 27px;
    text-align: center;
}

h2 span {
    display: block;
    font-size: 18px;
    margin: 6px 0 0;
}

h3 {
    margin: 0 0 16px;
    font-weight: 700;
    font-size: 42px;
    line-height: 1.2;
}

: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: 498px) {
    #wrapper {
        margin: 0 auto;
        padding: 1rem;
        border: none;
    }

    article {
        padding: 20px 0 32px;
    }

    article br {
        display: none;
    }

    footer p {
        bottom: 16px;
        left: 16px;
    }

    p {
        hyphens: auto;
        text-wrap: pretty;
    }

    .qrcode {
        justify-content: center;
    }
}

@media all and (max-width: 424px) {
    h3 {
        font-size: 40px;
        line-height: 1.25;
    }

    .qrcode img {
        width: 140px;
    }

    h2 {
        font-size: 20px;
        line-height: 1.3;
    }

    footer p {
        text-align: center;
        position: static;
        margin: 16px 0 0;
    }
}

@media all and (max-width: 374px) {
    .qrcode img {
        width: 112px;
    }

    h2 {
        font-size: 18px;
    }
}