@charset "utf-8";
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #242021;
    font: 1.125em/1.3em Calibri, Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 710px;
    margin: 1rem auto;
    border: 2px solid #000;
    background: #fff;
    overflow: hidden;
    padding: 1.25rem 1.5rem 0;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
}
h1, h2, p {
    text-align: center;
}
p {
    padding-bottom: 0.7rem;
}
h1 {
    margin: 0 0 0.5rem;
    font-size: 2.1em;
    line-height: 1.1;
}
h1 small {
    font-size: 0.5em;
    font-weight: 400;
}
h2 {
    font-size: 1.5em;
    line-height: 1.3;
    color: #E30E28;
    padding-bottom: 0.7rem;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}
header {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
}
article {
    padding-bottom: 1rem;
    width: 545px;
}
footer {
    margin: 0 -1.5rem;
}
figure {
    margin: 0;
    position: absolute;
    right: 1.5rem;
    bottom: 4.3rem;
}
@media only screen and (max-width:709px) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }
    p {
        hyphens: auto;
    }
    p :is(a, span){
        display: inline-block;
    }
    article {
        width: 100%;
    }
    br {
        display: none;
    }
    header, figure {
        position: static;
        display: flex;
        justify-content: center;
        margin-bottom: 1rem;
    }
}
@media only screen and (max-width:480px) {
    #wrapper {
        padding: 1rem 1rem 0;
    }
    footer {
        margin: 0 -1rem;
    }
    h1 {
        font-size: 1.7em;
    }
}