@charset "utf-8";
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #000;
    font: 400 1.125em/1.5em Arial, sans-serif;
    text-align: center;
}
#wrapper {
    position: relative;
    max-width: 600px;
    margin: 1rem auto;
    border: 2px solid #000;
    background: #fff url('../images/bg.jpg') no-repeat top 1rem center;
    overflow: hidden;
    padding: 1.35rem 1.5rem 1rem;
}
:is(h1, h2, strong) {
    font-weight: 700;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
}
p {
    padding-bottom: 0.5rem;
}
h1 {
    margin: -0.5rem 0 1.25rem;
    font-size: 1.25em;
    line-height: 1.3;
}
h1 span {
    font-size: 1.125rem;
    font-weight: 400;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}
header {
    display: flex;
    justify-content: flex-start;
}
footer {
    padding: 3rem 0 0;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}
figure {
    margin: 0;
    display: flex;
    justify-content: center;
}
@media only screen and (max-width:599px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        background: none;
        padding: 1rem;
    }
    p {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
    p a, span {
        display: inline-block;
    }
    br {
        display: none;
    }
    header {
        justify-content: center;
        margin-bottom: 1rem;
    }
}