* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
}

#wrapper {
    max-width: 860px;
    margin: 16px auto;
    border: 1px solid #777;
    padding: 10px 22px;
    overflow: hidden;
    color: #313131;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    line-height: 18px;
    font-weight: 400;
    background: url(background.jpg) no-repeat;
    height: 1222px;
}

header {
    position: relative;
}

.logo {
    position: absolute;
    top: 41px;
    right: 41px;
    z-index: 1;
}

article {
    padding: 16px 20px 4px;
}

footer {
    padding: 0 20px;
}

p {
    margin: 0 0 16px;
    text-align: justify;
    hyphens: auto;
}

strong {
    font-weight: 700;
}

h1 {
    margin: 16px 0 18px;
    font-weight: 700;
    font-size: 27px;
    line-height: 28px;
}

h2 {
    margin: 0 0 24px;
    font-size: 31px;
    font-weight: 700;
    line-height: 1.2;
    color: #E8272F;
}

h3 {
    margin: 20px 0 16px;
    font-weight: 700;
    font-size: 15px;
}

a {
    color: #313131;
    text-decoration: none;
}

ul {
    margin: 0 0 24px;
    list-style: none;
}

ul li {
    padding-left: 50px;
}

li:before {
    content: "\2022";
    float: left;
    font-size: 22px;
    text-indent: -50px;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

@media all and (max-width:859px) {
    #wrapper {
        padding: 0 16px 16px;
        border: none;
        margin: 0;
        height: auto;
        background: none;
    }

    header {
        margin: 0 -16px;
    }

    .logo {
        right: 16px;
        top: 30%;
    }

    article {
        padding: 16px 0 0;
    }

    footer {
        padding: 0;
    }

    ul {
        margin: 0 0 16px;
    }

    ul li {
        padding-left: 20px;
    }

    li:before {
        text-indent: -20px;
    }

    p {
        text-align: left;
    }

    article br {
        display: none;
    }

    span {
        white-space: nowrap;
    }
}

@media all and (max-width:750px) {
    .logo {
        position: static;
        margin: 16px 0 10px;
        display: flex;
        justify-content: center;
    }
}