@charset "utf-8";
@font-face {
  font-display: swap; 
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/roboto-condensed-v31-latin-300.eot'); /* IE9 Compat Modes */
  src: url('../fonts/roboto-condensed-v31-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/roboto-condensed-v31-latin-300.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/roboto-condensed-v31-latin-300.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('../fonts/roboto-condensed-v31-latin-300.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('../fonts/roboto-condensed-v31-latin-300.svg#RobotoCondensed') format('svg'); /* Legacy iOS */
}
@font-face {
  font-display: swap; 
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/roboto-condensed-v31-latin-700.eot'); /* IE9 Compat Modes */
  src: url('../fonts/roboto-condensed-v31-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/roboto-condensed-v31-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/roboto-condensed-v31-latin-700.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('../fonts/roboto-condensed-v31-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-condensed-v31-latin-700.svg#RobotoCondensed') format('svg'); /* Legacy iOS */
}
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #004B78;
    font: 400 1em/1.3 'Roboto Condensed', Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 815px;
    margin: 1rem auto;
    border: solid 1px #000;
    background-color: #fff;
    overflow: hidden;
}
p {
    padding-bottom: 0.5rem;
}
h1 {
    margin: 0 0 0.5rem -2.5rem;
    font-size: 2.563em;
    line-height: 1.1;
    color: #fff;
    background-color: #2A89BB;
    padding: 0.25rem 3rem 0.25rem 2.5rem;
    border-radius: 0 9px 9px 0;
}
h1 span {
    font-size: 0.7em;
}
h2 {
    font-size: 2em;
    line-height: 1.1;
    margin-bottom: 0.875rem;
}
h2 + p {
    padding-bottom: 0;
    font-size: 1.563em;
    line-height: 1.3;
}
h2 + p img {
    vertical-align: -2px;
    margin-right: 0.25rem;
}
: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;
    max-width: 27.5%;
}
li {
    padding: 0 0 0.25rem 2.125rem;
    font-size: 1.063em;
    line-height: 1.25;
}
ul li:before {
    content: "";
    width: 27px;
    height: 26px;
    background: url('../images/icon.jpg') no-repeat center;
    float: left;
    margin: -3px 0 0 -2.125rem;
}
.flex {
    padding: 1.625rem 2.25rem 2.25rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
article {
    position: relative;
    background: url('../images/bg.jpg') no-repeat bottom center;
}
figure img:first-of-type {
    position: absolute;
    bottom: 3px;
    left: 0;
}
figure img:last-of-type {
    position: absolute;
    bottom: 3px;
    right: 0;
}
.flex1 {
    display: flex;
    justify-content: center;
    gap: 1.125rem;
    padding-bottom: 0.5rem;
}
footer {
    background-color: #004C78;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1.25rem 0.5rem 2.375rem;
}
footer p {
    color: #fff;
    padding: 0;
}
footer p:first-of-type {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
footer p:first-of-type span {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}
@media only screen and (max-width: 814px) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }
    .flex {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    figure img {
        position: static !important;
    }
    figure {
        display: flex;
        justify-content: center;
        gap: 1rem 2rem;
        flex-wrap: wrap;
    }
    .flex1, figure {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    h1 {
        margin: 0 0 1rem;
        padding: 0.5rem 2rem;
        border-radius: 8px;
    }
    h1, h2, p {
        text-align: center;
    }
    ul {
        max-width: unset;
    }
    article {
        background: none;
    }
    footer {
        flex-direction: column;
        gap: 1rem;
    }
}
@media only screen and (max-width: 780px) {
    .flex {
        padding: 1rem 2rem;
    }
}
@media only screen and (max-width: 480px) {
    .flex, footer {
        padding: 1rem;
    }
    .flex1 {
        display: block;
        width: fit-content;
        margin: 0 auto;
    }
}
@media only screen and (max-width: 380px) {
    h1 {
        font-size: 2.25em;
    }
}