@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans-v35-latin-regular.eot');
    src: url('../fonts/open-sans-v35-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v35-latin-regular.woff2') format('woff2'), url('../fonts/open-sans-v35-latin-regular.woff') format('woff'), url('../fonts/open-sans-v35-latin-regular.ttf') format('truetype'), url('../fonts/open-sans-v35-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-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');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    color: #000;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 14px;
    line-height: 22px;
    font-weight: 400;
}

#wrapper {
    max-width: 872px;
    margin: 1rem auto;
    border: 1px solid #000;
    background-color: #fff;
}

header {
    background: url('../images/background.jpg') no-repeat;
    height: 551px;
    position: relative;
}

.qr-code {
    position: absolute;
    bottom: 3px;
    right: 26px;
}

.title {
    position: absolute;
    bottom: 18px;
    left: 40px
}

article {
    padding: 16px 40px;
}

.flex-box {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #cf6b8c;
    padding-bottom: 15px;
    margin-bottom: 10px;
}

.left {
    width: 370px;
}

.right {
    width: 388px;
    border-left: 1px solid #cf6b8c;
    padding: 0 0 0 17px;
}

.flex {
    display: flex;
    justify-content: space-between;
}

.flex .right {
    border-left: none;
}

footer {
    padding: 40px;
    background: #442040;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer p {
    color: #fff;
}

p:not(:first-of-type) {
    margin-top: 10px;
}

h1 {
    font-size: 43px;
    line-height: 1.3;
    margin: 0;
    color: #fff;
}

h1 span {
    display: block;
    font-size: 23px;
    font-weight: 400;
    margin-top: 15px;
}

h2 {
    font-size: 16px;
    line-height: 24px;
    color: #cf6b8c;
    padding: 5px 0 0;
}

h3 {
    font-size: 19px;
    line-height: 22px;
    margin-top: 16px;
    color: #cf6b8c;
}

ul {
    list-style: none
}

ul li {
    padding-left: 12px;
    margin-top: 5px;
}

li:before {
    content: "\2022";
    color: #000;
    float: left;
    font-size: 12px;
    text-indent: -12px;
}

img {
    max-width: 100%;
    display: block;
}

:is(h1, h2, h3, strong) {
    font-weight: 700;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}

@media only screen and (max-width:872px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    header {
        height: auto;
    }

    .banner {
        position: relative;
    }

    .qr-code {
        bottom: 3%;
        right: 3%
    }

    header {
        background: none
    }

    .title {
        position: static;
        background: #cf6b8c;
        padding: 16px
    }

    h1 {
        text-align: center;
    }

    :is(article, footer) {
        padding: 16px
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty
    }

    :is(p, ul) span {
        white-space: nowrap;
    }

    br:not(footer br) {
        display: none;
    }

    :is(.left, .right) {
        width: 47%
    }
}

@media only screen and (max-width:750px) {
    :is(.flex, .flex-box) {
        display: block;
    }

    :is(.left, .right) {
        width: auto;
    }

    footer {
        flex-direction: column;
        align-items: center;
        gap: 16px
    }

    footer p {
        text-align: center;
    }

    .right {
        border-left: none;
        padding-left: 0
    }

    .qr-code {
        width: 22%;
    }
}

@media only screen and (max-width:540px) {
    body {
        font-size: 13px
    }

    h1 {
        font-size: 35px
    }
}