@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans-v43-latin-regular.eot');
    src: url('../fonts/open-sans-v43-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v43-latin-regular.woff2') format('woff2'), url('../fonts/open-sans-v43-latin-regular.woff') format('woff'), url('../fonts/open-sans-v43-latin-regular.ttf') format('truetype'), url('../fonts/open-sans-v43-latin-regular.svg#OpenSans') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 800;
    src: url('../fonts/open-sans-v43-latin-800.eot');
    src: url('../fonts/open-sans-v43-latin-800.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v43-latin-800.woff2') format('woff2'), url('../fonts/open-sans-v43-latin-800.woff') format('woff'), url('../fonts/open-sans-v43-latin-800.ttf') format('truetype'), url('../fonts/open-sans-v43-latin-800.svg#OpenSans') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    color: #fff;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 17px;
    line-height: 23px;
    font-weight: 400;
}

#wrapper {
    max-width: 600px;
    margin: 16px auto;
    border: 1px solid #cbcbcb;
    background: #a6cd39;
    padding: 32px;
    position: relative;
}

header {
    padding: 0 0 40px;
}

article {
    position: relative;
    z-index: 999;
}

footer {
    position: absolute;
    bottom: 0;
    right: 0;
}

hr {
    border: 0;
    margin: 0 0 45px;
    width: 60px;
    height: 8px;
    background: #ea2829;
    border-radius: 10px;
}

:is(p, h1, h3) {
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.6);
}

p {
    margin: 0 0 19px;
}

h1 {
    margin: 0 0 66px;
    font-weight: 800;
    font-size: 24px;
    line-height: 1.2;
}

h1 span {
    white-space: nowrap;
}

h2 {
    font-weight: 800;
    font-size: 17px;
    text-align: center;
    background: #fff;
    color: #a6cd39;
    width: 150px;
    height: 150px;
    border-radius: 100%;
    padding: 30px 16px;
    position: absolute;
    top: -80px;
    right: 20px;
    transform: rotate(6deg);
}

h3 {
    margin: 0 0 16px;
    font-weight: 800;
    font-size: 32px;
    line-height: 1.2;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

@media all and (max-width: 599px) {
    #wrapper {
        margin: 0 auto;
        padding: 1rem 1rem 0;
        border: none;
    }

    header {
        padding: 0 0 10px;
    }

    footer {
        position: static;
        display: flex;
        justify-content: flex-end;
        margin: 0 -16px 0 0;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }

    :is(h1, hr) {
        margin: 0 0 30px;
    }

    h2 {
        position: static;
        margin: 0 auto 20px;
        transform: none;
    }

    br:not(h2 br) {
        display: none;
    }
}