:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

@font-face {
    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-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');
}

html {
    min-height: 100%;
}

body {
    color: #fff;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;
}

#wrapper {
    max-width: 660px;
    margin: 16px auto;
    border: 1px solid #000;
    padding: 0;
    background: #005b3e;
    position: relative;
}

header {
    position: absolute;
    z-index: 3;
    left: 0;
    top: 0;
}

article {
    padding: 0 0 0 223px;
    background: #59a796;
    background: -moz-linear-gradient(top, #a2cfc5 0%, #59a796 50%, #06826d 100%);
    background: -webkit-linear-gradient(top, #a2cfc5 0%, #59a796 50%, #06826d 100%);
    background: linear-gradient(to bottom, #a2cfc5 0%, #59a796 50%, #06826d 100%);
}

footer {
    padding: 16px 40px 16px 20px;
    border-top: 1px solid #fff;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
}

strong {
    font-weight: 700;
}

h1 {
    padding: 13px 16px;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    border-bottom: 1px solid #fff;
    text-align: center;
}

h2 {
    margin: 0 0 7px;
    padding: 15px 16px 0;
    font-size: 24px;
    line-height: 26px;
    text-align: center;
    font-weight: 400;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #fff;
    text-decoration: none;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

footer p {
    text-align: center;
}

.qrcode {
    display: flex;
    justify-content: center;
    margin-top: 9px;
}

.logo {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

@media all and (max-width: 659px) {
    #wrapper {
        margin: 0;
        border: none;
    }

    header {
        height: calc(100% - 159px);
        overflow: hidden;
    }

    footer {
        padding: 16px;
    }
}

@media all and (max-width: 600px) {
    header {
        height: calc(100% - 179px);
    }
}

@media all and (max-width: 565px) {
    header {
        position: static;
        height: auto;
        display: none;
    }

    article {
        padding: 0;
    }

    h1 {
        border-bottom: 0;
    }

    .image {
        display: flex;
        justify-content: center;
    }

    footer {
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }
}