@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: 17px;
    line-height: 20px;
    font-weight: 400;
    text-align: center;
}

#wrapper {
    max-width: 520px;
    margin: 1rem auto;
    border: 1px solid #000;
    background-color: #fff;
    padding: 10px 20px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
}

article p {
    font-size: 16px;
    line-height: 22px;
}

footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

footer p {
    width: 79%;
    text-align: left;
}

h1 {
    font-size: 25px;
    line-height: 1.1;
    margin: 12px 0;
}

h1 small {
    font-size: 18px;
}

h1 span {
    display: block;
    font-size: 16px;
    margin-top: 5px;
    line-height: 20px;
    font-weight: 400;
}

img {
    max-width: 100%;
    display: block;
}

:is(h1, h2, strong) {
    font-weight: 700;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    text-decoration: none;
    white-space: nowrap;
}

@media only screen and (max-width: 519px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty
    }

    :is(p, ul) span {
        white-space: nowrap;
    }

    article p {
        margin-top: 10px;
    }

    footer {
        padding-top: 10px;
    }

    footer br {
        display: none;
    }
}

@media only screen and (max-width: 422px) {
    :is(header, footer) {
        flex-direction: column;
        align-items: center;
        gap: 16px
    }

    footer p {
        text-align: center;
    }

    h1 {
        font-size: 35px;
    }
}