@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: 16px;
    line-height: 23px;
    color: #000;
}

#wrapper {
    margin: 1rem auto;
    max-width: 662px;
    background: #fff url(../images/background.jpg) no-repeat left top;
    border: solid thin #001f52;
    height: 542px;
    position: relative;
    padding: 0 28px 16px 239px;
}

header {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-bottom: 16px;
}

hr {
    border: none;
    height: 1px;
    background: #eb8012;
    width: 36px;
    margin: 10px 0 20px;
}

.color {
    color: #eb8012 !important;
}

:is(.white, .white a) {
    color: #fff !important;
}

.margin-bottom {
    margin-bottom: 0;
}

:is(h1, h2, h3, strong) {
    font-weight: 700;
}

:is(h1, h2) {
    line-height: 1.2;
}

h1 {
    font-size: 16px;
    margin: 0 0 4px;
    color: #001f52;
}

h2 {
    font-size: 34px;
    margin: 0 0 35px;
	color: #001f52;
}

h2 span {
    display: block;
    color: #fff;
    background: #eb8012;
    border-radius: 10px;
    width: 310px;
    padding: 5px 10px;
    font-size: 94%;
}

h3 {
    font-size: 14px;
    margin: 0 0 5px;
    line-height: 1.4;
}

p {
    margin-bottom: 16px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    text-decoration: none;
}

img {
    max-width: 100%;
}

ul {
    margin: 0 0 16px;
}

ul li {
    list-style: none;
    padding-left: 15px;
    background: url(../images/arrows.png) no-repeat left 6px;
}

.banner {
    position: absolute;
    left: 0;
    top: 0;
}

.small {
    font-size: 68%;
    line-height: 16px;
    display: block;
}

footer {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 58px;
    align-items: center;
}

.footer-flex-content {
    width: 75%;
}

@media screen and (max-width: 661px) {
    #wrapper {
        border: none;
        margin: 0;
        height: auto;
        background: #fff;
        padding: 16px;
    }

    header {
        align-items: center;
    }

    .banner {
        position: static;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 16px;
    }

    h2 {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 25px;
    }

    h2 span {
        width: 280px;
    }

    :is(h1, h2, h3, p, ul li) {
        hyphens: auto;
        text-wrap: pretty;
    }

    :is(p a, p span) {
        white-space: nowrap;
    }

    br:not(br.mobile-block) {
        display: none;
    }

    footer {
        background: #0d1c41;
        padding: 16px;
        margin-top: 10px;
    }
}