@charset "utf-8";
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #000000;
    font: 400 1em/1.5em Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 800px;
    margin: 1rem auto;
    border: solid 2px #62BC46;
    background: url('../images/bg1.jpg') top left no-repeat;
    overflow: hidden;
    padding: 0;
}
p {
    padding-bottom: 0.5rem;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
}
img {
    max-width: 100%;
    height: auto;
}
h1 {
    font-size: 1.25em;
    line-height: 1.3;
    color: #62BC46;
}
h1 + p {
    font-size: 1.25em;
    line-height: 1.3;
}
h2 {
    font-size: 1em;
    line-height: 1.3em;
    color: #62BC46;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
article {
    padding: 1rem 3rem;
}
footer {
    padding: 2rem 1rem;
    border-top: 5px solid #62BC46;
    background: #fff url('../images/bg2.jpg') bottom right no-repeat;
}
.flex {
    display: flex;
    gap: 1rem;
    flex-direction: row-reverse;
    justify-content: flex-end;
}
.logo {
    padding-bottom: 0.5rem;
}
figure {
    position: absolute;
    bottom: 4.5rem;
    right: 2.25rem;
    transform: rotate(-6deg);
}
@media only screen and (max-width:799px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        background-image: none;
    }
    p {
        -moz-hyphens: auto;
        -o-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
    p :is(span, a) {
        display: inline-block;
    }
    .hide_m {
        display: none;
    }
    article, footer {
        padding: 1rem;
    }
    footer {
        background-image: none;
    }
    .flex {
        flex-direction: column;
    }
    .logo {
        display: flex;
        justify-content: center;
    }
    figure {
        position: static;
        display: flex;
        justify-content: center;
        padding: 1rem;
        transform: none;
    }
}
@media only screen and (max-width:480px) {
    body {
        font-size: 1em;
        line-height: 1.3;
    }
}