﻿@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-regular.eot');
    src: url('../fonts/roboto-v30-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-regular.woff2') format('woff2'), url('../fonts/roboto-v30-latin-regular.woff') format('woff'), url('../fonts/roboto-v30-latin-regular.ttf') format('truetype'), url('../fonts/roboto-v30-latin-regular.svg#Roboto') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v30-latin-700.eot');
    src: url('../fonts/roboto-v30-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-700.woff2') format('woff2'), url('../fonts/roboto-v30-latin-700.woff') format('woff'), url('../fonts/roboto-v30-latin-700.ttf') format('truetype'), url('../fonts/roboto-v30-latin-700.svg#Roboto') format('svg');
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #242021;
    font-weight: 400;
}

#wrapper {
    max-width: 600px;
    margin: 1rem auto;
    border: solid thin #242021;
    overflow: hidden;
}

.border {
    border-right: solid 10px #015BAA;
}

:is(strong, h1, h2) {
    font-weight: 700;
}

header {
    position: relative;
}

article {
    margin: -35px 0 0;
    padding: 0 25px;
    position: relative;
}

article div {
    background: url('../images/background.png') no-repeat;
    width: 284px;
    height: 171px;
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 10px 6px 0;
}

article div :is(p, a) {
    color: #fff !important;
}

article div p {
    text-align: right;
}

footer {
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

footer p {
    color: #015BAA;
    font-family: "Arial Narrow", Arial, sans-serif;
    line-height: 16px;
}

h1 {
    font-size: 26px;
    line-height: 28px;
    position: absolute;
    bottom: 58px;
    left: 25px;
    color: #fff;
}

h1 span {
    font-size: 16px;
    display: block;
}

h2 {
    font-size: 18px;
    margin: 10px 0;
    line-height: 22px;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

p:not(:last-child) {
    margin-bottom: 8px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #015BAA;
    text-decoration: none;
    white-space: nowrap;
}

ul {
    list-style: none;
}

ul li {
    padding-left: 17px;
}

li:before {
    text-indent: -17px;
    content: "\2022";
    color: #242021;
    float: left;
    margin-top: 0;
    font-size: 21px;
    font-family: Arial, sans-serif;
}

@media screen and (max-width:598px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }
}

@media screen and (max-width:595px) {
    h1 {
        background: #005AAB;
        padding: 16px;
        margin: 17px 0 0;
        position: relative;
        left: 0;
    }

    .border {
        border-right: none;
    }

    br:not(footer br) {
        display: none;
    }

    article div {
        background: #005AAB;
        position: static;
        width: 100%;
        height: auto;
        padding: 16px;
        margin-top: 16px;
    }

    :is(article div, footer) p {
        text-align: center;
    }

    article {
        padding-left: 16px;
        padding-right: 16px;
    }

    footer {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        padding: 16px;
    }
}

@media screen and (max-width:410px) {
    h1 {
        margin: 25px 0 0;
    }
}