@charset "utf-8";
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #fff;
    font: 400 1em/1.3em Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 600px;
    margin: 1rem auto;
    border: solid 1px #000;
    background: #49839E 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, h2 {
    margin: 0 0 0.25rem;
    font-size: 1.7em;
    line-height: 1.3;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    width: fit-content;
}
h2 {
    background: #ED1C29;
}
header {
    opacity: 0;
}
figure {
    margin: -21rem 2.5rem 0;
}
article {
    position: relative;
    z-index: 2;
}
footer {
    padding: 1.5rem 2.5rem 2rem;
}
@media only screen and (max-width:599px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        background-image: none;
    }
    p {
        text-align: left;
        -moz-hyphens: auto;
        -o-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
    p :is(span, a) {
        display: inline-block;
    }
    h1 {
        background: #00AEEF;
    }
    h1, h2 {
        padding: 0.5rem 1rem;
        margin-bottom: 0.5rem;
    }
    header {
        opacity: 1;
    }
    figure {
        margin: 1rem;
        display: flex;
        justify-content: center;
    }
    br {
        display: none;
    }
    footer {
        padding: 1rem;
        display: flex;
        justify-content: center;
    }
}