@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');
}

@font-face {
    font-display: swap;
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-condensed-v27-latin-700.eot');
    src: url('../fonts/roboto-condensed-v27-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-condensed-v27-latin-700.woff2') format('woff2'), url('../fonts/roboto-condensed-v27-latin-700.woff') format('woff'), url('../fonts/roboto-condensed-v27-latin-700.ttf') format('truetype'), url('../fonts/roboto-condensed-v27-latin-700.svg#RobotoCondensed') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    color: #4c5355;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
}

#wrapper {
    max-width: 800px;
    margin: 16px auto;
    border: 1px solid #000;
    background: url('../images/background.jpg') no-repeat;
    padding: 0 35px 0 43px;
}

header {
    opacity: 0;
}

article {
    padding: 15px 26px 0;
}

.flex {
    display: flex;
    justify-content: space-between;
    padding: 25px 20px 24px;
}

.flex div {
    width: 47%;
}

.font {
    font-size: 19px;
    line-height: 28px;
    margin: 0 0 18px;
}

footer {
    padding: 22px 16px 1px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
}

footer p {
    color: #fff;
    font-size: 20px;
}

:is(footer a, .color) {
    color: #a2a19a !important;
}

.color {
    font-size: 34px;
    margin: 0 14px;
    position: relative;
    top: 5px;
}

span {
    white-space: nowrap;
}

p {
    margin: 0 0 16px;
    text-align: center;
}

:is(strong, h1, h2) {
    font-weight: 700;
}

h1 {
    margin: 0 80px 20px;
    font-size: 66px;
    line-height: 1;
    background: #a2a19a;
    text-align: center;
    color: #fff;
    padding: 10px 16px;
    font-family: 'Roboto Condensed', Arial, sans-serif;
}

:is(h2, ul) {
    font-size: 14px;
    line-height: 20px;
}

h3 {
    font-weight: 400;
    font-size: 22px;
    line-height: 1.4;
    text-align: center;
}

ul {
    margin: 0 0 1rem;
    list-style: none;
}

ul li {
    padding-left: 30px;
}

li:before {
    content: '\2022';
    float: left;
    font-size: 25px;
    text-indent: -18px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #4c5355;
    text-decoration: none;
    white-space: nowrap;
}

img {
    max-width: 100%;
}

@media all and (max-width: 799px) {
    #wrapper {
        margin: 0 auto;
        padding: 0;
        border: none;
        background: none;
    }

    header {
        opacity: 1;
    }

    header img {
        vertical-align: middle;
    }

    article {
        padding: 16px;
        background: #fff;
    }

    .flex {
        background: #e7e5e4;
        margin: 0 -16px 16px;
        padding: 16px 16px 1px;
    }

    footer {
        background: #4c5355;
        padding: 16px 16px 6px;
        gap: 10px;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }

    h1 {
        margin: 0 0 20px;
    }

    ul li {
        padding-left: 16px;
    }

    li:before {
        text-indent: -16px;
    }

    br {
        display: none;
    }
}

@media all and (max-width: 660px) {
    .flex {
        display: block;
    }

    .flex div {
        width: 100%;
    }
}

@media all and (max-width: 510px) {
    h1 {
        font-size: 40px;
    }
}