@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans-v34-latin-regular.eot');
    src: local(''), url('../fonts/open-sans-v34-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v34-latin-regular.woff2') format('woff2'), url('../fonts/open-sans-v34-latin-regular.woff') format('woff'), url('../fonts/open-sans-v34-latin-regular.ttf') format('truetype'), url('../fonts/open-sans-v34-latin-regular.svg#OpenSans') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/open-sans-v34-latin-700.eot');
    src: local(''), url('../fonts/open-sans-v34-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v34-latin-700.woff2') format('woff2'), url('../fonts/open-sans-v34-latin-700.woff') format('woff'), url('../fonts/open-sans-v34-latin-700.ttf') format('truetype'), url('../fonts/open-sans-v34-latin-700.svg#OpenSans') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Gochi Hand';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/gochi-hand-v24-latin-regular.eot');
    src: url('../fonts/gochi-hand-v24-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/gochi-hand-v24-latin-regular.woff2') format('woff2'), url('../fonts/gochi-hand-v24-latin-regular.woff') format('woff'), url('../fonts/gochi-hand-v24-latin-regular.ttf') format('truetype'), url('../fonts/gochi-hand-v24-latin-regular.svg#GochiHand') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    color: #000;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 16px;
    line-height: 22px;
    font-weight: 400;
}

#wrapper {
    max-width: 700px;
    margin: 16px auto;
    border: 1px solid #000;
    background: url('../images/background.jpg') no-repeat;
    position: relative;
}

header {
    opacity: 0;
}

article {
    padding: 0 43px;
    margin: -33% 0 0;
    position: relative;
}

footer {
    padding: 0 43px 25px;
    position: relative;
}

footer p {
    font-size: 0.8125rem;
    line-height: 1.1875rem;
}

.logo {
    position: absolute;
    bottom: 20px;
    right: 216px;
    z-index: 6;
}

.qrcode {
    position: absolute;
    bottom: 54px;
    right: 34px;
    z-index: 1;
}

:is(strong, h2) {
    font-weight: 700;
}

h1 {
    margin: 0 0 128px 20px;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    position: relative;
}

h1:before {
    content: '\2022';
    position: absolute;
    font-size: 22px;
    text-indent: -20px;
}

h2 {
    margin: 0 0 6px;
    font-size: 19px;
    line-height: 24px;
}

h3 {
    font-weight: 400;
    font-size: 21px;
    line-height: 28px;
    font-family: "Gochi Hand", cursive;
    color: #b71a3f;
    text-shadow: 0 0 1px #b71a3f;
}

: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: 699px) {
    #wrapper {
        margin: 0 auto;
        border: none;
        background: none;
    }

    header {
        opacity: 1;
    }

    article {
        padding: 0 5%;
    }

    footer {
        padding: 0 5% 16px;
    }

    .qrcode {
        right: 16px;
        bottom: 46px;
    }

    .logo {
        right: auto;
        bottom: 16px;
        left: 260px;
    }

    p {
        hyphens: auto;
        text-wrap: pretty;
    }
}

@media all and (max-width: 600px) {
    article {
        margin: 0;
        padding: 16px 16px 0;
    }

    footer {
        padding: 0 16px 16px;
    }

    footer p {
        font-size: 14px;
        line-height: 20px;
    }

    :is(.logo, .qrcode) {
        position: static;
        display: flex;
        justify-content: center;
        margin: 16px 0 0;
    }

    :is(h3, footer p) {
        text-align: center;
    }

    h1 {
        margin-bottom: 20px;
    }
}