@charset "utf-8";
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #000000;
    font: 400 1em/1.3em 'Comic Sans MS', cursive;
}
#wrapper {
    position: relative;
    max-width: 500px;
    margin: 1rem auto;
    border: solid 2px #E4C70A;
    background: #fff url('../images/bg.jpg') top left no-repeat;
    overflow: hidden;
    padding: 0;
}
p {
    padding-bottom: 0.5rem;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
}
img {
    max-width: 100%;
    height: auto;
}
h1 {
    margin: 0.5rem 0 1rem;
    font-size: 2em;
    line-height: 1.1em;
}
h1 span {
    font-size: 0.6em;
}
h2 {
    font-size: 1em;
    line-height: 1.3em;
    margin-bottom: 0;
}
ul {
    padding: 0 0 0.5rem;
    list-style: none;
}
li {
    padding-left: 1rem;
}
li:before {
    content: "•";
    float: left;
    margin: -1px 0 0 -1rem;
}
header p {
    padding: 0.5rem 0.75rem;
    text-align: center;
    text-transform: uppercase;
    transform: rotate(8deg);
    background: #E4C70A;
    width: fit-content;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    box-shadow: 4px 4px  6px #000;
}
article {
    padding: 1rem 1.5rem;
}
article :is(p, h1) {
    text-shadow: 0 0 6px #fff, 0 0 6px #fff, 0 0 6px #fff, 0 0 6px #fff;
}
article p {
    font-size: 1.25em;
    line-height: 1.3;
}
footer p {
    padding: 0.5rem 1rem;
    background: #E4C70A;
    text-align: center;
}
@media only screen and (max-width:499px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        background-size: cover;
    }
    p :is(span, a) {
        display: inline-block;
    }
    header p {
        position: static;
        transform: none;
        margin: 1rem;
    }
    :is(header, article) br {
        display: none;
    }
    article {
        padding: 0 1rem;
    }
}