@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: #2d1f0f;
}

#wrapper {
    margin: 1rem auto;
    max-width: 505px;
    background: #fff url(../images/background.jpg) no-repeat left top;
    border: 2px solid #40a9de;
}

header {
    padding: 46px 20px;
}

header p{
    font-size: 82%;
}

article {
    padding: 16px 20px 0;
}

.color{
    color: #fff !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: 24px;
}

h1 span {
    font-size: 73%;
}

h2 {
    font-size: 17px;
    color: #40a9de;
}

h3 {
    font-size: 21px;
}

p {
    margin-bottom: 10px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #2d1f0f;
    text-decoration: none;
}

img {
    max-width: 100%;
}

ul {
    margin: 0 0 10px 15px;
}

ul li {
    list-style: none;
    text-indent: -15px;
}

ul li:before {
    font-size: 25px;
    margin-right: 15px;
    position: relative;
    top: -1px;
    float: left;
    content: "\2022";
}

.blue{
    color: #40a9de;
}

footer {
    padding: 0 20px 20px;
}

.footer-flex{
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: flex-end;
}

.footer-flex-content:nth-of-type(1){
    width: 46%;
}

@media screen and (max-width: 504px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    :is(h1, h2, h3, p, ul li) {
        hyphens: auto;
        text-wrap: pretty;
    }

    :is(p a, span) {
        white-space: nowrap;
    }

    br:not(br.mobile-block) {
        display: none;
    }
}

@media screen and (max-width: 500px) {
    #wrapper {
        background: #fff;
    }

    header {
        padding: 20px;
        background: #40a9de;
    }

    .footer-flex{
        flex-direction: column;
        align-items: center;
    }

    .footer-flex-content:nth-of-type(1){
        width: auto !important;
    }

    footer :is(h3, p){
        text-align: center;
    }
}