@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');
}

@font-face {
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 700;
    src: url('../fonts/roboto-v30-latin-700italic.eot');
    src: local(''), url('../fonts/roboto-v30-latin-700italic.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-700italic.woff2') format('woff2'), url('../fonts/roboto-v30-latin-700italic.woff') format('woff'), url('../fonts/roboto-v30-latin-700italic.ttf') format('truetype'), url('../fonts/roboto-v30-latin-700italic.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: 15px;
    line-height: 23px;
    color: #58585a;
}

#wrapper {
    margin: 1rem auto;
    max-width: 670px;
    background: #fff url(../images/background.jpg) no-repeat left 58px;
    border: solid thin #000;
}

header {
    padding: 10px 20px 5px;
    background: #58585a;
    color: #fff;
    border-bottom: 10px solid #fcaf17;
}

article {
    padding: 10px 20px 0;
}

.text-center {
    text-align: center;
    font-style: italic;
}

:is(h1, h2, h3, strong) {
    font-weight: 700;
}

:is(h1, h2, h3) {
    line-height: 1.2;
}

h1 {
    font-size: 47px;
    color: #58585a;
}

h2 {
    font-size: 25px;
}

h3 {
    font-size: 19px;
}

h3 img {
    margin: 0 2px 0 3px;
    position: relative;
    top: 2px;
    left: 0;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #58585a;
    text-decoration: none;
}

img {
    max-width: 100%;
}

.right {
    margin: 10px 0 0 283px;
}

footer {
    padding: 0 16px 16px;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    align-items: flex-end;
}

.footer-flex {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.footer-right {
    width: 66%;
}

@media screen and (max-width: 669px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    :is(h1, h2, h3, p) {
        hyphens: auto;
        text-wrap: pretty;
    }

    h3 {
        text-align: center;
    }

    :is(p a, span) {
        white-space: nowrap;
    }

    br:not(footer br) {
        display: none;
    }

    .right {
        margin: 1rem 0 0;
    }

    footer {
        flex-direction: column;
        align-items: center;
        margin-top: 20px;
    }

    .footer-right {
        width: auto;
    }
}

@media screen and (max-width: 446px) {
    h1 {
        font-size: 35px;
    }

    .footer-flex {
        flex-direction: column;
        align-items: center;
    }

    .footer-flex p {
        text-align: center;
    }
}