﻿@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: 530px;
    margin: 1rem auto;
    border: 2px solid #ed1c24;
    overflow: hidden;
    background-color: #fff;
}

article {
    padding: 1px 1rem 0;
    background: url(../images/background.jpg) no-repeat;
    position: relative;
}

footer {
    margin: 0;
    background: #ed1c24;
    padding: 10px;
}

footer p {
    color: #FFF;
    text-align: center;
    font-weight: bold;
    margin: 0;
    font-size: 18px;
}

:is(strong, h1, h2, h3) {
    font-weight: 700;
}

h1 {
    margin: 1.5rem 0 0;
    font-size: 35px;
    line-height: 1;
    text-align: center;
    color: #ed1c24;
    text-shadow: -1px 0 #FFF, 0 1px #FFF, 1px 0 #FFF, 0 -1px #FFF;
}

h1 small {
    display: block;
    font-size: 28px;
    line-height: 1.2;
}

h1 span {
    display: block;
    font-size: 29px;
    line-height: 1;
    color: #3559a8;
    margin: 13px 0 36px;
}

h2 {
    font-size: 17px;
    margin: 5px 0 0;
    line-height: 22px;
    text-align: center;
    color: #3559a8;
}

h2 a {
    color: #3559a8 !important;
}

.color {
    color: #3559a8 !important;
}

h3 {
    font-size: 25px;
    margin: 11px 0;
    line-height: 1.3;
    text-align: center;
    color: #ed1c24;
    text-shadow: -1px 0 #FFF, 0 1px #FFF, 1px 0 #FFF, 0 -1px #FFF;
}

p {
    margin: 0 0 1rem;
    text-align: center;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #FFF;
    white-space: nowrap;
    text-decoration: none;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

.text {
    position: absolute;
    top: 45px;
    left: 0;
}

@media all and (max-width:529px) {
    #wrapper {
        margin: 0 auto;
        border: none;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }

    br:not(footer br) {
        display: none;
    }

    article {
        background-position: center;
    }

    h2 span {
        white-space: nowrap;
    }

    .text {
        position: static;
    }
}