@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-regular.eot');
    src: local(''), url('../fonts/roboto-v30-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-regular.woff2') format('woff2'), url('../fonts/roboto-v30-latin-regular.woff') format('woff'), url('../fonts/roboto-v30-latin-regular.ttf') format('truetype'), url('../fonts/roboto-v30-latin-regular.svg#Roboto') format('svg');
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v30-latin-700.eot');
    src: local(''), url('../fonts/roboto-v30-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-700.woff2') format('woff2'), url('../fonts/roboto-v30-latin-700.woff') format('woff'), url('../fonts/roboto-v30-latin-700.ttf') format('truetype'), url('../fonts/roboto-v30-latin-700.svg#Roboto') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 400;
    font-size: 17px;
    line-height: 24px;
    color: #000;
}

#wrapper {
    margin: 1rem auto;
    max-width: 870px;
    background: #e8e9ea;
    border: solid thin #1d6495;
    position: relative;
}

:is(header, article) {
    padding: 16px 20px;
}

.flex-box {
    background: #276695;
    padding: 25px 20px;
    position: relative;
}

.logo {
    position: absolute;
    top: 40px;
}

.margin-bottom {
    margin-bottom: 0;
    font-size: 16px;
    line-height: 21px;
}

:is(h1, strong) {
    font-weight: 700;
}

:is(h1, h2) {
    line-height: 1.2;
}

h1 {
    font-size: 33px;
    line-height: 1.5;
    text-align: center;
    color: #fff;
    margin-left: 100px;
}

h1 small {
    font-size: 19px;
    display: block;
    font-weight: 400;
}

h1 small strong {
    font-size: 21px;
}

h2 {
    font-size: 32px;
    font-weight: 400;
    text-align: center;
    color: #276695;
}

h2 a {
    color: #276695 !important;
    font-size: 29px;
}

p {
    margin-bottom: 16px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    text-decoration: none;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

footer {
    padding: 6px 20px 20px;
}

.footer-flex {
    display: flex;
    gap: 15px;
    align-items: flex-end;
}

.footer-flex-content a:nth-of-type(2) {
    position: absolute;
    right: 20px;
    bottom: 20px;
}

footer a img {
    display: block;
}

@media screen and (max-width: 869px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    :is(h1, h2, p) {
        hyphens: auto;
        text-wrap: pretty;
    }

    :is(p a, span) {
        white-space: nowrap;
    }

    p {
        text-align: left !important;
    }

    br:not(br.mobile-block) {
        display: none;
    }

    h1 {
        margin-left: 95px;
    }

    h1 small strong {
        display: block;
    }

    footer {
        margin-top: 0;
    }

    .flex-box a {
        position: static;
    }

    .footer-flex-content a:nth-of-type(2) {
        position: static;
    }

    .footer-flex {
        flex-direction: column;
        align-items: center;
    }

    footer p {
        text-align: center !important;
    }

    h2 {
        font-size: 23px;
    }

    h2 a {
        white-space: normal !important;
        word-break: break-all;
        font-size: 21px;
    }

    .footer-flex-content {
        display: flex;
        align-items: center;
        gap: 1rem;
    }
}

@media screen and (max-width: 767px) {
    .flex-box {
        flex-direction: column;
        display: flex;
        align-items: center;
        gap: 16px;
    }

    .logo {
        position: static;
    }

    h1 {
        font-size: 26px;
        margin-left: 0;
    }
}