@charset "utf-8";
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #fff;
    font: 700 1.25em/1.3 Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 610px;
    margin: 1rem auto;
    border: solid 3px #517BA0;
    background: #fff url('../images/bg.jpg') no-repeat top center;
    overflow: hidden;
    height: 833px;
    padding: 0.9375rem;
}
p {
    padding-bottom: 1rem;
}
h1 {
    margin: 0 0;
    font-size: 3.25em;
    line-height: 1.1;
    transform: rotate(-3deg);
    font-weight: 900;
}
h1 :is(span, small) {
    display: block;
}
h1 span:first-of-type {
    color: transparent;
}
h1 span:nth-of-type(2) {
    font-size: 1.45rem;
    line-height: 1.3;
    margin: 0.875rem 0 0.5rem;
}
h1 small {
    display: block;
    text-align: right;
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.3;
}
h2 {
    font-size: 1.125em;
    line-height: 1.3em;
    margin-bottom: 0;
    margin: -2rem 0 1rem 3rem;
}
h3 {
    color: #D90C7A;
    font-size: 1.4em;
    line-height: 1.3;
    margin: 0.25rem 0 2rem 4rem;
}
h2, h3 {
    font-weight: 900;
}
: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 17.5rem;
    list-style: none;
}
li {
    padding: 0 0 0.75rem 0.875rem;
}
ul li:before {
    content: "\2022";
    font-size: 1em;
    float: left;
    margin: -1px 0 0 -0.875rem;
}
header {
    display: flex;
    justify-content: flex-end;
}
article {
    padding: 0 1.5rem;
}
.flex {
    display: flex;
    justify-content: space-between;
    margin: 0 -0.25rem 0 0;
}
footer p {
    padding: 0 0 0 7rem;
    font-size: 2.188em;
    line-height: 1;
}
.font {
    font-size: 1.188em;
    line-height: 1;
    display: block;
}
@media only screen and (max-width: 609px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 1rem 1rem 0;
        height: auto;
        background: #517BA0;
    }
    header {
        justify-content: center;
        padding-bottom: 1rem;
    }
    article {
        padding: 0;
    }
    h1 {
        transform: none;
        text-align: center;
        font-size: 2.5em;
        margin-bottom: 1.5rem;
    }
    h1 span:first-of-type {
        color: inherit;
    }
    h1 span:nth-of-type(2) {
        background-color: #DE0879;
        padding: 0.25rem 0.5rem;
    }
    h1 small {
        text-align: center;
    }
    h2, h3 {
        margin: 0 auto 1.5rem;
        width: fit-content;
        padding: 0.25rem 0.5rem;
        background-color: #33629A;
    }
    h3 {
        background-color: #fff;
    }
    .flex {
        padding: 1rem 1rem 0.25rem;
        background: linear-gradient(#B8257E, #EE9AC2);
        display: block;
    }
    ul {
        padding: 0;
    }
    footer p {
        margin: 1.5rem -1rem 0;
        padding: 0.5rem 1rem;
        background-color: #DE0879;
        text-align: center;
    }
}
@media only screen and (max-width: 480px) {
    body {
        font-size: 1.125em;
    }
    h1 {
        font-size: 2em;
    }
    footer p {
        font-size: 1.75em;
    }
}
@media only screen and (max-width: 380px) {
    h1 {
        font-size: 1.75em;
    }
    footer p {
        font-size: 1.5em;
    }
}