@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-regular.eot');
    src: 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-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v30-latin-700.eot');
    src: 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');
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    font-size: 16px;
}

body {
    color: #000;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5em;
    font-weight: 400;
}

#wrapper {
    max-width: 720px;
    margin: 16px auto;
    border: 2px solid #4762a1;
    padding: 12px 20px 9px;
    background-color: #fff;
    position: relative;
}

:is(header, .flex, .logo) {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    flex-direction: row-reverse;
}

header {
    gap: 16px;
}

.title {
    flex: 1 1 0;
}

.title p {
    font-size: 1.15rem;
    line-height: 1.2;
}

.flex {
    margin: 16px 0;
}

.font {
    font-size: 34px;
    line-height: 1.2;
    padding: 14px 12px;
    text-align: center;
}

.banner {
    background: #6476ae;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.text {
    flex: 1 1 0;
    background: #3f5fa1;
    padding: 23px 16px 17.2px 32px;
}

.text ul {
    margin: 0;
}

.text ul li {
    padding-left: 24px;
    margin: 0 0 3px;
}

.text li:before {
    content: url(../images/icon.png);
    float: left;
    text-indent: -24px;
}

.flex :is(h3, ul, p, a) {
    color: #fff !important;
}

.logo {
    gap: 16px;
    margin: 24px 0 16px;
    align-items: flex-start;
}

.logo div {
    flex: 1 1 0;
}

.logo p {
    color: #4762a1;
}

.logo p a {
    color: #4762a1 !important;
}

p:not(:last-of-type) {
    margin: 0 0 14px;
}

strong {
    font-weight: 700;
}

h1 {
    margin: 16px 0;
    font-weight: 700;
    font-size: 18px;
    line-height: 22px;
    color: #4762a1;
    text-align: center;
}

h5 {
    font-weight: 400;
    font-size: 1.55rem;
    line-height: 1.4;
    letter-spacing: 1.5px;
}

h3 {
    margin: 0 0 16px;
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;
}

.margin {
    margin: 0 0 16px;
}

h4 {
    margin: 0 0 20px;
    font-weight: 400;
    font-size: 21px;
    line-height: 22px;
    color: #4762a1;
    letter-spacing: 4px;
}

h2 {
    font-weight: 700;
    font-size: 15px;
    line-height: 20px;
    color: #4762a1;
}

ul {
    margin: 0 0 16px;
    list-style: none;
}

ul li {
    padding-left: 24px;
}

li:before {
    content: '\2022';
    float: left;
    font-size: 22px;
    text-indent: -24px;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    text-decoration: none;
}

@media all and (max-width: 720px) {
    #wrapper {
        padding: 16px;
        margin: 0;
        border: none;
    }

    .text {
        padding: 16px;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }

    :is(a, span) {
        white-space: nowrap;
    }

    br:not(header br, .logo br, footer br) {
        display: none;
    }
}

@media all and (max-width: 660px) {
    :is(header, .logo) {
        flex-direction: column;
        align-items: center;
    }

    .flex {
        flex-direction: column;
    }

    :is(header p, h5, h4, .logo p) {
        text-align: center;
    }

    .flex section {
        width: 100%;
    }
}

@media all and (max-width: 440px) {
    .font a {
        white-space: normal !important;
    }
}