@charset "utf-8";
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #FFF;
    font: 1.13em/1.3em "Segoe UI", Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 800px;
    margin: 1rem auto;
    border: solid 1px #000;
    background: url('../images/bg.jpg') no-repeat top left;
    overflow: hidden;
    padding: 5rem 1rem 0 28rem;
}
p.jus {
    text-align: justify;
     hyphens: auto;
    font-size: 0.957em;
    line-height: 1.3em;
}
p {
    padding-bottom: 2rem;
}
h1 {
    margin: 0.5rem 0 2rem;
    font-size: 1.692em;
    line-height: 1.1;
    padding-left: 3.7rem;
    background: url('../images/icon.png') no-repeat top 7px left 32px;
}
h2 {
    font-size: 1.6em;
    line-height: 1.3;
    margin-bottom: 1rem;
}
h2+p{
    font-size: 1.05em;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: #FFF;
    text-decoration: none;
}
img {
    max-width: 100%;
    height: auto;
}
header figure {
    display: none;
}
.logo {
    position: absolute;
    top: 1rem;
    left: 1rem;
}
article :is(h1, h1, p) {
    z-index: 1;
    position: relative;
}
article:before {
    content: "";
    shape-outside: polygon(1px -2px, 51px -13px, -7px 649px);
    width: 41px;
    height: 671px;
    float: left;
    opacity: .2;
}
footer {
    position: absolute;
    bottom: -1.1rem;
    left: 1rem;
}
@media only screen and (max-width:799px) {
    body{
        font-size: 1em;
        line-height: 1.3em;
    }
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 1rem;
        background: #7F4D6B;
    }
    header figure{
        display: block;
        margin: 2rem -1rem;
    }
    article:before{
        display: none;
    }
    p :is(a, span) {
        display: inline-block;
    }
    h1{
        margin: 0 0 1rem;
        padding-left: 2rem;
        background: url('../images/icon.png') no-repeat top 3px  left ;
    }
    .logo, figure{
        display: flex;
        justify-content: center;
    }
    .logo, footer{
        position: static;
    }
    footer p{
        text-align: center;
    }
    p.jus{
        text-align: left;
    }
    br{
        display: none;
    }
}