@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: #231f20;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    line-height: 22px;
    font-weight: 400;
}

#wrapper {
    max-width: 510px;
    margin: 16px auto;
    border: 2px solid #231f20;
    padding: 16px 16px 12px;
    background-color: #fff;
}

header {
    display: flex;
    justify-content: flex-end;
}

article {
    padding: 16px 0 0;
}

article :is(p, h1) {
    text-align: center;
}

footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px 12px;
}

footer img {
    max-width: 92px;
}

:is(strong, h1) {
    font-weight: 700;
}

h1 {
    font-size: 27px;
    line-height: 33px;
    margin: 10px 0 2px;
}

h1 span {
    font-size: 80%;
    white-space: nowrap;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #231f20;
    text-decoration: none;
    white-space: nowrap;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

footer p {
    width: calc(100% - 100px);
}

@media all and (max-width:509px) {
    #wrapper {
        margin: 0 auto;
        padding: 1rem;
        border: none;
    }

    header {
        justify-content: center;
    }

    footer {
        flex-direction: column;
        align-items: center;
    }

    footer p {
        width: auto;
    }

    p {
        hyphens: auto;
        text-wrap: pretty;
    }

    br {
        display: none;
    }
}