@charset "utf-8";
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-regular.eot');
    src: local(''), url('../fonts/roboto-v30-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-regular.woff2') format('woff2'), url('../fonts/roboto-v30-latin-regular.woff') format('woff'), url('../fonts/roboto-v30-latin-regular.ttf') format('truetype'), url('../fonts/roboto-v30-latin-regular.svg#Roboto') format('svg');
}
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v30-latin-700.eot');
    src: local(''), url('../fonts/roboto-v30-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-700.woff2') format('woff2'), url('../fonts/roboto-v30-latin-700.woff') format('woff'), url('../fonts/roboto-v30-latin-700.ttf') format('truetype'), url('../fonts/roboto-v30-latin-700.svg#Roboto') format('svg');
}
@font-face {
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-condensed-v25-latin-regular.eot');
    src: local(''), url('../fonts/roboto-condensed-v25-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-condensed-v25-latin-regular.woff2') format('woff2'), url('../fonts/roboto-condensed-v25-latin-regular.woff') format('woff'), url('../fonts/roboto-condensed-v25-latin-regular.ttf') format('truetype'), url('../fonts/roboto-condensed-v25-latin-regular.svg#RobotoCondensed') format('svg');
}
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #000;
    font: 400 1em/1.6em 'Roboto', Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 840px;
    margin: 1rem auto;
    border: solid 1px #000;
    background: #fff url('../images/bg.jpg') no-repeat;
    overflow: hidden;
    padding: 2.5em 1.75em 0 3em;
    height: 838px;
}
:is(h1, h2, strong) {
    font-weight: 700;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    text-decoration: none;
}
p {
    padding-bottom: 1.25rem;
}
h1 {
    margin: 0 0 1.25rem;
    font-size: 2em;
    line-height: 1.1em;
    border-top: 2px solid #5B5C5E;
    border-bottom: 2px solid #5B5C5E;
    padding: 0.5rem 0;
}
h1 span {
    font-size: 0.7em;
}
h2 {
    font-size: 1.1em;
    line-height: 1.2em;
    padding: 0 0 0.15rem;
}
img {
    max-width: 100%;
    height: auto;
}
main {
    display: flex;
    justify-content: space-between;
}
header {
    width: 275px;
}
header p:first-of-type {
    font-size: 2.65em;
    letter-spacing: -1px;
    margin: 1.5rem 0 0;
    font-family: 'Roboto Condensed', Arial, sans-serif;
    padding-bottom: 2.7rem;
    color: #535456;
}
header p {
    padding-bottom: 2.1rem;
}
article {
    width: 443px;
}
article>p {
    font-size: 0.9em;
    line-height: 1.6;
}
article section {
    width: 272px;
    position: absolute;
    left: 3rem;
    top: 14.25rem;
}
article figure {
    position: absolute;
    right: 4.7rem;
    bottom: 9.5rem;
    margin: 0;
}
article>p:last-of-type {
    word-spacing: 12px;
    padding-top: 0.5rem;
    font-size: 1.1em;
}
footer p {
    position: absolute;
    left: 3rem;
    bottom: 5rem;
    line-height: 1.5;
}
footer p strong:first-of-type {
    display: inline-block;
    margin-bottom: 0.1rem;
}
footer img {
    position: absolute;
    right: 1.35rem;
    bottom: 2.7rem;
}
@media only screen and (max-width:839px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 1rem;
        background: #D4E5E0;
        height: auto;
    }
    p {
        text-align: left;
        padding-bottom: 1rem !important;
    }
    p a, span {
        display: inline-block;
    }
    h1 {
        position: static;
        width: 100%;
        font-size: 1.9em;
        text-align: center;
    }
    main {
        display: block;
    }
    :is(header, footer) {
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        margin-bottom: 0.5rem;
    }
    :is(header, footer) p {
        text-align: center;
    }
    :is(header, article) {
        width: 100%;
        padding-left: 0;
    }
    article br {
        display: none;
    }
    article section {
        width: 100%;
    }
    article :is(section, figure), footer :is(p, img) {
        position: static;
    }
    article>p:last-of-type {
        word-spacing: 0;
    }
    article figure {
        margin-bottom: 1rem;
        display: flex;
        justify-content: center;
    }
}