@charset "utf-8";
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #000000;
    font: 400 1em/1.5em Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 850px;
    margin: 1rem auto;
    border: solid 1px #000;
    background: #fff url('../images/bg.jpg') bottom left no-repeat;
    background-size: cover;
    overflow: hidden;
    padding: 0;
}
p {
    padding-bottom: 0.5rem;
    text-align: center;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
}
img {
    max-width: 100%;
    height: auto;
}
h1 {
    margin: 0 auto 0.5rem;
    width: fit-content;
    font-size: 1.5em;
    line-height: 1.1em;
}
h1 span {
    display: inline-block;
    padding-left: 0.75rem;
}
h1 span:before {
    content: "-";
    float: left;
    margin: -1px 0 0 -0.75rem;
}
h2 {
    font-size: 2.25em;
    line-height: 1.3em;
    margin-bottom: 1rem;
}
h3 {
    font-size: 2.5em;
    line-height: 1.3em;
    margin-bottom: 1rem;
}
h2, h3 {
    text-align: center;
}
h1, h2 , h3 {
    color: #0054A6;
}
h2 span {
    color: #ED1C24;
}
article {
    padding: 0 1rem;
}
figure {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    gap: 1rem;
}
hr {
    border: 0;
    border-bottom: 1px solid #000;
    margin-bottom: 0.5rem;
}
.big {
    font-size: 1.25em;
    line-height: 1.3;
}
footer {
    padding: 0 1rem;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    margin-top: -3.25rem;
}
article p:last-of-type {
    font-size: 0.8125rem;
    line-height: 1.3;
}
footer p {
    font-size: 0.8125rem;
    line-height: 1.3;
    text-align: left;
}
@media only screen and (max-width:849px) {
    #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;
    }
    footer {
        margin: 0;
    }
}
@media only screen and (max-width:480px) {
    h2 {
        font-size: 2em;
        line-height: 1.3;
    }
    h3 {
        font-size: 1.75em;
        line-height: 1.3;
    }
    figure {
        justify-content: space-around;
    }
    footer {
        flex-direction: column;
        align-items: center;
    }
}