@charset "utf-8";
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #000;
    font: 1em/1.3em Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 800px;
    margin: 1rem auto;
    border: solid 1px #000;
    background: url('../images/bg.jpg') no-repeat bottom left 1rem;
    overflow: hidden;
    padding: 3rem 3rem 1rem;
}
p a.ins {
    color: #467885;
    text-decoration: underline;
}
p {
    padding-bottom: 1rem;
    text-align: justify;
    hyphens: auto;
}
h1 {
    margin: 0 0 1rem;
    font-size: 1em;
    line-height: 1.1;
    text-align: center;
}
h1 span {
    font-weight: normal;
}
h2 {
    font-size: 1em;
    line-height: 1.3;
    margin-bottom: 1rem;
}
h3 {
    font-size: 1.5em;
    line-height: 1.3;
    margin-bottom: 1rem;
    text-align: center;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    text-decoration: none;
}
img {
    max-width: 100%;
    height: auto;
}
ul {
    padding: 0 0 1rem;
    list-style: none;
}
ul li {
    padding-left: 2rem;
}
ul li:before {
    content: "•";
    font-size: 1.3em;
    float: left;
    margin: 0 0 0 -1rem;
}
header{
    display: flex;
    justify-content: flex-end;
    margin-bottom: 2rem;
}
footer p{
    font-family: 'Calibri', Arial, sans-serif;
    font-size: 0.7em;
    line-height: 1.3em;
    padding-bottom: 0.3rem;
}
footer{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
footer figure:nth-of-type(1){
    padding-bottom: 0.5rem;
}
.flex{
    display: flex;
    justify-content: start;
    gap: 0 1rem;
    align-items: center;
}
:is(p.color, footer a){
    color: #585858 !important;
}
@media only screen and (max-width:799px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 1rem;
        background: #FFF;
    }
    p :is(a, span) {
        display: inline-block;
    }
    header {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    footer{
        flex-direction: column;
    }
    footer p{
        text-align: center;
    }
    .flex{
        justify-content: center;
    }
    p {
        text-align: left;
    }
}
@media only screen and (max-width: 480px) {
    ul li {
        padding-left: 1rem;
    }
}