@charset "utf-8";

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
}

html {
    min-height: 100%;
}

body {
    color: #000;
    font: 0.875em/1.3 Arial, sans-serif;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    border: 1px solid #000;
    background: #fff;
    overflow: hidden;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
}

p {
    padding-bottom: 0.25rem;
}

span {
    white-space: nowrap;
}

h1 {
    margin: 0.5rem 0 0.25rem;
    font-size: 1.7em;
    line-height: 1.2;
}

h1 span {
    font-size: 0.72em;
    font-weight: normal;
}

h2 {
    font-size: 1em;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

ul {
    padding: 0 3.5rem 0.75rem 1.25rem;
    list-style: none;
}

li {
    padding-left: 0.7rem;
}

li:before {
    content: "\2022";
    font-size: 1.3em;
    float: left;
    margin: -3px 0 0 -0.7rem;
}

ul:last-of-type {
    padding-bottom: 0;
}

img {
    max-width: 100%;
    height: auto;
}

header {
    display: flex;
    justify-content: center;
}

header img {
    display: block;
}

article {
    padding: 1.5rem;
    background: #DCE1F0;
}

article p {
    text-align: justify;
    line-height: 1.5em;
}

footer {
    padding: .8rem 1.5rem;
}

footer>p {
    text-align: center;
    font-size: 0.9em;
    line-height: 1.3em;
    padding-top: 0.25rem;
}

footer section {
    display: flex;
    justify-content: center;
}

footer section div {
    display: flex;
    align-items: flex-start;
}

footer section div:first-of-type p {
    text-align: right;
    padding-right: 0.8rem;
}

footer section div:last-of-type p {
    padding-left: 0.8rem;
}

footer section div:first-of-type {
    padding-right: 2rem;
}

footer section div p {
    line-height: 1.15em;
    margin-top: -0.2rem;
}

@media only screen and (max-width: 49.8rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 1rem;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    article p {
        text-align: left;
        word-spacing: normal;
    }

    p :is(span, a) {
        display: inline-block;
    }

    ul {
        padding: 0 0 0.75rem;
    }

    footer {
        padding-bottom: 0;
    }
}

@media only screen and (max-width: 46rem) {
    h1 {
        text-align: center;
    }

    footer section {
        flex-direction: column;
        align-items: center;
    }

    footer section div:first-of-type {
        flex-direction: column-reverse;
        align-items: center;
        padding: 0;
    }

    footer section div:first-of-type p {
        padding: .8rem 0 1rem;
        text-align: center;
    }

    footer section div:last-of-type {
        flex-direction: column;
        align-items: center;
    }

    footer section div:last-of-type p {
        padding: .8rem 0 1rem;
        text-align: center;
    }
}

@media only screen and (max-width: 30rem) {
    #wrapper {
        padding: .5rem;
    }

    article {
        padding: 1rem;
    }
}