@charset "utf-8";
@font-face {
    font-display: swap;
    font-family: 'Titillium Web';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/titillium-web-v17-latin-regular.eot');
    src: url('../fonts/titillium-web-v17-latin-regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/titillium-web-v17-latin-regular.woff2') format('woff2'),
        url('../fonts/titillium-web-v17-latin-regular.woff') format('woff'),
        url('../fonts/titillium-web-v17-latin-regular.ttf') format('truetype'),
        url('../fonts/titillium-web-v17-latin-regular.svg#TitilliumWeb') format('svg');
}
@font-face {
    font-display: swap;
    font-family: 'Titillium Web';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/titillium-web-v17-latin-600.eot');
    src: url('../fonts/titillium-web-v17-latin-600.eot?#iefix') format('embedded-opentype'),
        url('../fonts/titillium-web-v17-latin-600.woff2') format('woff2'),
        url('../fonts/titillium-web-v17-latin-600.woff') format('woff'),
        url('../fonts/titillium-web-v17-latin-600.ttf') format('truetype'),
        url('../fonts/titillium-web-v17-latin-600.svg#TitilliumWeb') format('svg');
}
:root {
    font-size: 16px;
}
*,
figure {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #fff;
    font: 400 1.25em/1.3em 'Titillium Web', Arial, sans-serif;
}
h1, strong {
    font-weight: 600;
}
#wrapper {
    position: relative;
    max-width: 800px;
    margin: 1rem auto;
    border: solid 2px #4E6B8B;
    background: #fff url('../images/bg.jpg') no-repeat bottom right;
    overflow: hidden;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    white-space: nowrap;
    text-decoration: none;
}
a.indigo {
    color: #4C6B89;
}
p {
    padding-bottom: 1rem;
}
h1 {
    margin: 0 0 1rem;
    font-size: 2.5em;
    line-height: 1.3em;
    color: #516B8B;
}
header p {
    padding: 1rem 1.7rem;
}
header figure {
    position: absolute;
    top: 16rem;
    right: 2rem;
}
article {
    position: relative;
    padding: 1.5rem 1rem 1rem 3.5rem;
}
article p {
    color: #000;
}
article figure {
    position: absolute;
    right: 2.25rem;
    bottom: 5.85rem;
}
.width {
    width: 65%;
}
footer {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 1rem 2.5rem 0.25rem 3.5rem;
}
footer p {
    color: #FFF;
    line-height: 1.4;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}
@media only screen and (max-width:799px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        background: #fff;
    }
    p :is(span, a) {
        display: inline-block;
    }
    :is(header, article) figure {
        position: static;
        display: flex;
        justify-content: center;
    }
    .hide_m {
        display: none;
    }
    .width {
        width: auto;
    }
    article,footer {
        padding: 1rem 2rem;
    }
    h1 {
        font-size: 2em;
    }
    footer {
        padding: 1rem 2rem;
        background: #577A9A;
    }
}
@media only screen and (max-width:580px) {
    body {
        font-size: 1.125em;
    }
    h1 {
        font-size: 1.5em;
    }
    article,footer,header p {
        padding: 1rem;
    }
    footer {
        display: block;
    }
    .logo {
        display: flex;
        justify-content: center;
    }
    footer p {
        text-align: center;
    }
}