@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-size: 1rem;
    line-height: 1.4375rem;
    color: #000;
    font-weight: 400;
}

#wrapper {
    margin: 1rem auto;
    padding: 0.5rem 3rem 0.625rem 2rem;
    max-width: 1100px;
    background: #f4f4f4 url(../images/background.jpg) no-repeat left top;
    overflow: hidden;
    position: relative;
    border: solid thin #cbcbcb;
    height: 773px;
}

:is(header img, footer img) {
    display: none;
}

.flex-box {
    display: flex;
    justify-content: space-between;
}

.flex-box-content:nth-of-type(1) {
    width: 48%;
}

.flex-box-content:nth-of-type(2) {
    width: 47%;
    margin-top: -4.6875rem;
}

.position {
    position: absolute;
    right: 2.6875rem;
    bottom: 2.3125rem;
}

footer {
    margin: 2.625rem 0 0;
}

:is(h2, h3, strong) {
    font-weight: 700;
}

:is(h1, h2, h3, h4, .blue) {
    color: #0083cb;
}

h1 {
    margin: 0 0 0.625rem 12px;
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 400;
}

h1:before {
    font-size: 16px;
    position: relative;
    top: -1px;
    float: left;
    content: "\203A";
    text-indent: -12px;
}

h2 {
    font-size: 2.3125rem;
    line-height: 2.6875rem;
    margin: 1.125rem 0 1.125rem;
}

h3 {
    font-size: 1.125rem;
    line-height: 1.375rem;
    margin: 0.625rem 0 0.25rem;
}

h4 {
    font-size: 1rem;
    line-height: 1.375rem;
    margin: 1rem 0 0.375rem;
}

p:not(:last-child) {
    margin: 0 0 27px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    text-decoration: none;
}

img {
    max-width: 100%;
}

ul {
    margin: 0 0 1.4375rem 1.125rem;
}

ul li {
    list-style: none;
    text-indent: -1.125rem;
    color: #0083cb;
}

ul li:before {
    font-size: 1rem;
    margin-right: 1.125rem;
    position: relative;
    top: -1px;
    float: left;
    content: "\2714";
}

@media screen and (max-width: 1099px) {
    #wrapper {
        border: none;
        margin: 0;
        background: #f4f4f4;
        height: auto;
        padding: 0.5rem 3rem 1rem 2rem;
    }

    header {
        display: flex;
        gap: 13px;
        align-items: center;
    }

    header img {
        display: inline;
        width: 106px;
    }

    .flex-box-content:nth-of-type(2) {
        background: #fff;
    }

    .padding {
        padding: 1rem 1rem 2rem;
    }

    :is(h1, h2, h3, h4, p, ul li) {
        hyphens: auto;
    }

    :is(p a, p span) {
        white-space: nowrap;
    }

    br:not(br.mobile-block) {
        display: none;
    }

    .position {
        position: static;
        background: #aae0fa;
        padding: 0.625rem;
        margin-top: 2rem;
    }

    footer {
        position: absolute;
        left: 31px;
        bottom: -0.625rem;
        display: flex;
        gap: 12px;
        align-items: center;
    }

    footer img {
        display: inline;
    }
}

@media screen and (max-width: 930px) {
    footer {
        bottom: 18px;
    }

    footer img {
        width: 150px;
    }
}

@media screen and (max-width: 840px) {
    :is(#wrapper, .padding) {
        padding: 1rem;
    }

    header {
        justify-content: center;
    }

    article {
        margin-top: 0.625rem;
    }

    .flex-box {
        display: block;
    }

    .flex-box-content {
        width: 100% !important;
    }

    .flex-box-content:nth-of-type(2) {
        margin-top: 30px;
    }

    .position {
        margin-top: 0;
    }

    .position p {
        text-align: center;
    }

    footer {
        position: static;
        justify-content: center;
    }
}

@media screen and (max-width: 450px) {
    h2 {
        margin-top: 0;
        text-align: center;
    }

    p {
        margin-bottom: 1rem !important;
    }

    :is(header, footer) {
        flex-direction: column;
        margin-top: 1rem;
        gap: 0;
    }

    footer p {
        text-align: center;
    }
}