@charset "utf-8";
@font-face {
  font-display: swap;
  font-family: 'Charmonman';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/charmonman-v20-latin-700.eot'); /* IE9 Compat Modes */
  src: url('../fonts/charmonman-v20-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/charmonman-v20-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/charmonman-v20-latin-700.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('../fonts/charmonman-v20-latin-700.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('../fonts/charmonman-v20-latin-700.svg#Charmonman') format('svg'); /* Legacy iOS */
}
@font-face {
  font-display: swap;
  font-family: 'Roboto Slab';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/roboto-slab-v36-latin-500.eot'); /* IE9 Compat Modes */
  src: url('../fonts/roboto-slab-v36-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/roboto-slab-v36-latin-500.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/roboto-slab-v36-latin-500.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('../fonts/roboto-slab-v36-latin-500.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('../fonts/roboto-slab-v36-latin-500.svg#RobotoSlab') format('svg'); /* Legacy iOS */
}
@font-face {
  font-display: swap; 
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/work-sans-v24-latin-regular.eot'); /* IE9 Compat Modes */
  src: url('../fonts/work-sans-v24-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/work-sans-v24-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/work-sans-v24-latin-regular.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('../fonts/work-sans-v24-latin-regular.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('../fonts/work-sans-v24-latin-regular.svg#WorkSans') format('svg'); /* Legacy iOS */
}
@font-face {
  font-display: swap; 
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/work-sans-v24-latin-700.eot'); /* IE9 Compat Modes */
  src: url('../fonts/work-sans-v24-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/work-sans-v24-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/work-sans-v24-latin-700.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('../fonts/work-sans-v24-latin-700.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('../fonts/work-sans-v24-latin-700.svg#WorkSans') format('svg'); /* Legacy iOS */
}
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #000;
    font: 400 1em/1.3 'Work Sans', Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 840px;
    margin: 1rem auto;
    border: solid 1px #000;
    background: #fff url('../images/bg.jpg') no-repeat top center;
    overflow: hidden;
    height: 559px;
    padding: 1.75rem 4.75rem 1rem 5rem;
}
p {
    padding-bottom: 0.5rem;
}
h1 {
    margin: 0 0 1.125rem;
    font-size: 1.3em;
    line-height: 1.1em;
}
h2 {
    font-size: 1.5em;
    line-height: 1.1;
}
h2 span {
    font-size: 1.25em;
}
h2 span, h3 {
    color: #BB2B42;
    font-family: 'Charmonman', cursive;
    font-weight: 700;
}
h3 {
    font-size: 1.688em;
    line-height: 1.25;
}
h4, h4 + p {
    color: #fff;
}
h4 {
    font-size: 1.25em;
    line-height: 1.1;
    margin: 2.25rem 0 0.5rem;
    padding-bottom: 0.75rem;
    position: relative;
}
h4::before {
    content: "";
    width: 1.5rem;
    height: 2px;
    background-color: #fff;
    position: absolute;
    bottom: 0;
    left: 0.5rem;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}
img {
    max-width: 100%;
    height: auto;
}
ul {
    padding: 0 0 0.25rem;
    list-style: none;
}
li, .box p, h3 {
    padding-left: 1.75rem;
}
li:not(:last-of-type) {
    padding-bottom: 0.625rem;
}
ul li:before {
    content: "";
    width: 20px;
    height: 21px;
    background: url('../images/icon.jpg') no-repeat center;
    float: left;
    margin: -1px 0 0 -1.75rem;
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header p {
    padding: 0;
    font: 500 1.125em/1.3 'Roboto Slab', 'Times New Roman', Times, serif;
    text-align: right;
}
article {
    padding: 0.75rem 2.25rem 0;
}
.box {
    transform: rotate(-2.5deg);
}
.box :is(p, li) {
    font-size: 1.1em;
    line-height: 1.3;
}
.qr {
    position: absolute;
    right: 107px;
    bottom: 66px;
    transform: rotate(-5deg);
}
footer p {
    text-align: center;
    color: #28979F;
    padding: 1.75rem 1rem 1rem 2.5rem;
}
@media only screen and (max-width: 839px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        height: auto;
        background: #fff;
    }
    header {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding-bottom: 1rem;
    }
    br {
        display: none;
    }
    article {
        padding: 1rem 1rem 0;
        background-color: #B1DCE0;
        border-radius: 30px 30px 0 0;
    }
    h1, h2 {
        text-align: center;
        margin-bottom: 1rem;
    }
    .box {
        background-color: #fff;
        transform: none;
        padding: 0.5rem;
        border-radius: 30px;
    }
    .box1 {
        background-color: #28979F;
        margin: 0 -1rem;
        padding: 1rem;
    }
    h4 {
        margin: 0 0 0.5rem;
    }
    h4, h4 + p, header p {
        text-align: center;
    }
    h4::before {
        left: 50%;
        transform: translateX(-50%);
    }
    .qr {
        transform: none;
        right: 7rem;
        bottom: 12.75rem;
    }
    footer p {
        padding: 1rem;
        background-color: #D9EAEB;
    }
}
@media only screen and (max-width: 780px) {
    #wrapper {
        padding: 1rem 2rem;
    }
    .qr {
        right: 4rem;
    }
}
@media only screen and (max-width: 585px) {
    .qr {
        position: static;
        display: flex;
        justify-content: center;
        margin: 1rem 0;
    }
}   
@media only screen and (max-width: 480px) {
    #wrapper {
        padding: 1rem 0.5rem;
    }
}