@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');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    color: #000;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    line-height: 22px;
    font-weight: 400;
}

#wrapper {
    max-width: 520px;
    margin: 16px auto;
    border: 3px solid #1e3862;
    background-color: #fff;
}

header {
    padding: 20px 20px 0 0;
}

article {
    margin: 0 0 0 25px;
    border-bottom: 16px solid #1e3862;
    padding: 0 25px 0 0;
    background: url('../images/background.jpg') no-repeat bottom right;
}

footer {
    padding: 3px 25px 16px;
}

p {
    margin: 0 0 6px;
    text-align: justify;
    hyphens: auto;
}

:is(strong, h1, h2, h3) {
    font-weight: 500;
}

h1 {
    margin: 8px 0 15px;
    font-size: 25px;
    line-height: 1;
    color: #1e3862;
}

h1 span {
    font-weight: 400;
    font-size: 16px;
}

h2 {
    margin: 0 0 5px;
    font-size: 30px;
    line-height: 1.1;
    color: #1e3862;
}

h3 {
    font-size: 18px;
    line-height: 24px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    text-decoration: none;
    white-space: nowrap;
}

ul {
    margin: 0 0 8px;
    list-style: none;
}

ul li {
    padding-left: 16px;
    display: inline;
    position: relative;
}

li:before {
    content: '\2022';
    color: #1e3862;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 25px;
    position: absolute;
    text-indent: -16px;
}

img {
    max-width: 100%;
}

@media all and (max-width: 519px) {
    #wrapper {
        margin: 0 auto;
        border: none;
    }

    header {
        padding: 16px 16px 16px 0;
    }

    article {
        padding: 0 16px 0 0;
        margin: 0 0 0 16px;
    }

    footer {
        padding: 6px 16px 16px;
    }

    :is(p, ul) {
        hyphens: auto;
        text-align: left;
        text-wrap: pretty;
        text-shadow: 1px 1px 4px #fff;
    }

    h1 {
        line-height: 1.2;
    }

    ul li {
        display: block;
    }

    article br {
        display: none;
    }

    span {
        white-space: nowrap;
    }
}