﻿@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-regular.eot');
    src: local(''), 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-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v30-latin-700.eot');
    src: local(''), 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');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

body {
    font-size: 17px;
    line-height: 21px;
    font-family: 'Roboto', Arial, sans-serif;
    color: #000;
    font-weight: 400;
}

#wrapper {
    position: relative;
    max-width: 490px;
    margin: 0.625rem auto;
    border: 4px solid #0068A2;
    overflow: hidden;
    background-color: #fff;
}

section {
    border-bottom: 1px solid #000;
    border-top: 1px solid #000;
    padding: 6px 16px;
    margin: 5px -16px 3px;
    display: flex;
    justify-content: space-between;
    gap: 5px;
    flex-wrap: wrap;
}

h1 {
    font-size: 33px;
    line-height: 1;
    font-weight: 700;
    text-align: center;
    color: #1191D0;
    font-style: italic;
}

h1 span {
    font-size: 18px;
    line-height: 1;
    display: block;
    color: #000;
    margin-top: 4px;
    font-style: normal;
}

h1 small {
    font-size: 18px;
    line-height: 0;
    font-style: normal;
    color: #000;
}

h2 {
    font-size: 18px;
    margin: 0 0 5px;
    line-height: 22px;
    font-weight: 700;
    text-align: center;
}


p:not(:last-child) {
    margin-bottom: 0;
}


article {
    padding: 8px 16px 0;
}

footer {
    padding: 0 14px 5px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #1191D0;
    text-decoration: none;
}


@media (max-width: 489px) {
    #wrapper {
        hyphens: auto;
        margin: 0;
        border: none;
    }

    header img {
        width: 100%;
    }

    section {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 10px 16px;
        margin: 10px -16px;
    }

    footer {
        justify-content: space-around;
        gap: 12px;
        flex-wrap: wrap;
    }

    p {
        text-align: left;
    }

    br {
        display: none;
    }

    footer br {
        display: inline;
    }

}