@charset "utf-8";
@font-face {
    font-family: 'Roboto Slab';
    font-style: normal;
    font-weight: 900;
    src: url('../fonts/roboto-slab-v24-latin-900.eot');
    src: local(''),
        url('../fonts/roboto-slab-v24-latin-900.eot?#iefix') format('embedded-opentype'),
        url('../fonts/roboto-slab-v24-latin-900.woff2') format('woff2'),
        url('../fonts/roboto-slab-v24-latin-900.woff') format('woff'),
        url('../fonts/roboto-slab-v24-latin-900.ttf') format('truetype'),
        url('../fonts/roboto-slab-v24-latin-900.svg#RobotoSlab') format('svg');
}
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #fff;
    font: 400 1.125em/1.25 "Times New Roman", Times, serif;
}
#wrapper {
    position: relative;
    max-width: 850px;
    margin: 1rem auto;
    border: solid 1px #000;
    background: #496C4E url('../images/bg.jpg') no-repeat top center;
    height: 587px;
    overflow: hidden;
}
p {
    padding-bottom: 1rem;
}
h1 {
    margin: 4.75rem 0 5.75rem 0.75rem;
    font-size: 1.1em;
    line-height: 1.3;
}
h1::before {
    content: "\2022";
    float: left;
    margin: 0 0 0 -0.75rem;
}
h2 {
    font-size: 3em;
    line-height: 1;
    margin-bottom: 1rem;
    text-transform: uppercase;
}
h2 span {
    font-size: 0.62em;
    line-height: 1.1;
    display: block;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}
img {
    max-width: 100%;
    height: auto;
}
header {
    position: absolute;
    top: 0;
    left: 0;
}
article {
    width: 342px;
    margin: 2.25rem 2.25rem 0 auto;
}
h1, h2, footer p {
    font-family: 'Roboto Slab', "Times New Roman", serif;
    font-weight: 900;
}
footer p {
    width: 444px;
    text-align: center;
    margin-top: -4.75rem;
    font-size: 1.05em;
    line-height: 1.3;
}
footer p a {
    font-size: 1.375em;
    line-height: 1.2;
    display: inline-block;
}
@media only screen and (max-width: 849px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        background: #496C4E;
        height: auto;
    }
    header {
        position: static;
        display: flex;
        justify-content: center;
    }
    article {
        width: auto;
        margin: 0;
        padding: 1rem;
    }
    h2 {
        text-align: center;
    }
    h1 {
        margin: 1rem 0 2rem 0.75rem;
    }
    footer p {
        width: auto;
        margin: 0;
        padding: 0 1rem 1rem;
    }
}
@media only screen and (max-width: 400px) {
    h2 {
        font-size: 2.5em;
    }
    footer p {
        font-size: 1em;
    }
    footer p a {
        font-size: 1.25em;
    }
}