﻿@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v32-latin-regular.eot');
    src: url('../fonts/roboto-v32-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v32-latin-regular.woff2') format('woff2'), url('../fonts/roboto-v32-latin-regular.woff') format('woff'), url('../fonts/roboto-v32-latin-regular.ttf') format('truetype'), url('../fonts/roboto-v32-latin-regular.svg#Roboto') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v32-latin-700.eot');
    src: url('../fonts/roboto-v32-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v32-latin-700.woff2') format('woff2'), url('../fonts/roboto-v32-latin-700.woff') format('woff'), url('../fonts/roboto-v32-latin-700.ttf') format('truetype'), url('../fonts/roboto-v32-latin-700.svg#Roboto') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    color: #213f79;
    line-height: 1.25rem;
    font-size: 14px;
    font-weight: 400;
}

#wrapper {
    position: relative;
    max-width: 800px;
    margin: 1rem auto;
    border: 1px solid #213f79;
    overflow: hidden;
    display: flex;
    background-color: #fff;
    flex-wrap: wrap;
    gap: 4%;
}

header {
    width: 48%;
}

article {
    width: 45%;
}

footer {
    margin: -10% 0 0 52%;
    width: 48%;
}

strong {
    font-weight: 700;
}

.flex {
    display: flex;
    gap: 20px;
    align-items: center;
    border-bottom: 1px solid #213f79;
    margin: 2rem 0;
    padding: 0 0 13px;
}

h1 {
    margin: 2rem 0;
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;
    padding: 0 0 0 20px;
}

h1 span {
    position: relative;
}

h1 span:before {
    content: "\2012";
    position: absolute;
    top: 0;
    left: 0;
    font-family: Arial, sans-serif;
    font-size: 1rem;
    text-indent: -1.25rem;
}

h2 {
    font-size: 31px;
    margin: 2rem 0;
    line-height: 36px;
    font-weight: 400;
    color: #1fb8f1;
}

h2 strong {
    display: block;
    font-size: 80%;
}

p {
    margin: 0 0 1rem;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #213f79;
    white-space: nowrap;
    text-decoration: none;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

footer span {
    white-space: nowrap;
}

@media all and (max-width:799px) {
    #wrapper {
        margin: 0 auto;
        border: none;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }

    br:not(footer br) {
        display: none;
    }
}

@media all and (max-width:760px) {
    footer {
        padding: 1rem;
        text-align: center;
        width: 100%;
        margin: 0;
    }
}

@media all and (max-width:635px) {
    #wrapper {
        display: block;
        padding: 1rem;
    }

    header {
        display: flex;
        justify-content: center;
        width: auto;
    }

    .flex {
        justify-content: center;
        margin: 0;
    }

    article {
        width: 100%
    }

    :is(h1, h2, p) {
        text-align: center; } }