@font-face {
    font-display: swap;
    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-display: swap;
    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');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    color: #000;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    line-height: 21px;
    font-weight: 400;
}

#wrapper {
    max-width: 473px;
    margin: 16px auto;
    border: 2px solid #ee2d36;
    background-color: #fff;
    border-radius: 6px;
}

.logo {
    display: flex;
    justify-content: center;
    padding: 22px 16px 18px;
}

article {
    padding: 0 22px 10px;
}

footer {
    padding: 5px 3px 3px;
    background: #ee2d36;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    gap: 6px;
    border-radius: 6px 6px 0 0;
}

footer p {
    color: #fff;
    font-size: 14px;
}

footer img {
    max-width: 141px;
}

.margin {
    margin: 0 0 6px;
}

p {
    margin: 0 0 10px;
    text-align: justify;
    hyphens: auto;
}

:is(strong, h1, h2) {
    font-weight: 700;
}

h1 {
    margin: -53px 0 12px -22px;
    font-size: 22px;
    line-height: 1;
}

h1 small {
    font-size: 16px;
    font-weight: 400;
}

h1 span {
    display: inline-block;
    background: #ee2d36;
    color: #fff;
    padding: 20px 16px 11px 22px;
}

h1 span:nth-of-type(2) {
    padding: 0 16px 19px 22px;
}

h2 {
    margin: 0 0 16px;
    font-size: 16px;
    color: #ee2d36;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

@media all and (max-width: 471px) {
    #wrapper {
        margin: 0 auto;
        border: none;
    }

    .logo {
        padding: 16px;
    }

    header>img {
        width: 100%;
    }

    article {
        padding: 0 16px 6px;
    }

    footer {
        border-radius: 0;
        padding: 16px 16px 6px;
        gap: 16px;
        flex-direction: column;
        align-items: center;
    }

    footer p {
        text-align: center;
    }

    p {
        text-align: left;
        text-wrap: pretty;
    }

    h1 {
        margin-left: -16px;
    }

    h1 span {
        padding-left: 16px !important;
    }
}

@media all and (max-width: 374px) {
    h1 {
        font-size: 17px;
        line-height: 1.3;
    }
}