@charset "utf-8";
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #6B747C;
    font: 400 1.25em/1.4em Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 550px;
    margin: 1rem auto;
    border: solid 1rem #329DD3;
    background: #fff url('../images/bg.jpg') top left no-repeat;
    overflow: hidden;
    padding: 0;
}
p {
    padding-bottom: 0.5rem;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}
h1 {
    margin: 1rem 0 2.5rem;
  font-size: 1.313em;
  line-height: 1.3;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  transform: rotate(-1.5deg);
}

h2 {
    font-size: 1em;
    line-height: 1.3em;
    margin-bottom: 0;
}
ul {
    padding: 0 0 1.5rem;
    list-style: none;
}
li {
    padding-left: 1rem;
}
li:before {
    content: "•";
    float: left;
    color: #FADE0C;
    margin: -1px 0 0 -1rem;
}
header {
    opacity: 0;
}
article {
    padding: 0 3rem;
}
footer {
   padding: 0 3rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: -2.5rem;
}
@media only screen and (max-width:549px) {
    body{
        font-size: 1em;
        line-height: 1.3;
    }
    #wrapper {
        border: none;
        margin: 0 auto;
        background-image: none;
    }
    p {
        -moz-hyphens: auto;
        -o-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
    p :is(span, a) {
        display: inline-block;
    }
    header {
        opacity: 1;
    }
    h1 br{
        display: none;
    }

    h1 {
        padding: 1rem;
        transform: none;
        background: #1FA2D8;
        margin: 0 -1rem 1rem;
    }
    article {
        padding: 0 1rem;
    }
    footer {
        padding: 0 1rem 1rem;
        margin: 0;
        gap: 1rem;
    }
}