@charset "utf-8";
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #000;
    font: 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 12.5rem 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;
    hyphens: auto;
}
h1 {
    margin: 0.75rem 0 1.5rem 4.375rem;
    font-size: 1.2em;
    line-height: 1.3;
}
h1 span {
    font-weight: normal;
}
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;
}
.flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem 4.125rem;
}
article {
    padding: 0.75rem 1rem;
}
footer {
    padding: 0 2rem 1rem;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 3.5rem;
}
@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;
        text-align: center;
    }
    br {
        display: none;
    }
    footer {
        gap: 2rem;
        justify-content: center;
    }
}
@media only screen and (max-width: 480px) {
    body {
        font-size: 1em;
    }
    h2 {
        margin-bottom: 0.5rem;
    }
    .flex {
        gap: 1rem 2rem;
        flex-wrap: wrap;
    }
}