@charset "utf-8";
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #585C81;
    font: 1em/1.3em Segoe, "Segoe UI", Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 570px;
    margin: 1rem auto;
    border: 1px solid #000;
    background: #fff;
    overflow: hidden;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
}
p {
    padding-bottom: 0.25rem;
}
h1, h3, .color {
    color: #E30513;
}
h1 {
    margin: 0.125rem -1rem 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 1.65em;
    line-height: 1.2;
    text-align: center;
    background: #41446D;
    color: #fff;
}
h2 {
    font-size: 1.125em;
    line-height: 1.3;
    color: #3A3C64;
}
h3 {
    font-size: 1.45em;
    line-height: 1.1;
    text-align: center;
    padding: 0.35rem 0.35rem 0.625rem;
    background: #41446D;
    color: #fff;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}
.hl {
    font-weight: 700;
    text-align: center;
    font-size: 1.125em;
    line-height: 1.3;
}
article {
    padding: 0.5rem 1rem 1.5rem;
    position: relative;
}
footer {
    padding: 1rem 1rem 0.5rem;
    background: #41446D;
    position: relative;
}
footer section {
    position: absolute;
    left: 19rem;
    top: -1.25rem;
}
footer section figure {
    margin: -3.75rem 0 0 10rem;
    position: relative;
}
footer p {
    color: #fff;
    font-size: 0.875em;
    line-height: 1.3;
}
footer h2 {
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: #fff;
}
figure {
    margin: 0 0 0.5rem;
}
@media only screen and (max-width:569px) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }
    span {
        display: inline-block;
    }
    article br {
        display: none;
    }
    footer {
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    footer section {
        position: static;
    }
    footer :is(p, h2) {
        text-align: center;
    }
    figure {
        margin-top: 0.5rem;
    }
}