@font-face {
    font-display: swap;
    font-family: 'PT Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/pt-sans-v17-latin-regular.eot');
    src: url('../fonts/pt-sans-v17-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/pt-sans-v17-latin-regular.woff2') format('woff2'), url('../fonts/pt-sans-v17-latin-regular.woff') format('woff'), url('../fonts/pt-sans-v17-latin-regular.ttf') format('truetype'), url('../fonts/pt-sans-v17-latin-regular.svg#PTSans') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'PT Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/pt-sans-v17-latin-700.eot');
    src: url('../fonts/pt-sans-v17-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/pt-sans-v17-latin-700.woff2') format('woff2'), url('../fonts/pt-sans-v17-latin-700.woff') format('woff'), url('../fonts/pt-sans-v17-latin-700.ttf') format('truetype'), url('../fonts/pt-sans-v17-latin-700.svg#PTSans') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Roboto Slab';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-slab-v24-latin-regular.woff2') format('woff2'), url('../fonts/roboto-slab-v24-latin-regular.woff') format('woff');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    color: #221e1f;
    font-family: 'PT Sans', Arial, sans-serif;
    font-size: 18px;
    line-height: 22px;
    font-weight: 400;
}

#wrapper {
    max-width: 870px;
    margin: 1rem auto;
    border: 2px solid #00aeef;
    background-color: #fff;
}

header {
    position: relative;
}

figure {
    position: absolute;
    top: 25px;
    right: 25px;
}

figure {
    position: absolute;
}

.title {
    border-right: 400px solid #00aeef;
    padding: 30px;
}

article {
    padding: 35px 30px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.left {
    width: 500px;
}

.left p strong {
    color: #00aeef;
}

.left p:last-of-type {
    font-weight: 700;
}

.right {
    width: 260px;
}

footer {
    padding: 20px 30px;
    background: #25b0ed;
    position: relative;
}

.qr-code {
    position: absolute;
    bottom: 21px;
    right: 25px;
}

footer :is(h3, p, a) {
    color: #fff !important
}

p:not(:first-of-type) {
    margin-top: 25px;
}

h1 {
    font-size: 46px;
    line-height: 1.1;
    margin: 15px 0 0;
    color: #00aeef;
}

h1 span {
    color: #221e1f;
    font-size: 18px;
    font-weight: 400
}

h2 {
    font-size: 31px;
    line-height: 1.2;
    margin-top: 31px;
}

h2:first-of-type {
    font-weight: 400;
    margin-top: 0;
    font-size: 26px;
}

h3 {
    font-size: 28px;
    line-height: 1.1;
    padding-bottom: 5px;
}

ul {
    list-style: none;
    margin-top: 10px;
    font-style: italic;
    font-family: 'Roboto Slab', Arial, sans-serif;
    font-size: 17px;
    line-height: 23px;
}

ul li {
    padding-left: 12px;
}

li:before {
    content: "\2022";
    color: #ed008c;
    float: left;
    font-size: 23px;
    text-indent: -12px;
    font-style: normal;
}

img {
    max-width: 100%;
    display: block;
}

:is(h1, h2, h3, strong) {
    font-weight: 700;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #221e1f;
    text-decoration: none;
    white-space: nowrap;
}

@media only screen and (max-width:870px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty
    }

    :is(p, ul) span {
        white-space: nowrap;
    }

    :is(.title, article, footer, figure) {
        padding: 16px
    }

    .title {
        border-right: none;
    }

    figure {
        position: static;
        background: #25b0ed;
        display: flex;
        justify-content: center
    }

    .left {
        width: 60%;
    }

    .left br {
        display: none
    }
    h1{font-size: 39px;}
}

@media only screen and (max-width:730px) {
    body {
        font-size: 16px;
        line-height: 21px;
    }

    article {
        display: block;
    }

    :is(.left, .right) {
        width: auto !important
    }

    .right {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 30px
    }

    .qr-code {
        position: static;
        display: flex;
        justify-content: center;
        margin-top: 16px
    }

    footer :is(h3, p) {
        text-align: center;
    }
}