@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: 16px;
    line-height: 20px;
    font-weight: 400;
}

#wrapper {
    max-width: 675px;
    margin: 1rem auto;
    border: 1px solid #000;
    background-color: #fff;
    padding: 60px;
    position: relative;
}

header {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

article {
    padding: 20px 0 0;
}

.content {
    padding-right: 191px;
    margin-top: 20px;
}

footer {
    position: absolute;
    bottom: 61px;
    right: 30px;
}

p:not(:first-of-type) {
    margin-top: 10px;
}

h1 {
    font-size: 22px;
    line-height: 28px;
    margin: 0;
}

h1 span {
    white-space: nowrap;
}

:is(h1, h1+p) {
    text-align: center;
}

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;
}

.link {
    text-decoration: underline !important;
    color: #00F !important
}

@media only screen and (max-width:675px) {
    #wrapper {
        border: none;
        margin: 0;
        padding: 16px;
    }

    p {
        hyphens: auto;
        text-wrap: pretty
    }

    p span {
        white-space: nowrap;
    }

    footer {
        bottom: 16px;
        right: 16px
    }
}

@media only screen and (max-width:558px) {
    header {
        flex-direction: column;
        align-items: center;
        gap: 16px
    }

    header p {
        text-align: center;
    }

    br {
        display: none
    }

    .content {
        padding-right: 0
    }

    footer {
        display: flex;
        position: static;
        justify-content: center;
        padding-top: 20px
    }
}