@charset "utf-8";
:root {
    font-size: 16px;
}
*, figure {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #fff;
    font: 1.25em/1.3em "Segoe UI", Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 800px;
    margin: 1rem auto;
    border: 1px solid #1161AF;
    background: #1161AF url('../images/bg.jpg') no-repeat right bottom;
    overflow: hidden;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: #fff;
    text-decoration: none;
}
p {
    padding-bottom: 1rem;
}
h1 {
    font-size: 1.1em;
    line-height: 1.3em;
    position: relative;
    padding-left: 2rem;
}
h1:before {
    content: "•";
    font-size: 1.3em;
    float: left;
    margin: 0 0 0 -2rem;
}
h1 sup {
    font-size: 0.8rem;
}
h2 {
    font-size: 1.688em;
    line-height: 1.2;
    margin-bottom: 1rem;
}
img {
    max-width: 100%;
    height: auto;
}
h3 {
    font-size: 1.125em;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 2rem 0 1rem 15rem;
}
header{
    display: flex;
    justify-content: flex-end;
}
.pss{
    position: absolute;
    top: 1rem;
    left: 1rem;
}
article {
    padding: 3rem 2.5rem 2.5rem;
}
article p {
    font-size: 1.125em;
    line-height: 1.3;
}
article>p:last-of-type{
    font-size: 1.25em;
    line-height: 1.3;
}
footer {
        padding: 0 2.5rem 2rem;
    margin-left: 25rem;
}
footer>p {
    margin-top: 1.25rem;
    font-size: 1.125em;
    line-height: 1.3;
    padding-bottom: 0.8rem;
}
footer div {
    position: absolute;
    right: 2rem;
    bottom: 2.125rem;
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    align-items: flex-end;
}
figure {
    margin: 0 0 0.5rem;
}
@media only screen and (max-width: 798px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        background-image: none;
    }
    p :is(a, span) {
        display: inline-block;
    }
    .hide_m {
        display: none;
    }
    p.pss,footer div{
        position: static;
    }
    h1{
        padding-left: 1.5rem;
    }
    h2{
        font-size: 1.6em;
    }
    article {
        padding: 0 1rem 1rem;
    }
    footer{
        padding: 0 1rem 1rem;
        display: flex;
        justify-content: space-between;
        gap: 0 1rem;
         margin-left: 0;
    }
}