@charset "utf-8";
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #000;
    font: 1.25em/1.17em Calibri, Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 540px;
    margin: 1rem auto;
    border: solid 2px #424343;
    background: #fff url('../images/bg.jpg') no-repeat top center;
    overflow: hidden;
}
p {
    padding-bottom: 0.25rem;
    font-size: 1.04em;
    line-height: 1.2em;
}
h1 {
    margin: 0 1rem 0 0;
    font-size: 1.28em;
    line-height: 1.3em;
    text-align-last: justify;
}
h1 span:first-of-type {
    font-weight: normal;
}
h1 span.space {
    padding-left: 1.25rem;
}
h2 {
    font-size: 1em;
    line-height: 1.3em;
    margin-bottom: 0;
}
h3 {
    font-size: 2.375em;
    line-height: 1em;
}
header :is(h1, p, h3) {
    color: #fff;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}
img {
    max-width: 100%;
    height: auto;
}
ul {
    padding: 0 0 1rem;
    list-style: none;
}
li {
    padding-left: 0.8rem;
}
ul li:before {
    content: "\2022";
    font-size: 1em;
    float: left;
    margin: -1px 0 0 -0.8rem;
}
header {
    padding: 0.5rem 1.25rem 10rem;
}
header p {
    padding: 0.25rem 0 0.5rem;
}
main {
    padding: 0.5rem 0.25rem 0.25rem 1rem;
}
.flex {
    display: flex;
    justify-content: space-between;
}
.flex div {
    width: 39%;
}
.flex div:last-of-type {
    width: 43%;
}
figure {
    margin: 2rem 0 0 1rem;
}
:is(article, footer) p {
    padding-left: 0.8rem;
}
footer p {
    color: #B00062;
}
@media only screen and (max-width: 539px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        background: #fff;
    }
    br {
        display: none;
    }
    header {
        background-color: #B00062;
        padding: 1rem;
    }
    h1 {
        text-align-last: left;
        margin-right: 0;
        hyphens: auto;
    }
    h1 span.space {
        padding: 0;
    }
    .flex {
        display: block;
    }
    .flex div {
        width: auto !important;
    }
    figure {
        margin: 0 0 1rem;
        display: flex;
        justify-content: center;
    }
    p span {
        display: inline-block;
    }
    :is(article, footer) p {
        padding-left: 0;
    }
    main {
        padding-right: 1rem;
    }
}