@charset "utf-8";
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #000000;
    font: 400 1em/1.5em Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 520px;
    margin: 1rem auto;
    border: solid 1px #000;
    background: #fff;
    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 0 0.5rem;
    font-size: 2.5em;
    line-height: 1.1em;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    position: absolute;
    background: url('../images/bg.png') center center no-repeat;
    left: 0;
    right: 0;
    top: -9.5rem;
    padding: 1rem;
}
h1 span {
    display: block;
    font-size: 1.25rem;
    line-height: 1.3;
    font-weight: normal;
}
h2 {
    font-size: 1.25em;
    line-height: 1.3em;
    padding: 0.5rem 0.75rem 0.375rem;
    border-radius: 2rem;
    background: #C05581;
    text-transform: uppercase;
    color: #fff;
    width: 145px;
    margin-bottom: 0.625rem;
    text-align: center;
}
ul {
    padding: 0 0 1rem;
    list-style: none;
}
li {
    padding-left: 1rem;
}
li:before {
    content: "•";
    float: left;
    margin: -1px 0 0 -1rem;
}
article {
    padding: 1rem 1rem 0;
    position: relative;
}
figure {
    position: absolute;
    top: 0;
    right: 0.5rem;
}
footer p {
    padding: 0.75rem 1rem;
    text-align: center;
    background: #B02A61;
    color: #fff;
    font-size: 0.9375em;
    line-height: 1.3;
}
footer strong {
    font-size: 1.0625em;
    line-height: 1.3;
}
@media only screen and (max-width:519px) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }
    p {
        -moz-hyphens: auto;
        -o-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
    p :is(span, a) {
        display: inline-block;
    }
    figure {
        position: static;
        display: flex;
        justify-content: center;
    }
    h1 {
        position: static;
        margin: 0 -1rem 1rem;
        padding: 1.5rem 1rem;
        background-size: 130% 114%;
    }
}