@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-weight: 400;
    font-size: 15px;
    line-height: 23px;
    color: #006cb8;
}

#wrapper {
    margin: 1rem auto;
    max-width: 920px;
    background: #fff;
    border: solid thin #cbcbcb;
    position: relative;
}

header {
    padding: 30px 50px 16px;
}

article {
    padding: 16px 50px 85px;
    position: relative;
}

.flex-box {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 20px;
}

.flex-box-content {
    width: 48%;
    display: flex;
    gap: 10px;
    align-items: center;
}

.flex-box-content p {
    width: 70%;
}

:is(.color, .color a) {
    color: #fff !important;
}

.color span {
    display: block;
    margin-left: 146px;
}

.text-center {
    text-align: center;
}

.justify {
    text-align: justify;
    hyphens: auto;
}

.margin-bottom {
    margin-bottom: 0;
}

.button {
    width: 187px;
    height: 71px;
    line-height: 26px;
    display: block;
    border: none;
    background: #95cc6e;
    color: #fff !important;
    margin: 16px auto;
    text-align: center;
    position: absolute;
    right: 50px;
    top: -21px;
    font-weight: 700;
    border-radius: 10px;
    padding-top: 9px;
    font-size: 122%;
}

:is(h1, strong) {
    font-weight: 700;
}

h1 {
    font-size: 25px;
    margin: -70px 0 28px;
    line-height: 1.2;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #006cb8;
    text-decoration: none;
}

img {
    max-width: 100%;
}

footer {
    padding: 16px;
    background: #006cb8;
    position: absolute;
    right: 88px;
    bottom: 50px;
    border-radius: 13px;
    width: 377px;
}

.position {
    position: relative;
}

.position>a {
    position: absolute;
    right: -69px;
    top: -32px;
}

@media screen and (max-width: 919px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    :is(h1, p) {
        hyphens: auto;
        text-wrap: pretty;
    }

    :is(p a, p span) {
        white-space: nowrap;
    }
}

@media screen and (max-width: 885px) {
    header {
        padding: 20px 20px 0;
    }

    article {
        padding: 0 20px 20px;
    }

    h1 {
        margin-top: 20px;
        text-align: center;
    }

    .button {
        position: static;
    }

    br:not(br.mobile-block, footer br) {
        display: none;
    }

    footer {
        position: static;
        margin: 0 auto 20px;
    }
}

@media screen and (max-width: 685px) {
    .flex-box {
        display: block;
    }

    .flex-box-content {
        width: 100%;
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 565px) {
    footer {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .position>a {
        position: static;
        width: 103px;
        margin: 1rem auto 0;
        display: block;
    }

    .color span {
        margin-left: 0;
    }

    footer p {
        text-align: center;
        margin-bottom: 1rem;
    }
}