@font-face {
    font-display: swap;
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-condensed-v25-latin-regular.eot');
    src: url('../fonts/roboto-condensed-v25-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-condensed-v25-latin-regular.woff2') format('woff2'), url('../fonts/roboto-condensed-v25-latin-regular.woff') format('woff'), url('../fonts/roboto-condensed-v25-latin-regular.ttf') format('truetype'), url('../fonts/roboto-condensed-v25-latin-regular.svg#RobotoCondensed') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-condensed-v25-latin-700.eot');
    src: url('../fonts/roboto-condensed-v25-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-condensed-v25-latin-700.woff2') format('woff2'), url('../fonts/roboto-condensed-v25-latin-700.woff') format('woff'), url('../fonts/roboto-condensed-v25-latin-700.ttf') format('truetype'), url('../fonts/roboto-condensed-v25-latin-700.svg#RobotoCondensed') format('svg');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #333;
    font-family: 'Roboto Condensed', Arial, sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.4;
    background: url('../images/background.jpg') no-repeat;
    background-size: cover;
}

#wrapper {
    position: relative;
    max-width: 800px;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    border: solid 1px #000;
}

header div {
    background: #004A8C;
    padding: 2rem;
}

article {
    padding: 1rem 2rem;
}

article p {
    margin: 1rem 0;
}

footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #004A8C;
}

footer p {
    text-align: center;
    color: #fff;
    font-size: 0.8125rem;
}

:is(h1, h2, strong) {
    font-weight: 700;
}

h1 {
    color: #db8629;
    font-size: 1.625rem;
    line-height: 1.3;
    margin: 1.3rem 0;
}

h2 {
    font-size: 1.125rem;
    color: #004a8c;
    margin: 2rem 0 1rem;
}

ul {
    margin: 0 0 1rem 1.2rem;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: underline;
    white-space: nowrap;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

@media only screen and (max-width:798px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    :is(p, ul, h1) {
        hyphens: auto;
        text-wrap: pretty;
    }

    span {
        white-space: nowrap;
    }
}

@media only screen and (max-width:480px) {
    header div {
        display: flex;
        justify-content: center;
    }

    article {
        padding: 0 1rem;
    }
}