@charset "utf-8";
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans-v34-latin-regular.eot');
    src: local(''), url('../fonts/open-sans-v34-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v34-latin-regular.woff2') format('woff2'), url('../fonts/open-sans-v34-latin-regular.woff') format('woff'), url('../fonts/open-sans-v34-latin-regular.ttf') format('truetype'), url('../fonts/open-sans-v34-latin-regular.svg#OpenSans') format('svg');
}
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 800;
    src: url('../fonts/open-sans-v34-latin-800.eot');
    src: local(''), url('../fonts/open-sans-v34-latin-800.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v34-latin-800.woff2') format('woff2'), url('../fonts/open-sans-v34-latin-800.woff') format('woff'), url('../fonts/open-sans-v34-latin-800.ttf') format('truetype'), url('../fonts/open-sans-v34-latin-800.svg#OpenSans') format('svg');
}
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #000;
    font: 400 1.125em/1.3em 'Open Sans', Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 595px;
    margin: 1rem auto;
    border: 1px solid #000;
    background: #EADCEB;
    overflow: hidden;
    padding: 0.5rem 1rem 0;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
}
p {
    padding-bottom: 0.75rem;
}
h1 {
    margin: 0;
    font-size: 1.7em;
    line-height: 1.1;
}
h1 span {
    font-size: 1.063rem;
    position: absolute;
    right: -1rem;
    top: 17.5rem;
    transform: rotate(-90deg);
}
h2 {
    font-size: 1.7em;
    line-height: 1.1;
    margin-bottom: 0;
}
:is(h1, h2) {
    text-transform: uppercase;
}
:is(h1, h2, strong) {
    font-weight: 800;
}
:is(h1, h2, p) {
    text-align: center;
}
img {
    max-width: 100%;
    height: auto;
}
header {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0.5rem;
}
header>img {
    margin-right: 3rem;
}
header a img {
    position: absolute;
    right: 0.8rem;
    top: 0.75rem;
}
article p:last-of-type {
    text-transform: uppercase;
}
footer figure {
    margin: 0 0 0.5rem;
    position: absolute;
    left: 1.25rem;
    top: 17rem;
}
@media only screen and (max-width:594px) {
    body {
        font-size: 1.063em;
    }
    #wrapper {
        border: none;
        margin: 0 auto;
    }
    br {
        display: none;
    }
    h1{
        font-size: 1.5em;
    }
    header>img {
        margin: 0 0 0.5rem;
    }
    header a img, footer figure, h1 span {
        position: static;
        transform: none;
    }
    footer figure {
        display: flex;
        justify-content: center;
    }
}