@charset "utf-8";
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans-v34-latin-regular.eot');
    src: local(''),
        url('../fonts/open-sans-v34-latin-regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/open-sans-v34-latin-regular.woff2') format('woff2'),
        url('../fonts/open-sans-v34-latin-regular.woff') format('woff'),
        url('../fonts/open-sans-v34-latin-regular.ttf') format('truetype'),
        url('../fonts/open-sans-v34-latin-regular.svg#OpenSans') format('svg');
}
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/open-sans-v34-latin-700.eot');
    src: local(''),
        url('../fonts/open-sans-v34-latin-700.eot?#iefix') format('embedded-opentype'),
        url('../fonts/open-sans-v34-latin-700.woff2') format('woff2'),
        url('../fonts/open-sans-v34-latin-700.woff') format('woff'),
        url('../fonts/open-sans-v34-latin-700.ttf') format('truetype'),
        url('../fonts/open-sans-v34-latin-700.svg#OpenSans') format('svg');
}
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #fff;
    font: 400 1em/1.3em 'Open Sans', Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 800px;
    margin: 1rem auto;
    border: 1px solid #000;
    background: #00384F;
    overflow: hidden;
}
:is(h1, h2, strong) {
    font-weight: 700;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
}
p {
    padding-bottom: 0.5rem;
}
h1 {
    margin: 0 0 0.5rem;
    font-size: 1.25em;
    line-height: 1.3;
    color: #21BDBD;
    width: 140px;
    text-align: center;
    position: absolute;
    right: 4.6rem;
    top: 6rem;
    transform: rotate(2deg);
    z-index: 1;
}
h1 span {
    font-weight: 400;
}
h2 {
    font-size: 3.5em;
    line-height: 1.1;
    margin-bottom: 1rem;
}
h2 span {
    font-weight: 400;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}
.box {
    position: absolute;
    left: 6rem;
    bottom: 12rem;
    z-index: 1;
}
.box p {
    font-size: 1.313em;
    line-height: 1.3;
}
footer {
    position: absolute;
    right: 1.25rem;
    bottom: 3rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 1;
}
footer p {
    width: 257px;
    font-size: 0.875em;
    line-height: 1.3;
}
footer img {
    border-radius: 10px;
}
figure {
    margin: 0;
}
@media only screen and (max-width:799px) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }
    p {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
    p a, span {
        display: inline-block;
    }
    h1 {
        position: static;
        background: #fff;
        transform: none;
        width: auto;
        padding: 1rem;
    }
    h2 br {
        display: none;
    }
    .box {
        position: static;
        padding: 1rem;
    }
    footer {
        position: static;
        padding: 1rem;
    }
    footer p {
        width: auto;
        flex: 1;
    }
}
@media only screen and (max-width:480px) {
    h2 {
        font-size: 2.3em;
    }
    .box p {
        font-size: 1.25em;
    }
}