 @charset "utf-8";
:root {
    font-size: 16px;
}
@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: 800;
  src: url('../fonts/open-sans-v34-latin-800.eot'); 
  src: local(''),
       url('../fonts/open-sans-v34-latin-800.eot?#iefix') format('embedded-opentype'), 
       url('../fonts/open-sans-v34-latin-800.woff2') format('woff2'), 
       url('../fonts/open-sans-v34-latin-800.woff') format('woff'), 
       url('../fonts/open-sans-v34-latin-800.ttf') format('truetype'), 
       url('../fonts/open-sans-v34-latin-800.svg#OpenSans') format('svg'); 
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    color: #fff;
    font: 400 1em/1.3em 'Open Sans', Arial, sans-serif;
}
#wrapper {
    max-width: 600px;
    margin: 1rem auto;
    border: 1px solid #cbcbcb;
    background: #a6cd39;
    padding: 2rem;
    position: relative;
}
header {
    padding: 0 0 2.5rem;
}
article {
    position: relative;
    z-index: 999;
}
footer {
    position: absolute;
    bottom: 0;
    right: 0;
}
hr {
    border: 0;
    margin: 0 0 3rem;
    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 1rem;
}
h1,h2,h3{
    font-weight: 800;
}
h1 {
    margin: 0 0 5rem;
    font-size: 1.5em;
    line-height: 1.2;
}
h1 span {
    white-space: nowrap;
}
h2 {
    font-weight: 800;
    font-size: 1.1em;
    text-align: center;
    background: #fff;
    color: #a6cd39;
    width: 150px;
    height: 150px;
    border-radius: 100%;
    padding: 2rem 1rem;
    position: absolute;
    top: -80px;
    right: 20px;
    transform: rotate(6deg);
}
h3 {
    margin: 0 0 1rem;
    font-size: 2em;
    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, article figure {
        display: flex;
        justify-content: center;
    }
    footer {
        position: static;
        display: flex;
        justify-content: flex-end;
        margin: 0 -1rem 0 0;
    }
    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }
    :is(h1, hr) {
        margin: 0 0 2rem;
    }
    h2 {
        position: static;
        margin: 0 auto 1.5rem;
        transform: none;
    }
    h3{
        font-size: 1.6em;
    }
    br:not(h2 br) {
        display: none;
    }
}