@charset "utf-8";
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #000;
    font: 400 1em/1.3em Segoe, "Segoe UI", Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 800px;
    margin: 1rem auto;
    border: solid 1px #C9E7EC;
    background: #C89B64 url('../images/bg.jpg') no-repeat bottom left;
    overflow: hidden;
}
:is(h1, h2, h3, h4) {
    font-weight: 600;
}
:is(h1, h2, .italic) {
    font-style: italic;
}
p {
    padding-bottom: 1rem;
    text-align: justify;
    hyphens: auto;
}
h1 {
    margin: 0 0 1rem;
    font-size: 2.3em;
    line-height: 1.2;
    font-style: italic;
}
h2 {
    font-size: 1.8em;
    line-height: 1.3;
    margin-bottom: 0.8rem;
}
h3 {
    font-size: 1.5em;
    line-height: 1.3;
    background: #87BFCC;
    padding: 1rem;
    letter-spacing: 2px;
    font-family: 'Segoe Print', cursive;
    color: #363636;
    text-align: center;
}
h4 {
    font-size: 1.7em;
    line-height: 1.2;
    margin-bottom: 0.3rem;
    font-weight: normal;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    text-decoration: none;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
ul {
    padding: 0 0 1.5rem;
    list-style: none;
}
ul:last-of-type {
    margin-left: 1.5rem;
}
li {
    padding-left: 2rem;
}
li:before {
    content: "•";
    font-size: 1.3em;
    float: left;
    margin: 0 0 0 -2rem;
}
article {
    padding: 1rem 1.5rem 9.4rem;
}
article figure {
    display: none;
}
.contact p a {
    position: relative;
}
footer {
    display: flex;
    justify-content: center;
    margin: -6.5rem 0 2rem;
    z-index: 9;
}
@media only screen and (max-width:799px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        background: #C89B64;
    }
    p :is(a, span) {
        display: inline-block;
    }
    br:not(.contact p br) {
        display: none;
    }
    br {
        display: none;
    }
    h4, h3 {
        font-size: 1.5em;
    }
    h4, .contact p {
        text-align: center;
    }
    .contact p {
        font-size: 1.2em;
    }
    p {
        text-align: left;
    }
    article {
        padding-bottom: 1rem;
    }
    article figure {
        display: flex;
        justify-content: center;
    }
    article p:last-of-type br {
        display: block;
    }
    footer {
        padding: 1rem;
        margin: 0;
        background: #F3EBE0;
    }
    ul {
        hyphens: auto;
    }
    ul:last-of-type {
        margin-left: 0;
    }
}
@media only screen and (max-width:480px) {
    article {
        padding: 1rem;
    }
    li {
        padding-left: 1.3rem;
    }
    li:before {
        margin-left: -1.3rem;
    }
}