@charset "utf-8";
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #fff;
    font: 400 1.125em/1.3em Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 600px;
    margin: 1rem auto;
    border: 1px solid #000;
    background: #4879A5 url('../images/bg.jpg') no-repeat;
    overflow: hidden;
    height: 986px;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
}
p {
    padding-bottom: 0.5rem;
    text-shadow: 2px 0px 4px rgba(0, 0, 0, 0.92);
}
h1 {
    margin: 7.5rem 0 2rem;
    font-size: 3em;
    line-height: 1.4;
}
h1 sup {
    font-size: 0.45em;
}
h1+p {
    font-size: 1.125em;
    line-height: 1.3;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}
.text {
    font-size: 1.55em;
    line-height: 1.3;
}
article {
    padding: 0 2rem;
}
footer p {
    position: absolute;
    right: 6.8rem;
    bottom: 4rem;
}
.logo {
    margin: 7rem 0 0;
}
@media only screen and (max-width: 599px) {
    body {
        font-size: 1em;
        line-height: 1.3;
    }
    #wrapper {
        border: none;
        margin: 0 auto;
        background: #4879A5;
        height: auto;
    }
    p a, span {
        display: inline-block;
    }
    h1 {
        font-size: 1.8em;
        margin: 0 0 1rem;
    }
    .text {
        padding: 1rem 0;
    }
    .title {
        background: #008B7A;
        margin: 0 0 1rem -2rem;
        padding: 1rem 0.5rem 0 2rem;
        border-radius: 0 32px 32px 0;
    }
    p {
        text-align: center;
    }
    .logo {
        display: flex;
        justify-content: center;
        margin: 1rem 0;
    }
    footer p, .text {
        position: static;
        padding: 1rem;
    }
}
@media only screen and (max-width:480px) {
    article {
        padding: 0 1rem;
    }
    h1 {
        font-size: 1.6em;
    }
    h1 sup {
        font-size: 0.7em;
    }
}