@charset "utf-8";
@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/source-sans-pro-v21-latin-regular.eot');
    src: local(''),
        url('../fonts/source-sans-pro-v21-latin-regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/source-sans-pro-v21-latin-regular.woff2') format('woff2'),
        url('../fonts/source-sans-pro-v21-latin-regular.woff') format('woff'),
        url('../fonts/source-sans-pro-v21-latin-regular.ttf') format('truetype'),
        url('../fonts/source-sans-pro-v21-latin-regular.svg#SourceSansPro') format('svg');
}
@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/source-sans-pro-v21-latin-700.eot');
    src: local(''),
        url('../fonts/source-sans-pro-v21-latin-700.eot?#iefix') format('embedded-opentype'),
        url('../fonts/source-sans-pro-v21-latin-700.woff2') format('woff2'),
        url('../fonts/source-sans-pro-v21-latin-700.woff') format('woff'),
        url('../fonts/source-sans-pro-v21-latin-700.ttf') format('truetype'),
        url('../fonts/source-sans-pro-v21-latin-700.svg#SourceSansPro') format('svg');
}
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #123860;
    font: 400 1.1em/1.3em 'Source Sans Pro', Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 511px;
    margin: 1rem auto;
    border: solid 1px #000;
    background-color: #fff;
    overflow: hidden;
    padding: 1rem 1rem 0;
}
h1, strong {
    font-weight: 700;
}
p {
    padding-bottom: 1rem;
}
h1,h2{
    color: #1768B4;
    padding-left: 2rem;
}
h2{
    font-size: 1em;
    line-height: 1.3em;
    font-weight: 400;
}
h1 {
    margin: 0 0 1rem;
    font-size: 1.692em;
    line-height: 1.1;
    text-transform: uppercase;
}
h1 span {
    color: #123860;
    font-weight: normal;
    position: absolute;
    top: 10.7rem;
    right: 1rem;
    transform: rotate(-90deg);
    font-size: 0.5em;
    line-height: 1.3em;
}
h1:before {
    content: url('../images/icon.jpg');
    font-size: 1.3em;
    float: left;
    margin: -7px 0 0 -2rem;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: #123860;
    text-decoration: none;
}
img {
    max-width: 100%;
    height: auto;
}
article figure {
    position: absolute;
    bottom: 7rem;
    right: 1rem;
}
footer {
    padding: 1rem 1rem 0;
    margin: 0 -1rem;
    background: linear-gradient(to right, #123962, #1867B2);
}
footer :is(p, a) {
    color: #FFF !important;
}
.flex, footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.flex {
    gap: 0 4rem;
}
@media only screen and (max-width:510px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 1rem;
    }
    p :is(a, span) {
        display: inline-block;
    }
    article figure {
        position: static;
        display: flex;
        justify-content: center;
        margin-bottom: 1rem;
    }
    article br {
        display: none;
    }
    footer {
        flex-direction: column;
    }
    h1 span {
        position: static;
    }
}
@media only screen and (max-width: 480px) {
    .flex {
        flex-direction: column;
    }
    footer p {
        text-align: center;
    }
    h1{
        font-size: 1.35em;
    }
}