@font-face {
    font-family: 'Rift Soft Demi';
    src: url('RiftSoft-Demi.woff2') format('woff2'), url('RiftSoft-Demi.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Pressio No. 54';
    src: url('Pressio-No54.woff2') format('woff2'), url('Pressio-No54.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
}

body {
    font-family: 'Rift Soft Demi', Arial, sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.2;
    color: #000;
}

#wrapper {
    max-width: 586px;
    margin: 16px auto;
    border: 1px solid #000;
    background-color: #8CD6E8;
    overflow: hidden;
    position: relative;
}

header {
    padding: 1px 16px;
    background: #212465;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

article {
    padding: 5px 16px 0;
    position: relative;
}

.banner {
    position: relative;
}

.qrcode {
    position: absolute;
    top: 4%;
    right: -2%;
}

.font {
    font-size: 22px;
}

.font:before {
    font-size: 26px;
}

.font1 {
    font-size: 21px;
}

.font1:before {
    font-size: 25px;
}

.font2 {
    font-size: 26px;
}

.font2:before {
    font-size: 25px;
}

.font3 {
    font-size: 23px;
}

.font3:before {
    font-size: 25px;
}

.font4 {
    font-size: 29px;
}

.font4:before {
    font-size: 29px;
}

.font5 {
    font-size: 23px;
}

.font5:before {
    font-size: 23px;
}

.font6 {
    font-size: 23px;
}

.font6:before {
    font-size: 23px;
}

.font7 {
    font-size: 18px;
}

.font7:before {
    font-size: 19px;
}

.font8 {
    font-size: 21px;
}

.font8:before {
    font-size: 23px;
}

.font9 {
    font-size: 23px;
}

.font9:before {
    font-size: 27px;
}

.background {
    background: url(background1.png) no-repeat;
    width: 238px;
    height: 251px;
    padding: 21px 0 0 20px;
    margin-top: -77px;
    position: relative;
}

.background h4 {
    margin: 0 40px 4px 0;
    transform: rotate(-9deg);
    line-height: 1.1;
}

.background ul {
    margin: 0 0 0 16px;
}

.background2 h4 {
    margin: 5px 0 27px 10px;
    transform: rotate(15deg);
    line-height: 1.1;
    font-size: 26px;
}

.background2 ul {
    font-size: 20px;
}

.background2 {
    background: url(background2.png) no-repeat;
    width: 292px;
    padding: 30px 0 0 0;
    height: 325px;
    position: absolute;
    bottom: 9%;
    right: 2%;
}

.background3 {
    background: url(background3.png) no-repeat;
    width: 281px;
    height: 178px;
    padding: 20px 0 0 0;
}

.background3 h4 {
    margin: 2px 77px 8px 0;
    transform: rotate(-10deg);
    line-height: 1.1;
    font-size: 22px;
}

.background3 ul {
    font-size: 20px;
    transform: rotate(-10deg);
}

footer {
    padding: 6px 16px;
    background: #4F7ABD;
    margin-top: -7px;
}

footer p {
    font-family: 'Pressio No. 54', Arial, sans-serif;
    font-size: 20px;
    color: #fff;
    text-align: center;
}

.text {
    display: flex;
    gap: 10px;
    font-family: 'Pressio No. 54', Arial, sans-serif;
    font-size: 19px;
}

.text a {
    color: #fff !important;
}

strong {
    font-weight: 700;
}

h1 {
    margin: 0;
    font-size: 42px;
    font-weight: 700;
    font-family: 'Pressio No. 54', Arial, sans-serif;
    color: #213370;
    text-align: center;
    line-height: 1;
}

h1 span {
    font-size: 30px;
}

h2 {
    font-size: 43px;
    font-weight: 900;
    font-family: "Rubik", Arial, sans-serif;
    color: #fff;
}

h3 {
    margin-bottom: 2px;
    font-size: 26px;
    font-weight: 700;
    font-family: 'Pressio No. 54', Arial, sans-serif;
    text-align: center;
    color: #213370;
}

h4 {
    font-size: 18px;
    font-weight: 800;
    font-family: "Rubik", Arial, sans-serif;
    color: #D44078;
    text-align: center;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    white-space: nowrap;
    text-decoration: none;
}

ul {
    list-style: none;
    color: #8ACCDB;
    text-align: center;
}

ul li {
    position: relative;
}

ul li:before {
    content: '\2022';
    font-size: 21px;
    line-height: 0;
    font-family: Arial, sans-serif;
    margin-right: 11px;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

.nobr {
    white-space: nowrap;
}

@media (max-width: 585px) {
    #wrapper {
        margin: 0;
        border: none;
    }

    p,
    ul {
        hyphens: auto;
    }

    br:not(.br br) {
        display: none;
    }
}

@media (max-width: 569px) {
    header {
        flex-direction: column;
        align-items: center;
        padding: 10px 16px;
    }
}

@media (max-width: 559px) {
    .background2 {
        position: static;
        margin: -3% 0 0 auto;
    }

    .background3 {
        margin-top: -8%;
    }

    .background {
        margin-top: -18%;
    }
}

@media (max-width: 419px) {
    .qrcode {
        width: 26%;
    }
}

@media (max-width: 369px) {
    .text {
        font-size: 16px;
    }
}