@charset "utf-8";
@font-face {
    font-display: swap;
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/roboto-condensed-v31-latin-300.eot');
    src: url('../fonts/roboto-condensed-v31-latin-300.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-condensed-v31-latin-300.woff2') format('woff2'), url('../fonts/roboto-condensed-v31-latin-300.woff') format('woff'), url('../fonts/roboto-condensed-v31-latin-300.ttf') format('truetype'), url('../fonts/roboto-condensed-v31-latin-300.svg#RobotoCondensed') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-condensed-v31-latin-regular.eot');
    src: url('../fonts/roboto-condensed-v31-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-condensed-v31-latin-regular.woff2') format('woff2'), url('../fonts/roboto-condensed-v31-latin-regular.woff') format('woff'), url('../fonts/roboto-condensed-v31-latin-regular.ttf') format('truetype'), url('../fonts/roboto-condensed-v31-latin-regular.svg#RobotoCondensed') format('svg');
}
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #FDFCF8;
    font: 400 1em/1.3em 'Roboto Condensed', Arial, sans-serif;
    text-shadow: 0 0 6px #DA7C2D;
}
h1, h2 {
    font-weight: 300;
}
#wrapper {
    position: relative;
    max-width: 530px;
    margin: 1rem auto;
    border: solid 1px #000;
    background: #717368 url('../images/bg.jpg') top left no-repeat;
    overflow: hidden;
    padding: 3.5rem 1.5rem 1.25rem;
}
p {
    padding-bottom: 1rem;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
}
img {
    max-width: 100%;
    height: auto;
}
h1 {
    margin: 3rem 0 10rem;
    font-size: 1.375em;
    line-height: 1.2;
    width: 80%;
    text-align: center;
}
h2 {
    font-size: 2.25em;
    line-height: 1.3em;
    text-transform: uppercase;
    width: fit-content;
    text-align: center;
    margin-bottom: 2rem;
}
h2 span {
    display: block;
    text-transform: none;
    font-size: 1.125rem;
    line-height: 1.3;
}
header {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
}
article {
    padding: 0;
}
footer p {
    text-shadow: 0 0 6px #fff;
    color: #fff;
}
footer p {
    width: fit-content;
    text-align: center;
    margin: 0 0.5rem;
}
footer figure {
    position: absolute;
    bottom: 0.5rem;
    right: 0.75rem;
}
@media only screen and (max-width: 529px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        background-image: none;
        padding: 1rem;
    }
    p {
        text-align: left;
        -moz-hyphens: auto;
        -o-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
    p :is(span, a) {
        display: inline-block;
    }
    h1 {
        width: auto;
        margin: 0 0 1rem;
    }
    p br {
        display: none;
    }
    .box {
        padding: 1rem;
        background: url('../images/bg-res.jpg') top left;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    header {
        position: static;
        display: flex;
        justify-content: center;
        padding-bottom: 1rem;
    }
    footer figure {
        position: static;
        display: flex;
        justify-content: center;
        margin-top: 1rem;
    }
}