@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,h3){
    text-align: center;
}
p {
    padding-bottom: 1rem;
    text-align: justify;
    hyphens: auto;
}
h1  {
    margin: 0 0 2rem;
    font-size: 1.7em;
    line-height: 1.2;
}
h2 {
    font-size: 1.2em;
    line-height: 1.3;
    margin-bottom: 0.8rem;
    text-decoration: underline;
    font-style: italic;
}
h3 {
    font-size: 3.3em;
    line-height: 1.3;
    background: #87BFCC;
    padding: 1rem;
    letter-spacing: 2px;
    font-family: 'Segoe Print' , cursive;
    color: #363636;
}
h4 {
    font-size: 2em;
    line-height: 1.3;
}
: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;
}
li {
    padding-left: 2rem;
}
li:before {
    content: "•";
    font-size: 1.3em;
    float: left;
    margin: 0 0 0 -2rem;
}
article {
    padding: 1rem 1.5rem 14.4rem;
}
article figure{
    display: none;
}
.contact p {
    font-size: 1.5em;
    line-height: 1.3em;
}
.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;
    }
    
    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;
    }
    footer{
        padding: 1rem;
        margin: 0;
        background: #F3EBE0;
    }
    ul {
        hyphens: auto;
    }
}
@media only screen and (max-width:480px) {
    article {
        padding: 1rem;
    }
    li {
        padding-left: 1.3rem;
    }
    li:before {
        margin-left: -1.3rem;
    }
}   