@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: 23px;
    color: #070707;
}

#wrapper {
    margin: 1rem auto;
    max-width: 998px;
    background: #fff url(../images/background.jpg) no-repeat left top;
    height: 701px;
}

header {
    flex-direction: column;
    align-items: center;
    margin-bottom: 16px;
    display: none;
}

article {
    padding: 293px 66px 0;
}

.margin-bottom{
    margin-bottom: 0;
}

:is(h1, h2, strong){
    font-weight: 700;
}

:is(h1, h2) {
    line-height: 1.2;
}

h1 {
    font-size: 16px;
    margin: 0 0 30px;
    padding: 10px;
    background: #efaa4e;
    display: inline-block;
    border-radius: 10px;
}

h2 {
    font-size: 25px;
    display: none;
    margin: 0 0 20px;
}

p {
    margin-bottom: 25px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #070707;
    text-decoration: none;
}

img {
    max-width: 100%;
}

footer {
    padding: 24px 66px;
    display: flex;
    gap: 23px;
    align-items: center;
}

footer p{
    font-size: 15px;
    line-height: 20px;
}

@media screen and (max-width: 997px) {
    #wrapper {
        margin: 0;
        height: auto;
        background: #fff;
    }

    header{
        display: flex;
        background: #f0a045;
        padding: 16px;
    }

    article {
        padding: 20px 20px 0;
    }

    :is(h1, h2, p) {
        hyphens: auto;
        text-wrap: pretty;
    }

    :is(p a, span) {
        white-space: nowrap;
    }

    br:not(br.mobile-block) {
        display: none;
    }

    footer{
        padding: 20px;
    }
}

@media screen and (max-width: 597px) {
    footer{
        flex-direction: column;
    }

    footer p{
        text-align: center;
    }
}