@charset "utf-8";
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/roboto-v30-latin-300.eot');
    src: local(''),
        url('../fonts/roboto-v30-latin-300.eot?#iefix') format('embedded-opentype'),
        url('../fonts/roboto-v30-latin-300.woff2') format('woff2'),
        url('../fonts/roboto-v30-latin-300.woff') format('woff'),
        url('../fonts/roboto-v30-latin-300.ttf') format('truetype'),
        url('../fonts/roboto-v30-latin-300.svg#Roboto') format('svg');
}
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/roboto-v30-latin-500.eot');
    src: local(''),
        url('../fonts/roboto-v30-latin-500.eot?#iefix') format('embedded-opentype'),
        url('../fonts/roboto-v30-latin-500.woff2') format('woff2'),
        url('../fonts/roboto-v30-latin-500.woff') format('woff'),
        url('../fonts/roboto-v30-latin-500.ttf') format('truetype'),
        url('../fonts/roboto-v30-latin-500.svg#Roboto') format('svg');
}
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #005480;
    font: 300 1.063em/1.3em 'Roboto', Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 800px;
    margin: 1rem auto;
    border: 1px solid #000;
    background: #fff url('../images/bg.jpg') no-repeat;
    overflow: hidden;
    padding: 3rem 3.5rem 2rem;
    height: 578px;
}
h1, h2, h3, strong {
    font-weight: 500;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
}
p {
    padding-bottom: 0.8rem;
}
h2, h3 {
    color: #2BC4F3;
}
h1 {
    margin: 0;
    font-size: 3.4em;
    line-height: 1.1;
    width: 400px;
}
h2 {
    font-size: 1.8em;
    line-height: 1.3;
    text-transform: uppercase;
    margin-bottom: 4rem;
    width: fit-content;
    position: relative;
    padding-bottom: 0.25rem;
}
h2:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #005480;
}
h3 {
    font-size: 1.7em;
    line-height: 1.3;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}
.white {
    color: #fff;
}
header {
    position: absolute;
    right: 2rem;
    bottom: 4rem;
}
footer {
    margin-top: 3.6rem;
    display: flex;
    gap: 0 2rem;
}
figure {
    margin: 0;
}
@media only screen and (max-width:799px) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }
    :is(p, li) {
        hyphens: auto;
    }
    p a, span {
        display: inline-block;
    }
}
@media only screen and (max-width:700px) {
    #wrapper {
        padding: 0;
        background: #EDEEED;
        height: auto;
    }
    header {
        position: static;
        display: flex;
        justify-content: center;
        background: #2BC4F3;
        padding: 1rem;
    }
    h1 {
        width: auto;
        font-size: 2.5em;
    }
    h2 {
        margin-bottom: 1rem;
    }
    article {
        padding: 1rem 2rem 0;
    }
    footer {
        background: #2BC4F3;
        padding: 1rem 1rem 0;
        margin-top: 0;
        justify-content: center;
    }
}
@media only screen and (max-width:480px) {
    article {
        padding: 1rem;
    }
    footer {
        flex-direction: column;
        align-items: center;
        padding-bottom: 1rem;
    }
    footer p {
        text-align: center;
    }
}