:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

@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');
}

html {
    min-height: 100%;
}

body {
    color: #000;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 15px;
    line-height: 19px;
    font-weight: 400;
}

#wrapper {
    max-width: 720px;
    margin: 16px auto;
    border: 2px solid #000;
    padding: 25px;
    background: #fff;
}

header {
    padding: 0 0 8px;
    display: flex;
    justify-content: center;
}

article {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    flex-direction: row-reverse;
    padding-bottom: 20px;
}

footer {
    padding: 16px;
    background: #818285;
}

p {
    margin: 0 0 20px;
}

strong {
    font-weight: 700;
}

h1 {
    margin: 0 0 20px;
    font-weight: 400;
    font-size: 15px;
    line-height: 20px;
}

h2 {
    margin: 0 0 1px;
    font-size: 17px;
    line-height: 21px;
    color: #ce171f;
    font-weight: 400;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    text-decoration: none;
    white-space: nowrap;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

.left {
    width: 361px;
}

.color {
    color: #ce171f;
}

.right {
    width: 260px;
}

p small {
    font-size: 14px;
}

.logo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.flex {
    margin: 10px 0 30px;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 15px;
}

.flex a {
    width: 47px;
    border-right: 2px solid #818285;
    padding: 6px 0;
}

.flex a:last-of-type {
    border-right: none;
}

footer :is(p, a) {
    color: #fff !important;
    margin: 0;
    font-size: 16px;
    line-height: 24px;
}

@media all and (max-width: 719px) {
    #wrapper {
        margin: 0;
        padding: 16px;
        border: none;
        hyphens: auto;
    }

    p span {
        white-space: nowrap;
    }
}

@media all and (max-width: 660px) {
    article {
        display: block;
    }

    :is(.left, .right) {
        width: auto;
    }
}