@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-regular.eot');
    src: url('../fonts/roboto-v30-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-regular.woff2') format('woff2'), url('../fonts/roboto-v30-latin-regular.woff') format('woff'), url('../fonts/roboto-v30-latin-regular.ttf') format('truetype'), url('../fonts/roboto-v30-latin-regular.svg#Roboto') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v30-latin-700.eot');
    src: url('../fonts/roboto-v30-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-700.woff2') format('woff2'), url('../fonts/roboto-v30-latin-700.woff') format('woff'), url('../fonts/roboto-v30-latin-700.ttf') format('truetype'), url('../fonts/roboto-v30-latin-700.svg#Roboto') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    color: #FFF;
    line-height: 1.25rem;
    font-size: 15px;
    font-weight: 400;
}

#wrapper {
    position: relative;
    max-width: 950px;
    margin: 1rem auto;
    border: 1px solid #CBCBCB;
    overflow: hidden;
    background-color: #0B4EA2;
}

header {
    padding: 70px 220px 0 70px;
    background-size: 100% 50px;
}

header p {
    font-size: 17px;
    line-height: 22px;
    letter-spacing: 1px;
    margin: 10px 0 0;
}

article {
    padding: 0 216px 54px 70px;
    background: url(../images/background.png) no-repeat top right;
    position: relative;
}

footer {
    background: #FFF;
    padding: 47px 220px 10px 70px;
    position: relative;
}

footer :is(p, ul, h4, h5) {
    color: #0B4EA2;
}

footer p {
    font-size: 16px;
}

.background {
    background: #7AC142;
    padding: 10px 70px 32px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.background p {
    margin: 0;
    font-size: 16px;
}

.background span {
    font-size: 20px;
    line-height: 0;
    position: relative;
    top: 10px;
}

:is(strong, h1, h3, h4, h5) {
    font-weight: 700;
}

h1 {
    margin: 2rem 0;
    font-size: 54px;
    line-height: 1.1;
}

h1 span {
    font-weight: normal;
    display: block;
    font-size: 26px;
}

h1 small {
    font-size: 26px;
    font-weight: normal;
}

h2 {
    font-size: 35px;
    font-weight: 400;
    margin: 1rem 0 40px -70px;
    line-height: 38px;
    background: #7AC142;
    width: 496px;
    padding: 10px 20px 10px 70px;
}

h2 + p {
    font-size: 20px;
    line-height: 1.3;
}

h3 {
    font-size: 18px;
    margin: 1rem 0;
    line-height: 1.2;
}

h4 {
    font-size: 20px;
    margin: 1rem 0;
    line-height: 1.2;
}

h4 span {
    color: #7AC142;
}

h5 {
    font-size: 1rem;
    line-height: 1.125rem;
    position: absolute;
    bottom: 26px;
    right: 55px;
}

p {
    margin: 0 0 1rem;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #0B4EA2;
    white-space: nowrap;
    text-decoration: none;
}

img {
    max-width: 100%;
}

ul {
    margin: 0;
    list-style: none;
}

article ul li {
    padding-left: 1.5rem;
    margin: 0 0 8px;
    background: url(../images/iconlist-a.png) no-repeat 0 3px;
}

footer ul li {
    padding-left: 1.5rem;
    margin: 0 0 8px;
    background: url(../images/iconlist.png) no-repeat 0 3px;
}

.flexbox {
    display: flex;
    justify-content: space-between;
}

.flexbox div {
    width: 49%;
}

.qrcode {
    background: #7AC142;
    display: flex;
    padding: 10px 1rem;
    gap: 1rem;
    bottom: -32px;
    right: 0;
    width: 556px;
    align-items: center;
    position: absolute;
    z-index: 9;
    flex-wrap: wrap;
}

.qrcode p {
    font-weight: bold;
    margin: 0;
    font-size: 18px;
    letter-spacing: 1px;
    line-height: 24px;
}

.images {
    position: absolute;
    top: -27px;
    right: 58px;
}

@media all and (max-width:949px) {
    #wrapper {
        margin: 0 auto;
        border: none;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }

    ul br {
        display: none;
    }

    p span {
        white-space: nowrap;
    }

    footer {
        padding: 47px 50px 10px;
    }
}

@media all and (max-width:767px) {
    header {
        padding: 37px 1rem 1rem;
        background-size: 100% 16px;
    }

    article {
        padding: 1rem 1rem 0;
        background: url(../images/background.png) no-repeat bottom right;
    }

    footer {
        padding: 1rem;
    }

    .flexbox {
        display: block;
    }

    .background {
        padding: 16px;
        justify-content: center;
        gap: 8px 16px;
    }

    :is(.qrcode, .flexbox div) {
        width: 100%;
    }

    .qrcode p {
        flex: 1 1 0;
    }

    h1 {
        font-size: 44px;
    }

    h2 {
        display: inline-block;
        width: auto;
    }

    :is(.qrcode, .images, h5) {
        position: static;
    }

    .qrcode br {
        display: none;
    }
}

@media all and (max-width:374px) {
    .qrcode {
        flex-direction: column;
    }

    h1 {
        font-size: 34px;
    }

    h2 {
        font-size: 24px;
    }
}