@font-face {font-family: 'Roboto Condensed'; font-style: normal; font-weight: 400; src: url('../fonts/roboto-condensed-v25-latin-regular.eot'); src: local(''), url('../fonts/roboto-condensed-v25-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-condensed-v25-latin-regular.woff2') format('woff2'), url('../fonts/roboto-condensed-v25-latin-regular.woff') format('woff'), url('../fonts/roboto-condensed-v25-latin-regular.ttf') format('truetype'), url('../fonts/roboto-condensed-v25-latin-regular.svg#RobotoCondensed') format('svg'); }
@font-face {font-family: 'Roboto Condensed'; font-style: normal; font-weight: 700; src: url('../fonts/roboto-condensed-v25-latin-700.eot'); src: local(''), url('../fonts/roboto-condensed-v25-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-condensed-v25-latin-700.woff2') format('woff2'), url('../fonts/roboto-condensed-v25-latin-700.woff') format('woff'), url('../fonts/roboto-condensed-v25-latin-700.ttf') format('truetype'), url('../fonts/roboto-condensed-v25-latin-700.svg#RobotoCondensed') format('svg'); }

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
}

body {
    font-family: 'Roboto Condensed', Arial, sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 23px;
    color: #fff;
}

#wrapper {
    margin: 1rem auto;
    max-width: 960px;
    background: #d6e0ec;
    border: solid thin #cbcbcb;
    position: relative;
}

header {
    position: relative;
}

header img:nth-of-type(2){
    display: none;
}

header>a:nth-of-type(2){position: absolute;bottom: 13%;right: 3%;height: 20%;width: 10%;z-index: 999;}

article {
    position: absolute;
    left: 30px;
    top: 208px;
}

.bottom{
    margin-bottom: 31px;
}

.flex-box{
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 24px 0 16px;
}

.flex-box-content:nth-of-type(1){
    width: 76%;
}

small img{
    position: relative;
    top: 6px;
}

.margin-bottom{
    margin-bottom: 0;
}


:is(h1, h2, strong){
    font-weight: 700;
}

h1 {
    font-size: 65px;
    line-height: 1;
}

h1 span {
    font-size: 56%;
    font-weight: 400;
}

h2 {
    font-size: 18px;
    margin: 0 0 10px;
    color: #003d68;
    line-height: 1.2;
}

p {
    margin-bottom: 16px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #fff;
    text-decoration: none;
}

img {
    max-width: 100%;
}

.left{
    margin-left: 10px;
}

footer {
    padding: 16px 30px;
}

.footer-flex{
    display: flex;
    justify-content: space-between;
    gap: 4px;
    align-items: center;
}

@media screen and (max-width: 959px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    header img:nth-of-type(2){
        display: block;
    }

    article{
        position: static;
        background: #004472;
        padding: 20px;
        margin-top: -3px;
    }

    :is(h1, h2, p) {
        hyphens: auto;
        text-wrap: pretty;
    }

    :is(p a, span) {
        white-space: nowrap;
    }

    br:not(br.mobile-block), header img:nth-of-type(1) {
        display: none;
    }

    .left{
        margin-left: 0;
    }

    footer {
        padding: 16px 20px;
    }
}

@media screen and (max-width: 805px) {
    .footer-flex{
        flex-wrap: wrap;
        justify-content: center;
    }

    h1{
        font-size: 40px;
    }

    h2{
        text-align: center;
    }
}

@media screen and (max-width: 530px) {
    .flex-box{
        flex-direction: column;
    }

    .flex-box-content:nth-of-type(1){
        width: 100%;
    }

    h1{
        font-size: 38px;
    }

    :is(h1, h2, p){
        text-align: center;
    }
}