@charset "utf-8";
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #000000;
    font: 400 1em/1.3em Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 900px;
    margin: 1rem auto;
    border: solid 1px #000;
    background: #fff url('../images/bg.jpg') top left no-repeat;
    overflow: hidden;
    padding: 0;
}
p {
    padding-bottom: 0.5rem;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}
h1, h1 + p {
    font-size: 1.25em;
    line-height: 1.1em;
}
h1 {
    margin-bottom: 1.5rem;
    padding-left: 2.5rem;
}
h1:before {
    content: url("../images/icon.jpg");
    float: left;
    margin-left: -1.5rem;
}
h1 span {
    font-size: 1rem;
    font-weight: 400;
}
h2 {
    font-size: 2.5em;
    line-height: 1.3em;
    margin-bottom: 2rem;
    color: #ED262E;
}
article {
    width: 46%;
    padding: 1rem 1rem 0.5rem;
    margin-left: auto;
    position: absolute;
    top: 8rem;
    right: 1rem;
}
article figure {
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
}
footer {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
}
@media only screen and (max-width:899px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        background-image: none;
    }
    p {
        -moz-hyphens: auto;
        -o-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
    p :is(span, a) {
        display: inline-block;
    }
    header {
        display: flex;
        justify-content: center;
    }
    article {
        position: static;
        width: auto;
        padding: 1rem;
    }
}
@media only screen and (max-width:480px) {
    article figure {
        margin: 2rem 0 0 37%;
    }
}