@charset "utf-8";
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #000;
    font: 400 1em/1.4em Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 800px;
    margin: 1rem auto;
    border: 6px solid #FBF60D;
    background: #fff url('../images/bg.jpg') no-repeat left top 12.5rem;
    overflow: hidden;
    padding: 0.5rem 4rem 0;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
}
p {
    padding-bottom: 0.625rem;
}
:is(p, li) {
    text-align: justify;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}
h1 {
    margin: 0 0 0.625rem;
    font-size: 1.5em;
    line-height: 1.1;
}
h1 span {
    font-size: 1rem;
}
h2 {
    font-size: 1em;
    line-height: 1.3;
}
h3 {
    font-size: 1em;
    line-height: 1.3;
}
ul {
    padding: 0 0 0.625rem 1.5rem;
    list-style: none;
}
li {
    padding: 0 0 0 1.5rem;
    position: relative;
}
li:before {
    content: "\2022";
    font-size: 1.3rem;
    position: absolute;
    left: 0;
    top: 0;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}
header {
    padding: 0 0 0.75rem;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}
header figure {
    position: absolute;
    right: 0.5rem;
    top: 2.5rem;
    transform: rotate(18deg);
}
.text {
    position: relative;
}
.text:before {
    content: "";
    shape-outside: inset(80px 0px 82px 39px);
    width: 43%;
    height: 255px;
    float: right;
}
footer {
    position: absolute;
    right: 4rem;
    bottom: 2.25rem;
}
figure {
    margin: 0;
}
@media only screen and (max-width:799px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 3rem;
    }
    :is(p, li) {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
        text-align: left;
    }
    p a, span {
        display: inline-block;
    }
    header figure{
        position: static;
        transform: none;
        margin-top: 1rem;
    }
    .text:before{
        display: none;
    }
    ul br{
        display: none;
    }
    footer{
        position: static;
        display: flex;
        justify-content: center;
    }
}
@media only screen and (max-width:768px) {
    #wrapper {
        padding: 2rem;
    }
}
@media only screen and (max-width:480px) {
    #wrapper {
        padding: 1rem;
    }
    ul{
        padding-left: 0;
    }
    li{
        padding-left: 1rem;
    }
}