@charset "utf-8";
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #000;
    font: 400 1.125em/1.3em Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 535px;
    margin: 1rem auto;
    border: 6px solid #AFCF36;
    background: #EFF6E4 url('../images/bg.jpg') no-repeat top 10rem left 1rem;
    overflow: hidden;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
}
a.link {
    text-decoration: underline;
    color: #0089CF;
}
p {
    padding-bottom: 0.5rem;
    text-align: justify;
}
h1 {
    margin: 1rem 0 1.5rem 4.7rem;
    font-size: 1.25em;
    line-height: 1.4;
}
h1 span {
    font-size: 0.9em;
    font-weight: 400;
}
h2 {
    font-size: 1.5em;
    line-height: 1.3;
    color: #88C14C;
    text-align: center;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}
header {
    padding: 0.5rem 1rem;
    background: #fff;
    display: flex;
    justify-content: space-between;
    flex-flow: row-reverse;
    align-items: center;
}
article {
    padding: 0.75rem 1rem;
}
footer {
    padding: 0 1rem 1rem;
    display: flex;
    justify-content: center;
    gap: 4rem;
}
@media only screen and (max-width:534px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        background-image: none;
    }
    p {
        text-align: left;
    }
    p a, span {
        display: inline-block;
    }
    h1 {
        padding: 1rem;
        margin: 0 0 1rem;
        background: #FBCDAA;
        border: 3px solid #000;
    }
    br{
        display: none;
    }
    header{
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    footer {
        gap: 2rem;
    }
}