@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');
}

* {
    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: #231f20;
}

#wrapper {
    margin: 1rem auto;
    max-width: 560px;
    background: #fff;
    border: 2px solid #231f20;
}

header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-end;
    margin-right: 8px;
}

article {
    padding: 12px 8px 0;
}

footer {
    padding: 0 8px 8px;
}

p {
    text-align: center;
    margin-bottom: 3px;
}

:is(h1, strong) {
    font-weight: 700;
}

h1 {
    font-size: 27px;
    line-height: 1.25;
    text-align: center;
    margin: 9px 0 14px;
}

h1 small {
    display: block;
    font-size: 19px;
    line-height: 23px;
    font-weight: 400;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #231f20;
    text-decoration: none;
    white-space: nowrap;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

@media screen and (max-width: 560px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    header {
        margin-right: 1rem;
    }

    article {
        padding: 16px 16px 0;
    }

    footer {
        padding: 0 16px 16px;
    }

    h1 {
        font-size: 20px;
        line-height: 1.25;
    }

    :is(h1, p) {
        hyphens: auto;
        text-wrap: pretty;
    }

    span {
        white-space: nowrap;
    }

    br {
        display: none;
    }
}

