@charset "utf-8";

@font-face {
    font-family: 'Merriweather';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/merriweather-v30-latin-700.eot');
    src: local(''),
        url('../fonts/merriweather-v30-latin-700.eot?#iefix') format('embedded-opentype'),
        url('../fonts/merriweather-v30-latin-700.woff2') format('woff2'),
        url('../fonts/merriweather-v30-latin-700.woff') format('woff'),
        url('../fonts/merriweather-v30-latin-700.ttf') format('truetype'),
        url('../fonts/merriweather-v30-latin-700.svg#Merriweather') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
}

html {
    min-height: 100%;
}

body {
    color: #000;
    font: 1em/1.5em Arial, sans-serif;
}

#wrapper {
    position: relative;
    max-width: 940px;
    margin: 1rem auto 3rem;
    background-color: #fff;
    overflow: hidden;
    padding: 0;
    box-shadow: -0.1rem 0.1rem 1rem #999;
}

p {
    padding-bottom: 2rem;
}

h1,
h2 {
    color: #E31712;
    font-weight: 700;
    font-family: 'Merriweather', Arial, sans-serif;
}

h1 {
    margin: 0 0 2rem;
    font-size: 1.692em;
    line-height: 1.1;
}

h2 {
    font-size: 1.1em;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #FFF;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    padding: 0 0 0.5rem;
    list-style: none;
}

ul li {
    padding: 0 0 0.3rem 1rem;
}

ul li:before {
    content: "•";
    font-size: 1.3em;
    float: left;
    margin: 0 0 0 -1rem;
    color: #E31712;
}

ul:not(:last-of-type) {
    padding-bottom: 2rem;
}

article {
    padding: 2rem;
}

footer {
    background: url('../images/bg.png') no-repeat top left #E31712;
}

footer p {
    text-align: right;
    padding: 2rem;
    color: #FFF;
}

.links {
    text-align: center;
    border-top: 1px solid #E31712;
    bottom: 0;
    width: 100%;
    padding: 0.5rem 0;
    background: #fff;
}

.links a {
    color: #fff;
    background: #E31712;
    border-color: #E31712;
    padding: 0.5rem 1.5rem;
    display: inline-block;
}

@media only screen and (max-width: 939px) {
    #wrapper {
        border: none;
        margin: 0 auto 2rem;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    p :is(a, span) {
        display: inline-block;
    }

    footer p {
        padding-top: 5rem;
    }
}

@media only screen and (max-width: 550px) {
    footer {
        background: #E31712;
    }

    footer p {
        text-align: center;
        padding: 1rem;
    }
}

@media only screen and (max-width: 480px) {
    article {
        padding: 1rem;
    }
}