@font-face {
    font-display: swap;
    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-display: swap;
    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;
}

body {
    color: #231f20;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    line-height: 22px;
    font-weight: 400;
}

#wrapper {
    max-width: 706px;
    margin: 16px auto;
    border: 8px solid #f58226;
    background-color: #fff;
}

header {
    display: flex;
    justify-content: flex-end;
}

article {
    padding: 10px 22px;
}

footer {
    padding: 10px 40px 1px 10px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    background: #f58226;
}

footer p {
    font-size: 13px;
    line-height: 19px;
}

.margin {
    margin-top: 26px;
}

article p {
    margin: 0 0 6px;
}

strong {
    font-weight: 700;
}

h1 {
    margin: 0 0 1px;
    font-weight: 700;
    font-size: 28px;
    line-height: 1.8;
    text-align: center;
}

h2 {
    margin: 35px 0 12px;
    font-weight: 700;
    font-size: 28px;
    line-height: 1;
}

h2.margin-bottom {
    margin-bottom: 35px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #231f20;
    text-decoration: none;
    white-space: nowrap;
}

img {
    max-width: 100%;
}

@media all and (max-width: 705px) {
    #wrapper {
        margin: 0 auto;
        border: none;
    }

    header {
        padding: 16px 16px 0;
        justify-content: center;
    }

    article {
        padding: 10px 16px;
    }

    footer {
        padding: 16px;
    }

    p {
        hyphens: auto;
        text-wrap: pretty;
    }

    h1 {
        margin: 0 0 16px;
        line-height: 1.3;
    }

    h2 {
        font-size: 24px;
        line-height: 1.2;
    }
}

@media all and (max-width: 374px) {
    footer {
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }

    footer p {
        text-align: center;
    }
}