@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: #231f20;
}

#wrapper {
    margin: 1rem auto;
    max-width: 996px;
    background: #fff url(../images/background.jpg) no-repeat left top;
    height: 1429px;
    position: relative;
}

header {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
}

article {
    padding: 62px 20px 26px;
}

.flex {
    flex-direction: row-reverse;
    gap: 10px;
    justify-content: space-between;
    display: flex;
}

.flex-content:nth-of-type(1) {
    width: 67%;
}

.flex-content:nth-of-type(2) {
    width: 30%;
    margin: 721px 0 0;
}

:is(.color, .color a) {
    color: #fff !important;
}

.justify {
    text-align: justify;
    hyphens: auto;
}

.margin-bottom {
    margin-bottom: 0;
}

.bottom {
    margin-bottom: 13px !important;
}

:is(h1, h2, strong) {
    font-weight: 700;
}

:is(h1, h2) {
    line-height: 1.2;
}

h1 {
    font-size: 32px;
    margin: 0 0 17px;
}

h1 span {
    white-space: nowrap;
}

h2 {
    font-size: 21px;
    margin: 0 0 13px 31px;
    color: #4c4d4f;
}

p {
    margin-bottom: 24px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    text-decoration: none;
}

img {
    max-width: 100%;
}

ul {
    margin: 0 0 0 30px;
}

ul li {
    list-style: none;
    text-indent: -30px;
}

ul li:before {
    font-size: 20px;
    margin-right: 30px;
    position: relative;
    top: -1px;
    float: left;
    content: "\2022";
}

.flex-content:nth-of-type(2) p {
    font-size: 110%;
}

.red {
    margin: 0 0 76px;
}

.gray {
    margin: 0 0 59px 63px;
}

.gay-bottom {
    margin: 0 0 0 59px;
}

footer {
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
}

@media screen and (max-width: 995px) {
    #wrapper {
        border: none;
        margin: 0;
        height: auto;
        background: #fff;
    }

    header {
        position: static;
        display: flex;
        flex-direction: column;
        align-items: center;
        opacity: 1;
    }

    article {
        padding: 16px 20px;
    }

    :is(h1, h2, p, ul li) {
        hyphens: auto;
        text-wrap: pretty;
    }

    :is(p a, p span) {
        white-space: nowrap;
    }

    .flex {
        flex-direction: unset !important;
    }

    .justify {
        text-align: left;
    }

    :is(.red, .flex-content:nth-of-type(2)) {
        background: #c52823;
        padding: 16px;
        width: 35%;
    }

    .red {
        width: 100% !important;
        margin-bottom: 10px;
    }

    h2 {
        margin-left: 0;
    }

    .gray {
        margin: 0 0 10px !important;
        background: #efedee;
        padding: 16px;
    }

    .gay-bottom {
        background: #d6d6d6;
        padding: 16px;
        margin-left: 0;
    }

    .flex-content:nth-of-type(2) {
        margin-top: 0;
    }

    h1 {
        font-size: 29px;
    }

    br:not(br.mobile-block) {
        display: none;
    }
}

@media screen and (max-width: 905px) {
    .flex {
        display: block;
    }

    .flex-content {
        width: 100% !important;
        margin: 10px 0;
    }
}

@media screen and (max-width: 600px) {
    .flex-content:nth-of-type(2) p {
        font-size: 100%;
    }

    footer {
        flex-wrap: wrap;
        justify-content: center;
    }
}