@font-face {
    font-display: swap;
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/lato-v24-latin-regular.eot');
    src: url('../fonts/lato-v24-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/lato-v24-latin-regular.woff2') format('woff2'), url('../fonts/lato-v24-latin-regular.woff') format('woff'), url('../fonts/lato-v24-latin-regular.ttf') format('truetype'), url('../fonts/lato-v24-latin-regular.svg#Lato') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Lato';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/lato-v24-latin-700.eot');
    src: url('../fonts/lato-v24-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/lato-v24-latin-700.woff2') format('woff2'), url('../fonts/lato-v24-latin-700.woff') format('woff'), url('../fonts/lato-v24-latin-700.ttf') format('truetype'), url('../fonts/lato-v24-latin-700.svg#Lato') format('svg');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.375rem;
    color: #231f20;
    font-weight: 400;
}

#wrapper {
    margin: 1rem auto;
    border: 1px #cbcbcb solid;
    max-width: 630px;
    background: #fff;
}

header {
    padding: 1rem 1.75rem 2px;
    border-top: 12px solid #0c1e63;
}

article {
    padding: 0 1.75rem 0.625rem;
}

footer {
    padding: 12px 1.125rem 10px 1.75rem;
    background: #e1e1e1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    border-bottom: 12px solid #0c1e63;
}

footer div {
    flex: 1 1 0;
}

footer p {
    line-height: 19px;
}

span {
    white-space: nowrap;
}

p:not(footer p) {
    margin-bottom: 0.625rem;
}

p small {
    color: #7d7d7d;
    font-size: 0.8125rem;
}

h1 {
    margin: 8px 0;
    font-size: 24px;
    line-height: 31px;
    font-weight: 700;
    color: #0c1e63;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #231f20;
    text-decoration: none;
    white-space: nowrap;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

.margin {
    margin-bottom: 20px;
}

@media only screen and (max-width: 630px) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }

    :is(h1, p) {
        hyphens: auto;
        text-wrap: pretty;
    }

    :is(header, footer) {
        padding: 1rem;
    }

    article {
        padding: 0 1rem 0.625rem;
    }
}

@media only screen and (max-width:593px) {
    header {
        display: flex;
        justify-content: center;
    }
}

@media only screen and (max-width:500px) {
    footer {
        flex-direction: column;
    }
}