@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: 22px;
    color: #41454a;
    text-align: center;
}

#wrapper {
    margin: 1rem auto;
    max-width: 820px;
    background: #f37c27;
    border: 3px solid #41454a;
    position: relative;
    min-height: 572px;
}

header {
    padding: 16px 20px 10px;
    display: flex;
    gap: 10px;
    width: 50%;
    background: #fff;
    align-items: center;
}

.position {
    position: relative;
}

.position a {
    position: absolute;
    right: 2%;
    bottom: 17%;
}

.color {
    color: #fff;
}

article {
    padding: 16px 20px;
    width: 50%;
}

:is(h1, h2, h3, strong) {
    font-weight: 700;
}

:is(h1, h2, h3) {
    line-height: 1.2;
}

h1 {
    font-size: 18px;
    text-align: left;
}

h1 span {
    font-size: 80%;
    font-weight: 400;
}

h2 {
    font-size: 27px;
    margin: 0 0 7px;
    color: #f37c27;
    text-align: left;
}

h3 {
    font-size: 17px;
    margin: 0 0 10px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    text-decoration: none;
}

img {
    max-width: 100%;
}

footer {
    position: absolute;
    top: 0;
    right: 0;
}

@media screen and (max-width: 819px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    article {
        padding-right: 40px;
    }

    :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: 776px) {
    :is(header, article) {
        width: auto !important;
        padding-right: 20px !important;
        justify-content: center;
    }

    footer {
        position: static;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media screen and (max-width: 390px) {
    .position a {
        bottom: 14%;
    }
}