@charset "utf-8";
@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/roboto-v51-latin-regular.eot'); /* IE9 Compat Modes */
  src: url('../fonts/roboto-v51-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/roboto-v51-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/roboto-v51-latin-regular.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('../fonts/roboto-v51-latin-regular.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('../fonts/roboto-v51-latin-regular.svg#Roboto') format('svg'); /* Legacy iOS */
}
@font-face {
  font-display: swap; 
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/roboto-v51-latin-700.eot'); /* IE9 Compat Modes */
  src: url('../fonts/roboto-v51-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/roboto-v51-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/roboto-v51-latin-700.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('../fonts/roboto-v51-latin-700.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('../fonts/roboto-v51-latin-700.svg#Roboto') format('svg'); /* Legacy iOS */
}
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #000;
    font: 400 1.5em/1.3 'Roboto', Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 700px;
    margin: 1rem auto;
    border: solid 1px #000;
    background: url('../images/bg.jpg') no-repeat bottom 3rem center, url('../images/bg-top.jpg') no-repeat top center, #fff;
    overflow: hidden;
    padding: 2.25rem 3.125rem 0;
}
p {
    padding-bottom: 1rem;
}
h1 {
    margin: 1.5rem 0 1.3rem;
    font-size: 1.45em;
    line-height: 1.1;
}
h1 span {
    display: block;
    font-size: 1.4em;
    line-height: 1.1;
    color: #C61414;
}
h2 {
    font-size: 1.25em;
    line-height: 1.3em;
    margin: 1rem 0 0.5rem;
}
section:nth-of-type(2) h2 {
    margin-top: 1.625rem;
}
section:nth-of-type(3) h2 {
    margin-top: 2.125rem;
}
h3 {
    font-size: 1.625em;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}
h2 span {
    font-weight: 400;
}
h1, h2 {
    text-align: center;
}
h1, h2, h3 {
    text-transform: uppercase;
}
h2, h3 {
    color: #fff;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}
img {
    max-width: 100%;
    height: auto;
}
header {
    display: flex;
    flex-direction: column;
    align-items: center;
}
figure {
    margin: 1rem -3.125rem 0;
}
article p {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0 0 0.375rem 2rem;
    color: #2159AC;
}
article {
    padding-bottom: 3.5rem;
}
@media only screen and (max-width: 699px) {
    body {
        font-size: 1.25em;
    }
    #wrapper {
        border: none;
        margin: 0 auto;
        background: #fff;
        padding: 1rem 2rem;
    }
    figure {
        margin: 1rem -2rem 0;
    }
    h2, h3 {
        margin: 0 auto 0.5rem;
        width: fit-content;
        padding: 0.25rem 1.25rem;
        background-color: #C61414;
        border-radius: 10px;
        text-align: center;
    }
    h1 {
        font-size: 1.2em;
    }
    h3 {
        margin-bottom: 1rem;
    }
    article p {
        padding-left: 0;
    }
    article {
        padding-bottom: 1.5rem;
    }
    footer p {
        text-align: center;
    }
}
@media only screen and (max-width: 699px) {
    body {
        font-size: 1.125em;
    }
    #wrapper {
        padding: 1rem;
    }
    figure {
        margin: 0.75rem -1rem 0;
    }
}
