@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: 16px;
    line-height: 23px;
    color: #000;
}

#wrapper {
    margin: 1rem auto;
    max-width: 947px;
    background: #fff;
    border: solid thin #000;
}

header img {
    display: block;
}

article {
    padding: 16px 40px 0;
}

.flex-box {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
}

.flex-box-content:nth-of-type(1) {
    width: 80%;
}

.color {
    color: #369730 !important;
}

.text-center {
    text-align: center;
}

.margin-bottom {
    margin-bottom: 0;
}

:is(h1, h2, h3, strong) {
    font-weight: 700;
}

:is(h1, h2, h3) {
    line-height: 1.2;
}

h1 {
    font-size: 55px;
    margin: 0 0 20px;
}

h1 span {
    font-size: 70%;
    font-weight: 400;
}

h1 small {
    font-weight: 400;
}

h2 {
    font-size: 17px;
    margin: 0 0 10px;
}

h3 {
    font-size: 20px;
    margin: 0 0 3px;
}

p {
    margin-bottom: 16px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    text-decoration: none;
}

img {
    max-width: 100%;
}

footer {
    padding: 16px 40px 20px;
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: flex-end;
}

.footer-flex-content:nth-of-type(1) {
    width: 40%;
}

.small {
    font-size: 90%;
}

@media screen and (max-width: 946px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    h1 {
        font-size: 30px;
    }

    :is(h1, h2, h3, p) {
        hyphens: auto;
        text-wrap: pretty;
    }

    :is(p a, span) {
        white-space: nowrap;
    }

    br:not(br.mobile-block) {
        display: none;
    }
}

@media screen and (max-width: 590px) {
    body{
        font-size: 15px;
    }

    small{
        font-size: 85%;
    }
    .footer-flex {
        flex-direction: column;
        align-items: center;
    }

    .footer-flex-content {
        width: auto !important;
        text-align: center;
    }

    .flex-box {
        display: block;
    }

    .flex-box-content {
        width: 100% !important;
    }

    p a {
        white-space: normal !important;
    }
}