﻿@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');
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 21px;
    line-height: 23px;
    color: #e20816;
    font-weight: 400;
}

#wrapper {
    margin: 1rem auto;
    max-width: 670px;
    background-color: #fff;
    overflow: hidden;
    border: solid thin #cbcbcb;
    justify-content: space-between;
    flex-wrap: wrap;
}

:is(#wrapper, footer, ) {
    display: flex;
}

header {
    width: 100%;
}

header img {
    display: block;
}

article {
    margin: 0 0 1rem 2rem;
    width: 65%;
}

footer {
    width: 29%;
    background: #e20816;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

:is(h2, h3, strong) {
    font-weight: 700;
}

h1 {
    margin: 29px 0 0;
    font-size: 21px;
    line-height: 1.2;
    font-weight: 400;
}

h2 {
    font-size: 24px;
    line-height: 28px;
    margin: 1rem 0;
}

h3 {
    font-size: 22px;
    line-height: 24px;
    margin: 2rem 0 1rem;
}

p:not(:last-child) {
    margin: 0 0 16px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #e20816;
    text-decoration: none;
}

img {
    max-width: 100%;
}

ul {
    margin: 0 0 10px;
    list-style: none;
}

ul li {
    padding-left: 1rem;
}

ul li:before {
    content: "\2022";
    float: left;
    font-family: Arial, sans-serif;
    font-size: 1.5625rem;
    text-indent: -1rem;
}

@media screen and (max-width: 669px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    :is(h1, h2, p) {
        hyphens: auto;
        text-wrap: pretty;
    }

    :is(p a, span) {
        white-space: nowrap;
    }

    h1 br {
        display: none;
    }

    article {
        padding-right: 1rem;
        width: 60%;
    }

    footer {
        width: 33%;
    }
}

@media screen and (max-width: 480px) {
    #wrapper {
        display: block;
    }

    :is(article, footer) {
        width: 100%;
        padding: 1rem;
        margin: 0;
    }

    h2 {
        margin-top: 0;
    }

    .flex-box {
        justify-content: center;
    }
}