@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans-v36-latin-regular.eot');
    src: url('../fonts/open-sans-v36-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v36-latin-regular.woff2') format('woff2'), url('../fonts/open-sans-v36-latin-regular.woff') format('woff'), url('../fonts/open-sans-v36-latin-regular.ttf') format('truetype'), url('../fonts/open-sans-v36-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-v36-latin-700.eot');
    src: url('../fonts/open-sans-v36-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v36-latin-700.woff2') format('woff2'), url('../fonts/open-sans-v36-latin-700.woff') format('woff'), url('../fonts/open-sans-v36-latin-700.ttf') format('truetype'), url('../fonts/open-sans-v36-latin-700.svg#OpenSans') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    color: #48669e;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 14px;
    line-height: 16px;
}

#wrapper {
    max-width: 720px;
    margin: 16px auto;
    border: 1px solid #cbcbcb;
    background: url('../images/background.jpg') no-repeat;
    overflow: hidden;
}

header {
    padding: 16px 25px;
}

article {
    padding: 5px 16px 0 376px;
    position: relative;
}

.banner>img {
    display: none;
}

.qrcode {
    display: flex;
    align-items: flex-start;
    position: absolute;
    bottom: -44px;
    left: 16px;
    z-index: 1;
    width: 330px;
    gap: 16px;
}

.qrcode img {
    max-width: 125px;
}

footer {
    margin: -2px 12px 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 16px 0;
}

.logo p {
    font-size: 20px;
}

footer p {
    font-size: 16px;
    line-height: 1.3;
}

h1 {
    margin: 6px 0;
    font-size: 18px;
    line-height: 23px;
}

h1 span {
    display: block;
    font-size: 14px;
    line-height: 18px;
}

h2 {
    font-size: 52px;
    line-height: 1;
    color: #f9d71e;
    transform: rotate(-3deg);
}

h3 {
    margin: 0 0 0;
    font-size: 16px;
    line-height: 19px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

ul {
    list-style: none;
}

ul li {
    padding-left: 22px;
    position: relative;
}

li:before {
    content: url('../images/icon.jpg');
    position: absolute;
    font-size: 24px;
    text-indent: -26px;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

@media all and (max-width: 718px) {
    #wrapper {
        margin: 0 auto;
        border: none;
        line-height: 23px;
        background: none;
    }

    header {
        background: #48669e;
        padding: 16px;
    }

    article {
        padding: 16px 16px 0;
    }

    .banner {
        background: #c9cee4;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 16px;
        gap: 16px;
        margin: 16px -16px 0;
    }

    .banner>img {
        display: block;
    }

    .qrcode {
        position: static;
        width: auto;
        align-items: center;
    }

    footer {
        background: #f7d71c;
        margin: 0;
        padding: 16px;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }

    article :is(h1, p) {
        text-align: center;
    }

    h2 {
        transform: none;
        text-align: center;
        font-size: 9vw;
    }

    ul li {
        padding-left: 26px;
    }

    li br {
        display: none;
    }
}

@media all and (max-width: 600px) {
    footer {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

@media all and (max-width: 420px) {
    .qrcode {
        flex-direction: column;
    }

    .logo {
        align-items: center;
        gap: 6px 12px;
        justify-content: center;
    }
}