@charset "utf-8";
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #000;
    font: 400 1em/1.3em "Times New Roman", Times, serif;
    text-align: center;
}
#wrapper {
    position: relative;
    max-width: 675px;
    margin: 1rem auto;
    border: 2px solid #000;
    background: #fff url('../images/bg.jpg') no-repeat bottom;
    overflow: hidden;
    padding: 0.75rem 1.25rem 0.2rem;
}
#wrapper:before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: calc(100% - 8px);
    height: calc(100% - 8px);
    background: transparent;
    border: 1px solid #000;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}
p, h1 {
    text-shadow: 1px 6px 8px #fff, 3px 0px 11px #fff, 1px 2px 10px #fff, 0px -1px 10px #fff;
    position: relative;
    z-index: 1;
}
p {
    padding-bottom: 1rem;
}
h1 {
    margin: 0.5rem 0 1.5rem;
    font-size: 1.313em;
    line-height: 1.2;
}
h1 :is(span, small) {
    font-size: 1rem;
}
h1 span {
    font-weight: normal;
}
h2 {
    font-size: 1.6em;
    line-height: 1.3;
    margin: 0.5rem 0;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}
header {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
}
@media only screen and (max-width:674px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 1rem 1rem 0;
    }
    p a, span {
        display: inline-block;
    }
    #wrapper:before, br {
        display: none;
    }
    header {
        position: static;
        display: flex;
        justify-content: center;
        padding-bottom: 1rem;
    }
}
@media only screen and (max-width:400px) {
    header{
        flex-direction: column;
        align-items: center;
    }
}