@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');
}

@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 900;
    src: url('../fonts/roboto-v30-latin-900.eot');
    src: url('../fonts/roboto-v30-latin-900.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-900.woff2') format('woff2'), url('../fonts/roboto-v30-latin-900.woff') format('woff'), url('../fonts/roboto-v30-latin-900.ttf') format('truetype'), url('../fonts/roboto-v30-latin-900.svg#Roboto') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #17151a;
}

#wrapper {
    margin: 1rem auto;
    max-width: 800px;
    background: #fff;
    border: solid thin #c22f3a;
}

article {
    padding: 16px 25px 0;
}

.red {
    background: #c22f3a;
    padding: 10px 25px;
}

.flex-box {
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.flex-box-content:nth-of-type(1) {
    width: 44%;
}

.flex-box-content:nth-of-type(2) {
    width: 54%;
}

.footer-flex-content {
    /* width: 85%; */
    flex: 1 1 0;
}

.footer-flex-content>p strong {
    font-weight: 900;
    letter-spacing: 1px;
}

.flex {
    margin: 0 0 0 16px;
    display: flex;
    gap: 0 60px;
    flex-wrap: wrap;
}

.flex p {
    margin: 0;
}

.qrcode {
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: center;
}

.qrcode p {
    font-size: 10px;
    line-height: 1.1;
    text-align: center;
    margin: 0;
}

:is(h1, h2, strong) {
    font-weight: 700;
}

h1 {
    font-size: 67px;
    text-align: center;
    color: #fff;
    line-height: 1;
}

h2 {
    font-size: 18px;
    line-height: 1.4;
    margin: 0 0 0 -5px;
}

h2 img {
    position: relative;
    top: -12px;
    left: 4px;
}

h3 {
    font-size: 16px;
    line-height: 1.2;
    font-weight: 400;
}

p {
    margin-bottom: 16px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #17151a;
    text-decoration: none;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

ul {
    margin: 0 0 12px 16px;
}

ul li {
    list-style: none;
    text-indent: -16px;
    font-size: 15px;
    line-height: 20px;
}

ul li:before {
    font-size: 20px;
    margin-right: 16px;
    position: relative;
    top: -1px;
    float: left;
    content: "-";
}

footer {
    padding: 0 25px 16px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-end;
}

@media screen and (max-width: 798px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    :is(h1, h2, p, ul li) {
        hyphens: auto;
        text-wrap: pretty;
    }

    :is(p a, span) {
        white-space: nowrap;
    }

    br:not(footer br) {
        display: none;
    }
}

@media screen and (max-width: 626px) {
    .flex-box {
        display: block;
    }

    .flex-box-content {
        width: 100% !important;
    }
}

@media screen and (max-width: 580px) {
    article {
        padding: 16px 16px 0;
    }

    h1 {
        font-size: 35px;
        line-height: 1.2;
    }

    footer {
        flex-direction: column;
        padding: 0 16px 16px;
        align-items: center;
    }

    .footer-flex-content {
        width: auto;
    }
}