@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-regular.eot');
    src: local(''), 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-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v30-latin-700.eot');
    src: local(''), 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');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    color: #000;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    line-height: 21px;
    font-weight: 400;
}

#wrapper {
    max-width: 589px;
    margin: 1rem auto;
    border: 1px solid #000;
    background-color: #f1efea;
}

article {
    padding: 24px 32px 40px;
    position: relative;
}

.flex {
    position: absolute;
    bottom: -18px;
    left: 30px;
    z-index: 9999;
    display: flex;
    gap: 13px
}

.flex p {
    margin-top: 0 !important;
    background: #fff;
    padding: 9px 20px;
    text-align: center;
    color: #5e5e5e;
    border-radius: 20px
}

.color {
    color: #e21119
}

footer {
    padding: 35px 32px;
    background: #ebe6e0;
    position: relative;
}

footer p {
    font-size: 15px;
}

.qr-code {
    position: absolute;
    bottom: 30px;
    right: 32px;
}

p:not(:first-of-type) {
    margin-top: 10px;
}

h1 {
    font-size: 26px;
    line-height: 1.1;
    margin: 20px 0 0;
}

h1 span {
    display: block;
    color: #5e5e5e
}

li:before {
    content: "\2022";
    color: #000;
    float: left;
    font-size: 23px;
    text-indent: -19px;
}

img {
    max-width: 100%;
    display: block;
}

:is(h1, strong) {
    font-weight: 700;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    text-decoration: none;
}

@media only screen and (max-width:589px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    :is(article, footer) {
        padding: 16px
    }

    :is(.flex, .qr-code) {
        position: static;
    }

    .flex {
        margin-top: 20px
    }

    .qr-code {
        margin-top: 20px;
        display: flex;
        justify-content: center;
    }

    p {
        hyphens: auto;
        text-wrap: pretty
    }

    p span {
        white-space: nowrap;
    }

    br:not(footer br) {
        display: none;
    }
}

@media only screen and (max-width:399px) {
    .flex {
        flex-direction: column;
        align-items: center;
    }
}