@charset "utf-8";
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #000;
    font: 1em/1.3em Arial, sans-serif;
    text-align: center;
}
#wrapper {
    position: relative;
    max-width: 502px;
    margin: 1rem auto;
    border: solid 2px #0166AB;
    background-color: #fff;
    overflow: hidden;
    padding: 1rem 0 0;
}
p {
    padding-bottom: 1rem;
}
h1 {
    margin: 0 0 1rem;
    font-size: 2.5em;
    line-height: 1.3;
    color: #0166AB;
    padding: 1rem;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: #FFF;
    text-decoration: none;
}
img {
    max-width: 100%;
    height: auto;
}
footer{
    background: #0166AB;
    padding: 1rem 1rem 0;
}
footer p{
    color: #FFF;
    font-size: 1.2em;
    line-height: 1.3em;
}
.qr{
       position: absolute;
    bottom: 4rem;
    right: 0.3rem;
}
article >figure:first-of-type img{
    display: block;
}
@media only screen and (max-width: 499px) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }
    p :is(a,span){
        display: inline-block;
    }
    .qr{
        position: static;
        margin: 1rem 0;
    }
    h1{
        font-size: 1.5em;
    }
    br{
        display: none;
    }
}