@charset "utf-8";
@font-face {
    font-display: swap;
    font-family: 'Dancing Script';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/dancing-script-v29-latin-regular.eot');
    src: url('../fonts/dancing-script-v29-latin-regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/dancing-script-v29-latin-regular.woff2') format('woff2'),
        url('../fonts/dancing-script-v29-latin-regular.woff') format('woff'),
        url('../fonts/dancing-script-v29-latin-regular.ttf') format('truetype'),
        url('../fonts/dancing-script-v29-latin-regular.svg#DancingScript') format('svg');
}
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #152819;
    font: 1.2em/1.3em "Calibri", Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 530px;
    margin: 1rem auto;
    border: solid 1px #000;
    overflow: hidden;
    padding: 1rem 1rem 0;
    background: url('../images/bg.jpg') repeat-x #71C06F;
}
p {
    padding-bottom: 1rem;
}
p.fwb, h1{
     color: #415C39;
}
p.fwb {
    font: 900 1.5em/1.3em Arial, sans-serif;
}
p span.ff {
    font-family: 'Dancing Script', cursive;
    font-size: 1.7em;
}
h1 {
       margin: 0 0 0.5rem;
    font-size: 1.392em;
    line-height: 1.1;
    position: absolute;
    top: -10.5rem;
    right: -0.3rem;
    text-align: center;
    width: 200px;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: #152819;
    text-decoration: none;
}
img {
    max-width: 100%;
    height: auto;
}
ul {
    padding: 0 0 0.5rem;
    list-style: none;
    font-weight: bold;
}
ul li {
    padding: 0 0 0.8rem 2.5rem;
}
ul li:before {
    content: url('../images/icon.png');
    font-size: 1.3em;
    float: left;
    margin: 0 0 0 -2.5rem;
}
header figure{
    margin: 0 -1rem;
}
article {
    position: relative;
    padding: 1rem 2.5rem;
}
.logo {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}
.bg {
    background: #FFF;
    display: inline-block;
    padding: 1rem 0.5rem;
    position: absolute;
    bottom: -4rem;
    right: 1rem;
    border-radius: 40px;
    color: #09AC69;
    margin-bottom: 1rem;
}
.flex {
    display: flex;
    justify-content: space-between;
    padding-left: 2rem;
    margin-bottom: 2rem;
}
.qr {
    margin: 3rem 2rem 0 0;
    display: flex;
    justify-content: start;
    align-items: flex-end;
    gap: 0 0.5rem;
}
.qr>figure {
    margin-bottom: -1rem;
}
footer p {
    text-align: center;
}
footer >p:last-of-type{
    font-size: 0.8em;
}
@media only screen and (max-width: 529px) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }
    p :is(a, span) {
        display: inline-block;
    }
    h1{
        width: auto;
    }
    h1, .bg {
        position: static;
        text-align: center;
        display: block;
    }
    article {
        padding: 0;
    }
    .flex {
        flex-direction: column;
        padding: 0;
    }
    .qr {
        justify-content: center;
        margin: 0;
    }
}