@charset "utf-8";
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #000000;
    font: 400 1em/1.3em Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 930px;
    margin: 1rem auto;
    border: solid 1px #000;
    background: #fff url('../images/bg.jpg') bottom left no-repeat;
    overflow: hidden;
    padding: 2rem;
}
p {
    padding-bottom: 1rem;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: #CD0D40;
    text-decoration: none;
}
img {
    max-width: 100%;
    height: auto;
}
h1 {
    margin: 0 0 1rem;
    font-size: 1em;
    line-height: 1.3;
    font-weight: normal;
}
h2 {
    font-size: 2em;
    line-height: 1.3em;
    margin-bottom: 1rem;
}
h2 span {
    font-weight: normal;
}
header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: -4rem;
}
article {
    width: 42%;
    margin-bottom: 16rem;
}
article figure {
    opacity: 0;
}
footer {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    position: absolute;
    bottom: 4rem;
    right: 3rem;
}
footer p {
    text-align: right;
    padding: 0;
    text-shadow: 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff;
}
footer img {
    box-shadow: 0 0 10px #fff;
}
footer figure {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}
footer i {
    color: #72828B;
    font-size: 1.25em;
}
@media only screen and (max-width:929px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        background: linear-gradient(to bottom, #fff, #D9DEE2);
    }
    p {
        text-align: left;
        -moz-hyphens: auto;
        -o-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
    p :is(span, a) {
        display: inline-block;
    }
    header {
        margin: 0 0 1rem;
        justify-content: center;
    }
    article {
        margin: 0;
        width: auto;
    }
    article figure {
        opacity: 1;
        margin: 0 -2rem;
    }
    footer {
        position: static;
        width: fit-content;
        margin: 1rem auto 0;
    }
}
@media only screen and (max-width:480px) {
    #wrapper {
        padding: 1rem;
    }
    article figure {
        margin: 0 -1rem;
    }
}