@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');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 21px;
    color: #000;
}

#wrapper {
    margin: 1rem auto;
    max-width: 485px;
    background: #fff;
    border: solid thin #cbcbcb;
}

header img:nth-of-type(2) {
    display: none;
}

article {
    padding: 16px 20px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: -69px 0 0;
    position: relative;
}

strong {
    font-weight: 700;
}

h1 {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    text-indent: -26px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    text-decoration: none;
}

img {
    max-width: 100%;
}

footer {
    padding: 11px 20px 16px;
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
}

@media screen and (max-width: 484px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    :is(h1, p) {
        hyphens: auto;
        text-wrap: pretty;
    }

    :is(p a, span) {
        white-space: nowrap;
    }
}

@media screen and (max-width: 448px) {
    article {
        margin: 0;
        background: #d5eda0;
    }

    header img:nth-of-type(1) {
        display: none;
    }

    header img:nth-of-type(2) {
        display: block;
    }
}

@media screen and (max-width: 348px) {
    h1 {
        text-indent: 0;
        text-align: center;
    }

    article br {
        display: none;
    }

    footer {
        padding-top: 10px;
    }
}