@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: 500;
    src: url('../fonts/roboto-v30-latin-500.eot');
    src: local(''), url('../fonts/roboto-v30-latin-500.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-500.woff2') format('woff2'), url('../fonts/roboto-v30-latin-500.woff') format('woff'), url('../fonts/roboto-v30-latin-500.ttf') format('truetype'), url('../fonts/roboto-v30-latin-500.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: 782px;
    margin: 16px auto;
    border: 1px solid #cbcbcb;
    background-color: #fff;
}

article {
    padding: 16px 32px 20px;
}

footer {
    padding: 20px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: url('../images/background.jpg') no-repeat;
    background-size: cover;
}

.justify {
    text-align: justify;
    hyphens: auto;
}

span {
    white-space: nowrap;
}

p {
    margin: 0 0 8px;
}

:is(strong, h2, h3) {
    font-weight: 500;
    font-size: 17px;
    line-height: 23px;
}

:is(h1, h3) {
    text-align: center;
    margin: 0 0 14px;
}

h1 {
    font-weight: 700;
    font-size: 32px;
    line-height: 1.2;
}

h2 {
    margin: 20px 0 16px;
}

h4 {
    font-size: 26px;
    line-height: 32px;
    font-weight: 500;
    color: #fff;
}

h4 small {
    display: block;
    font-weight: 400;
    font-size: 21px;
    line-height: 26px;
    margin: 5px 0 0;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

ul {
    margin: 0 0 32px;
    list-style: none;
}

ul li {
    padding-left: 18px;
}

li:before {
    content: '\25A0';
    float: left;
    margin-top: -2px;
    font-size: 24px;
    text-indent: -18px;
}

img {
    max-width: 100%;
}

@media all and (max-width: 781px) {
    #wrapper {
        margin: 0 auto;
        border: none;
    }

    :is(article, footer) {
        padding: 16px;
    }

    article br {
        display: none;
    }

    .justify {
        text-align: left;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }

    ul {
        margin: 0 0 16px;
    }

    h4 {
        font-size: 22px;
        line-height: 28px;
    }

    h4 small {
        font-size: 17px;
        line-height: 23px;
    }
}

@media all and (max-width: 700px) {
    footer {
        flex-direction: column;
        gap: 16px;
    }

    h4 {
        text-align: center;
    }
}