@charset "utf-8";
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #000;
    font: 1.25em/1.3em Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 615px;
    margin: 1rem auto;
    border: solid 2px #000;
    background: url('../images/bg.jpg') no-repeat top center, url('../images/bg2.jpg') no-repeat bottom center, #fff;
    overflow: hidden;
    padding-top: 1rem;
}
h1 {
    font-size: 1.437em;
    line-height: 1.1em;
}
h1 span {
    font-weight: normal;
    font-size: 0.7em;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}
img {
    max-width: 100%;
    height: auto;
}
header {
    position: relative;
}
header a {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
}
article {
    padding: 0.5rem 1.5rem;
}
section {
    background-color: #58595B;
    padding: 0.5rem 0.5rem 0.75rem 1rem;
    border: 4px solid #fff;
    border-left: 0;
    position: absolute;
    top: 110px;
    left: 0;
    transform: skew(0, -4deg);
    width: 65%;
}
section :is(h1, p), footer p {
    color: #fff;
}
section p {
    font-size: 1.375em;
    line-height: 1.3;
}
.color {
    color: #10499F;
}
figure {
    position: absolute;
    bottom: 3rem;
    right: 1.25rem;
}
footer {
    padding: 0.25rem 1rem 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
footer p {
    font-size: 1.063em;
    line-height: 1.3em;
}
footer p a {
    font-size: 1.375em;
}
@media only screen and (max-width: 614px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 0;
        background: #fff;
    }
    section {
        position: static;
        border: 0;
        width: auto;
        margin-bottom: 0.75rem;
        transform: none;
    }
    h1, h2 {
        text-align: center;
        text-align-last: center;
    }
    p span {
        display: inline-block;
    }
    section p {
        text-align: center;
    }
    figure {
        position: static;
        display: flex;
        justify-content: center;
    }
    footer {
        display: block;
    }
    footer p {
        background-color: #808285;
        text-align: center;
        padding: 0.5rem;
        margin-bottom: 1rem;
    }
    footer p:last-of-type {
        background-color: #16479E;
    }
}
@media only screen and (max-width: 614px) {
    body {
        font-size: 1.125em;
    }
    article {
        padding: 0.5rem 1rem;
    }
    footer {
        padding: 0 1rem;
    }
}