@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-size: 16px;
    line-height: 23px;
    font-family: 'Roboto', Arial, sans-serif;
    color: #0070bf;
    font-weight: 400;
}

#wrapper {
    position: relative;
    max-width: 830px;
    margin: 1rem auto;
    border: 1px solid #000;
    overflow: hidden;
    padding: 34px;
    background-color: #fff;
}

#background {
    background-image: linear-gradient(to right, #d0edfb, #e5f6fe);
}

#main {
    padding: 30px;
    background-image: linear-gradient(to right, red, yellow);
    background: url(../images/background.jpg) no-repeat bottom right;
}

h1 {
    margin: 23px 0;
    font-size: 24px;
    line-height: 29px;
    font-weight: 700;
}

h2 {
    font-size: 19px;
    margin: 16px 0;
    line-height: 22px;
    font-weight: 700;
}

p:not(:last-child) {
    margin-bottom: 1rem;
}

header {
    display: flex;
    justify-content: flex-end;
}

article a {
    color: #0070bf !important;
}

article :is(p, ul li) {
    line-height: 24px;
    font-size: 18px;
}

footer {
    padding: 20px 0 0;
}

footer p {
    text-align: center;
    font-weight: 700;
    color: #959595;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #959595;
    text-decoration: none;
    white-space: nowrap;
}

ul {
    margin: 0 0 32px 28px;
    list-style: none;
}

ul li {
    padding-left: 26px;
    margin-bottom: 6px;
}

ul li:before {
    content: "\2022";
    color: #0070bf;
    float: left;
    font-size: 17px;
    text-indent: -26px;
}

img {
    max-width: 100%;
}

@media (max-width: 830px) {
    #wrapper {
        margin: 0;
        border: none;
        padding: 1rem;
    }

    #main {
        padding: 1rem;
        background-size: cover;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }

    span {
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    #wrapper {
        padding: 0
    }

    ul {
        margin-left: 0;
    }
}