@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/open-sans-v35-latin-500.eot');
    src: url('../fonts/open-sans-v35-latin-500.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v35-latin-500.woff2') format('woff2'), url('../fonts/open-sans-v35-latin-500.woff') format('woff'), url('../fonts/open-sans-v35-latin-500.ttf') format('truetype'), url('../fonts/open-sans-v35-latin-500.svg#OpenSans') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/open-sans-v35-latin-700.eot');
    src: url('../fonts/open-sans-v35-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v35-latin-700.woff2') format('woff2'), url('../fonts/open-sans-v35-latin-700.woff') format('woff'), url('../fonts/open-sans-v35-latin-700.ttf') format('truetype'), url('../fonts/open-sans-v35-latin-700.svg#OpenSans') format('svg');
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    line-height: 18px;
    font-size: 13px;
    font-family: 'Open Sans', Arial, sans-serif;
    color: #FFF;
    font-weight: 500;
}

#wrapper {
    position: relative;
    max-width: 1120px;
    margin: 1rem auto;
    border: 1px solid #000;
    overflow: hidden;
    background: #fff url(../images/background.jpg) no-repeat;
    height: 576px;
    padding: 32px 32px 0 576px;
}

header {
    margin: 16px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

article {
    position: relative;
    padding: 0 42px;
}

.flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin: 20px 19px 0;
}

.qrcode {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1px;
    margin-top: 34px;
}

.qrcode p {
    text-align: right;
}

footer img {
    display: none;
}

:is(strong, h2) {
    font-weight: 700;
}

:is(.center, h2) {
    text-align: center;
}

h1 {
    margin: 26px 20px 0;
    font-size: 16px;
    line-height: 1.5;
    border: 1px solid #FFF;
    border-radius: 4px 4px 0 0;
    padding: 7px 16px;
    font-weight: 400;
}

h1 span {
    font-size: 15px;
}

h2 {
    font-size: 20px;
    margin: 16px 0;
    line-height: 27px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #FFF;
    white-space: nowrap;
    text-decoration: none;
}

img {
    max-width: 100%;
}

@media all and (max-width: 1119px) {
    #wrapper {
        margin: 0 auto;
        border: none;
    }

    article {
        padding: 0 0 0 20px;
    }

    p {
        hyphens: auto;
        text-wrap: pretty;
    }

    span {
        white-space: nowrap;
    }
}

@media all and (max-width:1070px) {
    #wrapper {
        padding-right: 16px;
    }
}

@media all and (max-width:1011px) {
    #wrapper {
        background: #313234;
        height: auto;
        padding: 1px 16px 16px 48%;
    }

    h1 {
        text-align: center;
    }

    footer img {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 48%;
    }
}

@media all and (max-width:930px) {
    body {
        font-size: 16px;
        line-height: 1.5;
    }

    #wrapper {
        padding: 16px;
    }

    article {
        padding: 0;
    }

    footer {
        display: flex;
        justify-content: center;
        padding: 20px 0 0;
    }

    footer img {
        width: 100%;
        position: static;
    }

    h1 {
        font-size: 22px;
    }

    :is(h1+p, h1) {
        padding: 10px 16px;
    }

    h2 br {
        display: none;
    }
}

@media all and (max-width:500px) {
    .flex {
        flex-direction: column;
        gap: 16px;
    }

    .flex p {
        text-align: center !important;
    }

    :is(.qrcode, .flex) {
        align-items: center;
    }

    h1 {
        font-size: 19px
    }
}