@charset "utf-8";
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #000;
    font: 1.1em/1.3em 'Calibri', Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 500px;
    margin: 1rem auto;
    border: solid 2px #000;
    background-color: #fff;
    overflow: hidden;
    padding: 1rem 1rem 0;
}
p {
    padding-bottom: 0.5rem;
}
h1 {
    margin: 0 -1rem 0.5rem;
    font-size: 2em;
    line-height: 1.1;
    color: #FFF;
    background: #097A5F;
    padding: 1rem;
    text-align: center;
}
h1 span {
    font-size: 1.7em;
}
h2 {
    font-size: 1em;
    line-height: 1.3;
    text-decoration: underline;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    text-decoration: none;
}
img {
    max-width: 100%;
    height: auto;
}
ul {
    padding: 0 0 0.5rem;
    list-style: none;
}
ul li {
    padding-left: 1.5rem;
}
ul li:before {
    content: url('../images/icon.jpg');
    font-size: 1.3em;
    float: left;
    margin: 0 0 0 -1.5rem;
}
.right p {
    text-align: right;
}
header p{
    text-align: justify;
    hyphens: auto;
    font-size: 1.07em;
    line-height: 1.3em;
}
article {
    position: relative;
}
article figure {
    position: absolute;
    bottom: 1rem;
    left: 0;
}
@media only screen and (max-width: 499px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 1rem;
    }
    p :is(a, span) {
        display: inline-block;
    }
    header p{
        text-align: left;
    }
    h1{
        font-size: 1.5em;
        line-height: 1.3em;
    }
    .right p, footer p{
        text-align: center;
    }
    article figure{
        position: static;
        display: flex;
        justify-content: center;
        margin-bottom: 1rem;
    }
}