@charset "utf-8";
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #040405;
    font: 400 1.125em/1.3em Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 620px;
    margin: 1rem auto;
    border: solid 1px #000;
    background: #fff;
    overflow: hidden;
    padding: 0;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
}
img {
    max-width: 100%;
    height: auto;
}
h1 {
    padding: 1.5rem;
    font-size: 1.35em;
    line-height: 1.3;
    font-weight: normal;
    background: #2F75B4;
    color: #fff;
}
h1 span {
    font-size: 0.7em;
}
header {
    display: flex;
    justify-content: space-between;
}
.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem 1rem;
}
.logo p {
    text-align: center;
    font-size: 1rem;
    line-height: 1.3;
}
article p {
    padding: 1.5rem;
    background: #F6A84C;
    color: #1473B7;
}
footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    bottom: 0;
    right: 1rem;
}
footer p {
    font-size: 0.75rem;
    line-height: 1.3;
}
@media only screen and (max-width:619px) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }
    p {
        -moz-hyphens: auto;
        -o-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
    p :is(span, a) {
        display: inline-block;
    }
    header {
        flex-direction: column;
        align-items: center;
    }
    .logo, article p, h1 {
        padding: 1rem;
    }
    footer {
        padding: 1rem;
        background: #F6A84C;
        position: static;
    }
}