@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');
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    color: #000;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 15px;
    line-height: 21px;
    font-weight: 400;
}

#wrapper {
    max-width: 1000px;
    margin: 16px auto;
    border: 1px solid #000;
    background-color: #fff;
}

header {
    position: relative;
}

article {
    padding: 16px 26px 5px;
}

footer {
    padding: 0 40px 25px;
}

footer p {
    margin: 6px 0 10px;
    color: #900027;
}

.qrcode {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.logo {
    display: flex;
    justify-content: flex-end;
    margin: -30px 0 0;
}

.margin-bottom{
    margin-bottom: 0 !important;
}

p {
    margin: 0 0 16px;
}

:is(strong, h2) {
    font-weight: 700;
}

h1 {
    font-weight: 400;
    font-size: 33px;
    line-height: 1.2;
    background: url('../images/background.jpg') no-repeat;
    color: #fff;
    position: absolute;
    bottom: 0px;
    left: 0;
    z-index: 1;
    padding: 43px 16px 45px 55px;
    width: 836px;
}

h2 {
    font-size: 16px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #900027;
    text-decoration: none;
    white-space: nowrap;
}

ul {
    padding: 0 0 16px;
    list-style: none;
}

ul li {
    padding-left: 25px;
}

li:before {
    content: '\25EF';
    float: left;
    font-size: 8px;
    text-indent: -25px;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

span {
    white-space: nowrap;
}

.jus {
    text-align: justify;
}

@media all and (max-width: 999px) {
    #wrapper {
        margin: 0 auto;
        border: none;
    }

    article {
        padding: 16px;
    }

    footer {
        padding: 0 16px 16px;
    }

    .logo {
        margin: 0;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }

    h1 {
        padding: 35px 16px;
    }

    span {
        white-space: nowrap;
    }

    .jus {
        text-align: left;
    }
}

@media all and (max-width: 838px) {
    h1 {
        width: auto;
        padding: 20px 16px;
        background-size: cover;
        font-size: 32px;
        line-height: 1.25;
    }

    h1 br {
        display: none;
    }

    .qrcode {
        align-items: center;
    }

    .qrcode img {
        max-width: 108px;
    }
}

@media all and (max-width: 666px) {
    .qrcode {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .qrcode p {
        text-align: center;
    }

    .logo {
        justify-content: center;
        margin: 10px 0 0;
    }
}

@media all and (max-width: 480px) {
    h1 {
        position: static;
    }
}

@media all and (max-width: 374px) {
    h1 {
        font-size: 28px;
    }
}