@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans-v34-latin-regular.eot');
    src: local(''), url('../fonts/open-sans-v34-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v34-latin-regular.woff2') format('woff2'), url('../fonts/open-sans-v34-latin-regular.woff') format('woff'), url('../fonts/open-sans-v34-latin-regular.ttf') format('truetype'), url('../fonts/open-sans-v34-latin-regular.svg#OpenSans') format('svg');
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/open-sans-v34-latin-700.eot');
    src: local(''), url('../fonts/open-sans-v34-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v34-latin-700.woff2') format('woff2'), url('../fonts/open-sans-v34-latin-700.woff') format('woff'), url('../fonts/open-sans-v34-latin-700.ttf') format('truetype'), url('../fonts/open-sans-v34-latin-700.svg#OpenSans') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 23px;
    color: #305ca3;
    text-align: center;
}

#wrapper {
    margin: 1rem auto;
    max-width: 448px;
    background: #fff url(../images/background.jpg) no-repeat left bottom;
    border: solid thin #475298;
}

header {
    padding: 16px 13px 0 36px;
}

.header-flex {
    display: flex;
    gap: 10px;
    align-items: center;
}

.header-flex-content {
    width: 69%;
}

article {
    padding: 9px 65px 0;
}

.justify {
    text-align: justify;
    hyphens: auto;
}

.margin-bottom {
    margin-bottom: 0;
}

:is(h1, strong) {
    font-weight: 700;
}

h1 {
    font-size: 19px;
    margin: 0 0 10px;
    padding: 12px 16px;
    background: #c1de93;
    line-height: 1.2;
}

h1 small {
    font-size: 14px;
    display: block;
}

p {
    margin-bottom: 16px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #305ca3;
    text-decoration: none;
}

img {
    max-width: 100%;
}

footer {
    padding: 0 36px;
    position: relative;
    z-index: 999;
}

.footer-flex {
    display: flex;
    gap: 13px;
    align-items: center;
}

.footer-flex-content {}

.bottom {
    margin-top: -42px;
}

.bottom img {
    display: block;
    width: 100%;
}

@media screen and (max-width: 447px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    :is(h1, p) {
        hyphens: auto;
        text-wrap: pretty;
    }

    :is(p a, span) {
        white-space: nowrap;
    }

    br:not(br.mobile-block) {
        display: none;
    }

    .justify {
        text-align: left;
    }

    .bottom {
        margin-top: 0;
    }

    header {
        padding: 16px 16px 0;
    }

    article {
        padding: 9px 16px 0;
    }

    footer {
        padding: 0 16px;
    }
}