@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&family=Jost:ital,wght@0,100..900;1,100..900&display=swap');
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #FFF;
    font: 400 0.875em/1.2em 'Jost', Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 750px;
    min-width: 250px;
    margin: 1rem auto;
    border: solid 1px #000;
    background: url('bg.jpg') no-repeat top left;
    overflow: hidden;
    padding: 0;
}
p {
    padding-bottom: 1rem;
}
h1 {
    margin: 0 0 0.5rem;
    font-size: 1.492em;
    line-height: 1.1;
    text-transform: uppercase;
    font-weight: normal;
    position: absolute;
    top: 9.8rem;
    right: -1.5rem;
}
h1 span {
    font-weight: bold;
}
h1 small {
    font-size: 0.7em;
    text-transform: none;
}
h2 {
    display: none;
}
a {
    color: #001E39;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}
ul {
    padding: 0 0 0.5rem;
    list-style: none;
    position: relative;
}
li {
    padding-left: 1rem;
}
ul li:before {
    content: ">";
    display: inline-block;
    font-size: 0.7em;
    position: relative;
    margin: 0 0.5rem 0 1rem;
    float: left;
}
header {
    padding: 0;
}
article {
    padding: 0.8rem 1rem 0 11.5rem;
}
footer {
    padding: 0.5rem 4rem;
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 0 10rem;
}
.right {
    margin-right: -1rem;
}
.flex {
    display: flex;
    justify-content: space-between;
}
.flex div {
    width: 48%;
}
.flex div:before {
    content: "";
    shape-outside: polygon(0 0, 142px 0, 0 245px);
    width: 300px;
    height: 236px;
    float: left;
    opacity: .2;
}
h1:before {
    content: "";
    shape-outside: polygon(0 0, 95px 0, 0 96px);
    width: 279px;
    height: 90px;
    float: left;
    opacity: .2;
}
.cuttom:before {
    content: "";
    shape-outside: polygon(0 0, 95px 0, 0 96px);
    width: 97px;
    height: 54px;
    float: left;
    opacity: .2;
}
.cuttom {
    margin: -0.5rem 0 0 -10rem;
}
.pss {
    text-align: center;
    text-transform: uppercase;
    position: absolute;
    top: 21.7rem;
    left: 4.5rem;
    font-size: 0.85em;
    transform: rotate(-17deg);
    line-height: 1.3em;
}
.pss span {
    color: #0EB2C1;
}
.pss, .color {
    color: #001E39;
}
.box {
    position: absolute;
    bottom: 5.3rem;
    left: 26.2rem;
}
p {
    position: relative;
    z-index: 999;
}
@media only screen and (max-width:749px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        height: auto;
        background-image: none;
    }
    .box, .center{
        text-align: center !important;
    }
    header img {
        display: block;
    }
    h1 {
        position: static;
        text-align: center;
    }
    h2 {
        font-size: 2.5em;
        line-height: 1.3;
        margin-bottom: 0;
        font-family: serif;
        font-family: "Dancing Script", cursive;
        display: block;
    }
    h2.color {
        color: #001E39;
    }
    .hide_m {
        display: none;
    }
    article {
        background: #0EB2C1;
        padding: 1rem;
    }
    .flex div:before, .cuttom:before, h1:before {
        display: none;
    }
    .pss {
        background: #FFF;
        padding: 1rem;
        transform: rotate(0);
        margin-bottom: 1rem;
    }
    .cuttom {
        margin: 0;
    }
    .box, .pss, h1 {
        position: static;
    }
    footer {
        justify-content: center;
        gap: 0 1rem;
        padding: 1rem;
    }
}
@media only screen and (max-width:600px) {
    .flex {
        flex-direction: column;
    }
    .flex div {
        width: 100%;
    }
}