@charset "utf-8";
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #717274;
    font: 400 1.5em/1.3em "Segoe UI", Arial, sans-serif;
}
strong {
    color: #04A8C7;
}
#wrapper {
    position: relative;
    max-width: 400px;
    margin: 1rem auto;
    border: solid 1px #000;
    background: #fff url('../images/bg.jpg') bottom left no-repeat;
    overflow: hidden;
    padding: 0;
}
header {
    padding: 2rem 2rem 0;
}
p {
    padding: 2rem 2rem 3rem;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}
footer img {
    opacity: 0;
}
h1 {
    margin: 0 0 0.5rem;
    font-size: 1.25em;
    line-height: 1.1em;
    color: #fff;
    width: 40%;
    position: absolute;
    bottom: 9.5rem;
    right: 1rem;
    z-index: 2;
}
h1 span {
    display: block;
    font-weight: normal;
    font-size: 0.7em;
    margin-top: 1rem;
}
@media only screen and (max-width:399px) {
    body {
        font-size: 1.25em;
        line-height: 1.3;
    }
    #wrapper {
        border: none;
        margin: 0 auto;
        background-image: none;
    }
    p, header {
        padding: 1rem;
    }
    footer img{
        opacity: 1;
    }
    header {
        display: flex;
        justify-content: center;
    }
    h1 {
        width: auto;
        position: static;
        padding: 0 1rem 1rem;
        color: #04A8C7;
    }
    h1 span {
        margin: 0;
    }
}