@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');
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    font-size: 16px;
}

body {
    color: #41454a;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 20px;
    line-height: 1.5em;
    font-weight: 400;
}

#wrapper {
    max-width: 660px;
    margin: 16px auto;
    border: 1px solid #41454a;
    background-color: #fff;
    position: relative;
}

header {
    padding: 30px 18px 20px 157px;
    background: #f37c27;
    position: relative;
}

.logo {
    position: absolute;
    top: 22px;
    left: 30px;
}

footer {
    padding: 8px 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    background: #f37c27;
}

footer div {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

footer div p {
    font-size: 11px;
    line-height: 1.4;
    color: #fff;
}

footer p a {
    color: #fff !important;
}

:is(strong, h1, h2, h3, h4) {
    font-weight: 700;
}

h1 {
    margin: 35px 50px 11px;
    font-weight: 700;
    font-size: 33px;
    line-height: 41px;
}

h1 span {
    display: block;
    color: #f37c27;
}

h2 {
    margin: 16px 0 6px;
    font-weight: 700;
    font-size: 28px;
    line-height: 28px;
    color: #FFF;
    background: #f37c27;
    padding: 10px 20px;
    width: 275px;
}

h3 {
    margin: 16px 0 6px;
    font-weight: 700;
    font-size: 21px;
    line-height: 28px;
}

h4 {
    font-weight: 700;
    font-size: 35px;
    line-height: 42px;
    color: #fff;
}

h4 small {
    display: block;
    font-weight: 700;
    font-size: 22px;
    line-height: 26px;
    color: #41454a;
}

h3 {
    font-weight: 700;
    font-size: 20px;
    line-height: 35px;
    color: #f37c27;
}

ul {
    list-style: none;
    margin: 0 0 53px 20px;
}

ul li {
    padding-left: 22px;
    margin: 0 0 3px;
}

li:before {
    content: '\2022';
    float: left;
    font-size: 28px;
    text-indent: -22px;
    margin: 0px 0 0;
    font-family: Arial, sans-serif;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #41454a;
    text-decoration: none;
}

.content {
    padding: 0 40px 16px;
    position: relative;
}

.qrcode {
    position: absolute;
    bottom: 21px;
    right: 40px;
}

@media all and (max-width: 659px) {
    #wrapper {
        margin: 0;
        border: none;
    }

    header {
        padding: 16px 16px 8px 140px;
    }

    .logo {
        top: 16px;
        left: 16px;
    }

    .qrcode {
        padding: 16px;
        position: static;
    }

    .content {
        padding: 0 16px 16px;
    }

    h1 {
        margin: 1rem;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }

    :is(a, span) {
        white-space: nowrap;
    }

    br:not(footer br) {
        display: none;
    }
}

@media all and (max-width: 660px) {
    header {
        display: flex;
        align-items: center;
        padding: 16px;
        gap: 16px;
    }

    .logo {
        position: static;
    }

    .flex {
        padding: 16px;
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .box {
        width: 100%;
        padding: 0;
    }
}

@media all and (max-width: 590px) {
    header {
        flex-direction: column;
    }

    .qrcode {
        flex-direction: column;
        align-items: center;
    }

    .qrcode div {
        width: 100%;
    }

    footer {
        flex-direction: column;
    }

    h4 {
        text-align: center;
    }
}