@charset "utf-8";
@font-face {
    font-display: swap;
    font-family: 'PT Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/pt-sans-v17-latin-regular.eot');
    src: url('../fonts/pt-sans-v17-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/pt-sans-v17-latin-regular.woff2') format('woff2'), url('../fonts/pt-sans-v17-latin-regular.woff') format('woff'), url('../fonts/pt-sans-v17-latin-regular.ttf') format('truetype'), url('../fonts/pt-sans-v17-latin-regular.svg#PTSans') format('svg');
}
@font-face {
    font-display: swap;
    font-family: 'PT Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/pt-sans-v17-latin-700.eot');
    src: url('../fonts/pt-sans-v17-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/pt-sans-v17-latin-700.woff2') format('woff2'), url('../fonts/pt-sans-v17-latin-700.woff') format('woff'), url('../fonts/pt-sans-v17-latin-700.ttf') format('truetype'), url('../fonts/pt-sans-v17-latin-700.svg#PTSans') format('svg');
}
@font-face {
    font-family: 'Roboto Slab';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-slab-v24-latin-700.eot');
    src: local(''), url('../fonts/roboto-slab-v24-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-slab-v24-latin-700.woff2') format('woff2'), url('../fonts/roboto-slab-v24-latin-700.woff') format('woff'), url('../fonts/roboto-slab-v24-latin-700.ttf') format('truetype'), url('../fonts/roboto-slab-v24-latin-700.svg#RobotoSlab') format('svg');
}
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #231F20;
    font: 400 1em/1.3em 'PT Sans', Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 590px;
    margin: 1rem auto;
    border: solid 1px #231F20;
    background: url('../images/bg.jpg') no-repeat top left;
    overflow: hidden;
    padding: 1rem 1.5rem 0;
    background-size: 100% 100%;
}
p {
    padding-bottom: 1rem;
}
h1 {
    margin: 1rem 0 6rem;
    font-size: 1em;
    line-height: 1.2;
    padding-left: 2rem;
    font-family: 'Roboto Slab', Arial, sans-serif;
}
h1 span:before {
    content: url('../images/icon.png');
    font-size: 1.3em;
    float: left;
    margin: -4px 0 0 -2rem;
}
h1 small {
    font-size: 0.9375em;
}
h1 span {
    font-size: 1.125em;
    display: block;
}
h2 {
    font-size: 2em;
    line-height: 1.3;
    margin-bottom: 5rem;
}
h3 {
    font-size: 1.4em;
    line-height: 1.3;
}
h4 {
    font-size: 1.375em;
    line-height: 1.3;
}
h1, h2, h3, h4, strong {
    font-weight: 700;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    text-decoration: none;
}
img {
    max-width: 100%;
    height: auto;
}
header {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
}
article figure {
    position: absolute;
    top: 7.5rem;
    right: 1.75rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
figcaption {
    margin: 0 1rem 1rem 0;
}
footer {
    padding-left: 2rem;
}
@media only screen and (max-width:589px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 1rem;
        background-size: cover;
    }
    p span {
        display: inline-block;
    }
    header {
        display: flex;
        justify-content: center;
        position: static;
        margin-bottom: 1rem;
    }
    article figure {
        position: static;
        flex-direction: column;
        align-items: center;
    }
    figcaption {
        margin: 1rem;
        text-align: center;
    }
    h1 {
        margin: 1rem 0;
    }
    h2 {
        margin-bottom: 1rem;
    }
    p:is(a, span) {
        display: inline-block;
    }
    footer {
        padding: 0;
    }
}
