@charset "utf-8";
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #FFF;
    font: 1em/1.3em "Segoe UI", Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 580px;
    margin: 1rem auto;
    border: solid 1px #000;
    background: url('../images/bg.jpg') no-repeat top left;
    overflow: hidden;
}
p {
    padding-bottom: 1rem;
}
h1 {
    margin: 0 0 0.5rem;
    font-size: 1.692em;
    line-height: 1.1;
}
h1 span {
    font-size: 0.7em;
}
h2 {
    font-size: 1em;
    line-height: 1.3;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: #FFF;
    text-decoration: none;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
.flex {
    display: flex;
    justify-content: space-between;
}
.flex div {
    width: 48%;
}
header figure {
    display: none;
}
article {
    padding: 2rem;
    height: 810px;
}
.logo {
    position: absolute;
    top: 33rem;
    right: 0.7rem;
}
.res_bg p {
    font-size: 1.3em;
    line-height: 1.3em;
}
.box {
    margin: 4rem 0 0 13rem;
}
.box p {
    font-size: 1.22em;
    line-height: 1.3em;
}
.box :is(p, h1) {
    color: #000;
}
footer {
    background: #52B084;
    padding: 1rem 1rem 0;
}
@media only screen and (max-width: 579px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        background: none;
    }
    p :is(a, span) {
        display: inline-block;
    }
    header figure{
        display: block;
    }
    article{
        height: auto;
        padding: 0 1rem;
    }
    .logo {
        position: static;
        display: flex;
        justify-content: center;
        margin: 1rem;
    }
    .res_bg{
        background: #52B084;
        margin: 0 -1rem;
        padding: 1rem 1rem 0;
    }
    .box{
        margin: 1rem 0;
    }
    br{
        display: none;
    }
}