@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans-v35-latin-regular.eot');
    src: url('../fonts/open-sans-v35-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v35-latin-regular.woff2') format('woff2'), url('../fonts/open-sans-v35-latin-regular.woff') format('woff'), url('../fonts/open-sans-v35-latin-regular.ttf') format('truetype'), url('../fonts/open-sans-v35-latin-regular.svg#OpenSans') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/open-sans-v35-latin-700.eot');
    src: url('../fonts/open-sans-v35-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v35-latin-700.woff2') format('woff2'), url('../fonts/open-sans-v35-latin-700.woff') format('woff'), url('../fonts/open-sans-v35-latin-700.ttf') format('truetype'), url('../fonts/open-sans-v35-latin-700.svg#OpenSans') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    line-height: 1.25rem;
    font-size: 1rem;
    font-family: 'Open Sans', Arial, sans-serif;
    color: #FFF;
    font-weight: 400;
}

#wrapper {
    position: relative;
    max-width: 578px;
    margin: 1rem auto;
    border: 1px solid #000;
    overflow: hidden;
    background: #11274C url(../images/background.jpg) no-repeat;
}

article {
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer {
    padding: 0 50px 60px;
    display: flex;
    justify-content: space-between;
}

:is(strong, h1, h2, h3) {
    font-weight: 700;
}

h1 {
    font-size: 22px;
    line-height: 24px;
    text-align: center;
    background: #00356E;
    padding: 1rem;
    display: inline-block;
}

h2 {
    font-size: 57px;
    margin: -2rem 1.5rem 0;
    line-height: 1;
    text-align: center;
    background: #014E9D;
    padding: 0.5rem 1rem;
    position: relative;
    width: 75%;
}

h3 {
    font-size: 1rem;
    margin: 1rem 0;
    line-height: 1.25rem;
}

p {
    margin: 0 0 1rem;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #FFF;
    white-space: nowrap;
    text-decoration: none;
}

img {
    max-width: 100%;
}

@media all and (max-width:577px) {
    #wrapper {
        margin: 0 auto;
        border: none;
        background: #0E2545;
    }

    :is(p, h1) {
        hyphens: auto;
        text-wrap: pretty;
    }

    h2 {
        font-size: 10vw;
    }

    footer {
        padding: 1rem;
    }
}