@charset "utf-8";
:root {
    font-size: 17px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #000;
    font: 1.25em/1.25 "Segoe UI", Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 645px;
    margin: 1rem auto;
    border: solid 2px #000;
    background: #fff;
    overflow: hidden;
    padding: 1.5rem 1.5rem 0.75rem;
}
p {
    padding-bottom: 0.625rem;
}
h1 {
   margin: 0.25rem 0 1rem;
   font-size: 1.125em;
   line-height: 1.25;
   width: 384px;
}
h1 span{
    font-weight: 400;
    font-size: 1.188rem;
}

:is(a:link, a:hover, a:visited, a:active) {
    color: inherit;
    text-decoration: none;
}
img {
    max-width: 100%;
    height: auto;
}
header {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
}
footer {
    position: absolute;
    bottom: 1.25rem;
    right: 1.5rem;
}
@media only screen and (max-width: 644px) {
    body {
        font-size: 1.125em;
    }
    #wrapper {
        border: none;
        margin: 0 auto;
    }
    :is(header, footer) {
        position: static;
        display: flex;
        justify-content: center;
        padding-bottom: 0.5rem;
    }
    h1 {
        width: 100%;
    }
    footer {
        padding: 1rem 0 0;
    }
    br {
        display: none;
    }
    p {
        text-align: left;
        hyphens: auto;
        width: auto;
    }
    span {
        display: inline-block;
    }
}
@media only screen and (max-width: 480px) {
    body {
        font-size: 1em;
    }
    #wrapper {
        padding: 1rem;
    }
    h1 span {
        font-size: 1rem;
    }
}