@charset "utf-8";

@font-face {
    font-display: swap;
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/source-sans-3-v18-latin-regular.eot');
    src: url('../fonts/source-sans-3-v18-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/source-sans-3-v18-latin-regular.woff2') format('woff2'), url('../fonts/source-sans-3-v18-latin-regular.woff') format('woff'), url('../fonts/source-sans-3-v18-latin-regular.ttf') format('truetype'), url('../fonts/source-sans-3-v18-latin-regular.svg#SourceSans3') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/source-sans-3-v18-latin-700.eot');
    src: url('../fonts/source-sans-3-v18-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/source-sans-3-v18-latin-700.woff2') format('woff2'), url('../fonts/source-sans-3-v18-latin-700.woff') format('woff'), url('../fonts/source-sans-3-v18-latin-700.ttf') format('truetype'), url('../fonts/source-sans-3-v18-latin-700.svg#SourceSans3') format('svg');
}

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #003865;
    font-family: 'Source Sans 3', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 400
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    max-width: 850px;
    margin: 1rem auto;
    overflow: hidden;
    background: url('../images/bg.png') no-repeat;
    border: solid 1px #000;
    background-size: 100% 68%;
}

:is(a:link, a:visited, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

span {
    color: #008FC3;
    font-weight: 700;
}

h1 {
    color: #118FC4;
    line-height: 1.1;
    font-size: 39px;
    margin: 0 0 30px;
}

h2 {
    margin: 0;
    font-size: 25px;
    font-weight: 400;
    color: #123B64;
}

h2 span {
    font-weight: 400;
}

.color {
    color: #003865;
    margin: 0 0 20px;
}

h3,
h4 {
    font-size: 17px;
    color: #118FC4;
    margin: 0 0 20px;
}

p {
    margin: 0 0 1rem;
}

ul {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
}

ul li {
    padding-left: 1.8rem;
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -1.3rem;
    font-size: 21px;
    line-height: 1;
    color: #004370;
}

ul:last-of-type {
    margin: 0 0 5px
}

.nomargin {
    margin: 0
}

header {
    padding: 40px 0 0;
    margin: 0 20px 0 70px;
}

article {
    padding: 0 60px 0 70px;
}

.flex {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    column-gap: 1rem;
    padding: 5px 0 0 0;
    border-top: solid .062rem #118FC4;
}

.icons {
    align-items: center;
    padding: 1rem;
}

.section {
    width: 48%;
}

.aside {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 33.3%;
}

.aside p {
    margin: 0;
    font-size: 15px;
    line-height: 1.2;
}

.child_width {
    width: 50%;
    margin: 80px 0 20px;
}

footer {
    padding: 1.875rem 4.375rem 40px;
}

.image {
    position: absolute;
    right: 0;
    bottom: 0;
}

@media only screen and (max-width: 849px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 1rem;
        background: #fff;
    }

    h1,
    h2,
    h1 + p {
        text-align: center;
    }

    h1 {
        font-size: 32px;
        line-height: 1.2;
    }

    h2 {
        font-size: 1.25rem
    }

    h3 {
        margin: 0 0 .625rem
    }

    header {
        margin: 0;
    }

    .flex:first-of-type {
        flex-wrap: wrap;
        align-items: center;
        gap: 1.25rem;
        justify-content: center;
    }

    .aside {
        width: 30%;
    }

    header,
    article,
    footer {
        padding: 0;
    }

    .image {
        width: 50%;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
        margin: 0 0 1rem;
    }

    .logo {
        margin: 20px 0 0;
    }
}

@media only screen and (max-width: 750px) {
    br {
        display: none;
    }

    ul li {
        padding-left: 1rem;
    }

    ul li:before {
        margin-left: -1rem;
    }

    ul:last-of-type {
        margin: 0 0 20px;
    }

    .flex {
        flex-direction: column;
        margin: 0;
    }

    .icons {
        padding: 1rem;
    }

    .section {
        width: 100%;
    }

    .flex:first-of-type {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .child_width {
        margin: 20px 0 20px;
    }

    .aside {
        width: auto;
        align-items: center;
        justify-content: center;
    }

    .aside p {
        margin: 0;
    }

    .image {
        width: 40%;
    }
}

@media only screen and (max-width: 659px) {
    .image {
        display: none;
    }

    .child_width {
        width: 100%;
    }

    h1 {
        margin: 1rem 0;
    }

    h1 + p {
        font-size: 22px;
    }

    h2 {
        margin: 0 0 .625rem;
    }

    footer {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 0 1rem;
    }

    a.web,
    .no_border h3,
    .flex:last-of-type p,
    .aside p {
        text-align: center
    }
}
