@charset "utf-8";
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #fff;
    font: 1.375em/1.3em Segoe, "Segoe UI", Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 840px;
    margin: 1rem auto;
    border: solid 1px #000;
    background: #ed1c24 url('../images/bg.jpg') no-repeat top center;
    overflow: hidden;
    padding: 1.25rem 2.5rem;
    height: 423px;
}
p {
    padding-bottom: 1.375rem;
    text-align: center;
    color: #ed1c24;
    font-size: 0.875em;
    line-height: 1.3em;
}
h1 {
    margin: 0;
    font-size: 1.188em;
    line-height: 1.25em;
}
h1::before {
    content: "";
    width: 11px;
    height: 11px;
    background: url('../images/icon.jpg') no-repeat center;
    float: left;
    margin: 14px 0 0 -1rem;
}
h1 :is(span, small) {
    font-weight: 400;
}
h1 small {
    font-size: 0.75em;
    line-height: 1.3em;
    display: block;
}
h2 {
    font-size: 1.375em;
    line-height: 1.2em;
    text-align: center;
    position: absolute;
    top: 7rem;
    right: 5rem;
    font-style: italic;
}
h2 span {
    font-weight: 400;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}
img {
    max-width: 100%;
    height: auto;
}
ul {
    padding: 0;
    list-style: none;
    margin: 4.75rem 6em 0 auto;
    width: fit-content;
}
li {
    padding-left: 1.25rem;
}
ul li:before {
    content: "";
    width: 11px;
    height: 11px;
    background: url('../images/icon.jpg') no-repeat center;
    float: left;
    margin: 10px 0 0 -1.25rem;
}
header {
    padding: 0 3.5rem;
    display: flex;
    justify-content: flex-end;
}
footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    bottom: 1.25rem;
    right: 2.375rem;
}
@media only screen and (max-width: 839px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        height: auto;
        background: #ed1c24;
    }
    header {
        padding: 0 0 1rem;
        justify-content: center;
    }
    h1 {
        margin: 0 0 2rem 1rem;
    }
    h1 br {
        display: none;
    }
    h1 small {
        display: inline-block;
    }
    h2 {
        position: static;
    }
    ul {
        margin: 1rem auto 2rem;
    }
    footer {
        position: static;
    }
    footer p {
        width: fit-content;
        padding: 0.25rem 1.5rem;
        margin-bottom: 1.25rem;
        background-color: #E6E7E9;
    }
}
@media only screen and (max-width: 780px) {
    body {
        font-size: 1.125em;
    }
    #wrapper {
        padding: 1rem 2rem;
    }
}
@media only screen and (max-width: 480px) {
    #wrapper {
        padding: 1rem;
    }
}