﻿@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: #000;
    line-height: 1.25rem;
    font-size: 1rem;
    font-weight: 400;
}

#wrapper {
    position: relative;
    max-width: 800px;
    margin: 1rem auto;
    border: none;
    overflow: hidden;
    background-color: #fff;
}

header {
    position: relative;
    border: 20px solid #e31f26;
}

article {
    border-left: 20px solid #e31f26;
    border-right: 20px solid #e31f26;
    padding: 1.5rem 1.5rem 0.5rem;
}

footer {
    background: #0a0a0a;
    padding: 10px 1.5rem;
}

footer :is(p, h4, a) {
    color: #FFF !important;
    text-align: center;
}

:is(strong, h1, h2, h3) {
    font-weight: 700;
}

h1 {
    margin: 0 auto;
    font-size: 52px;
    line-height: 1.1;
    background: #e31f26;
    padding: 5px 1rem;
    text-align: center;
}

h1 small {
    font-size: 16px;
    font-weight: normal;
}

h2 {
    font-size: 22px;
    margin: 1rem 0;
    line-height: 22px;
    text-align: center;
}

:is(h1, h2) {
    color: #FFF;
}

h3 {
    font-size: 20px;
    margin: 0 0 1rem;
    line-height: 1.25rem;
    width: 155px;
    color: #e31f26;
}

h4 {
    font-size: 20px;
    margin: 0 0 12px;
    line-height: 1.25rem;
}

p {
    margin: 0 0 1rem;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    white-space: nowrap;
    text-decoration: none;
}

ul {
    margin: 0 0 20px;
    list-style: none;
}

ul li {
    padding-left: 1rem;
}

ul li:before {
    content: "\2022";
    float: left;
    font-family: Arial, sans-serif;
    font-size: 22px;
    text-indent: -1rem;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

.title {
    position: absolute;
    bottom: -29px;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

}

.flex ul {
    width: calc(100% - 160px);
}

.link {
    display: flex;
    margin: 5px 0;
    justify-content: center;
}

footer p {
    margin: 0;
}

.link a {
    display: inline-block;
    padding: 10px 1rem;
    background: #e31f26;
    color: #fff !important;
    text-align: center;
    font-weight: bold;
    font-size: 22px;
}

.link a:hover {
    opacity: 0.9;
}

@media all and (max-width:799px) {
    #wrapper {
        margin: 0 auto;
        border: none;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }

    :is(header, article) {
        border: none !important;
    }

    header img {
        width: 100%;
    }

    p span {
        white-space: nowrap;
    }

    br:not(footer br) {
        display: none;
    }
}

@media all and (max-width:660px) {
    .title {
        position: static;
        transform: none;
        background: #E31F26;
        padding: 1rem;
    }

    h1 {
        font-size: 40px;
    }

    .flex {
        display: block;
    }

    .flex :is(h3, ul) {
        width: 100%;
    }
}