@charset "utf-8";
@font-face {
    font-display: swap;
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/oswald-v56-latin-700.eot');
    src: url('../fonts/oswald-v56-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/oswald-v56-latin-700.woff2') format('woff2'), url('../fonts/oswald-v56-latin-700.woff') format('woff'), url('../fonts/oswald-v56-latin-700.ttf') format('truetype'), url('../fonts/oswald-v56-latin-700.svg#Oswald') format('svg');
}
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #343738;
    font: bold 1em/1.3em Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 600px;
    margin: 1rem auto;
    border: solid 1px #000;
    background: #F4F0E7 url('../images/bg.jpg') bottom left no-repeat;
    overflow: hidden;
    padding: 1rem;
}
p {
    color: #fff;
    text-align: right;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}
h1, h2, h3 {
    font-family: 'Oswald', Arial, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
}
h1 {
    color: #F3BF2E;
    font-size: 1.5em;
    line-height: 1.1em;
    transform: rotate(-7deg);
    position: absolute;
    top: 10.5rem;
    right: 1rem;
}
h2 {
    font-size: 1.75em;
    line-height: 1.3em;
    margin: 0 0 7rem 2rem;
}
h2 span {
    display: block;
    font-size: 3.125em;
    line-height: 1;
}
h3 {
    font-size: 1.5em;
    line-height: 1.2;
    text-align: center;
    margin: 1rem 0 0 12rem;
}
h2, h3 {
    color: #343738;
}
header figure {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
}
header > img {
    display: none;
}
footer figure {
    display: flex;
    justify-content: flex-end;
    margin: 0.5rem;
}
@media only screen and (max-width:599px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        background-image: none;
        padding: 0;
    }
    p {
        text-align: center;
    }
    h1 {
        padding: 1rem;
        margin: 1rem;
        background: #fff;
        border: 3px solid #464949;
        position: static;
        transform: none;
        text-align: center;
    }
    h2 {
        padding: 1rem;
        margin: 0;
        background: #F4F0E7;
        font-size: 1.5em;
    }
    h3 {
        background: #fff;
        border: 3px solid #464949;
        position: static;
        transform: none;
        border-radius: 100%;
        margin: 1rem auto;
        padding: 1rem;
        width: fit-content;
    }
    header {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 1rem;
        background: #FCF8E8;
    }
    header figure {
        position: static;
    }
    header > img {
        display: block;
    }
    footer {
        background: #F2BE2D;
        padding: 1rem;
    }
    footer figure {
        justify-content: center;
    }
}