﻿@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%;
}

body {
    color: #231f20;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.125rem;
    font-weight: 400;
}

#wrapper {
    max-width: 520px;
    margin: 1rem auto;
    border: 1px solid #000;
    background-color: #fff;
    position: relative;
}

.text {
    font-size: 15px;
    width: 91%;
}

.text span {
    position: relative;
}

.text span:before {
    content: "";
    width: 60px;
    height: 20px;
    float: right;
}

header {
    display: flex;
    justify-content: center;
    position: relative;
}

article {
    padding: 0.625rem 1.125rem 0;
}

footer {
    padding: 0 1.125rem 0.625rem;
}

footer figure {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
}

p {
    margin: 0 0 0.3125rem;
}

p strong {
    font-size: 104%;
}

:is(strong, h1, h2, a) {
    font-weight: 700;
}

h1 {
    margin: 0.3125rem 0;
    padding-left: 1.5625rem;
    font-size: 1.75rem;
    line-height: 2rem;
}

h1:before {
    content: '\25A0';
    color: #D81D25;
    float: left;
    margin-left: 0;
    font-size: 1.5625rem;
    text-indent: -1.625rem;
}

h1 span {
    display: block;
    font-weight: 400;
    font-size: 0.9375rem;
    line-height: 1.25rem;
}

h2 {
    font-size: 1.3125rem;
    line-height: 1.625rem;
}

h3 {
    margin: 0.3125rem 0;
    font-weight: 400;
    font-size: 1.25rem;
    line-height: 1.5rem;
}

h4 {
    font-weight: 400;
    font-size: 1.75rem;
    line-height: 2rem;
    position: absolute;
    left: 8%;
    bottom: 18%;
    color: #fff;
}

h5 {
    font-weight: 400;
    font-size: 0.9375rem;
    line-height: 1.1875rem;
    color: #fff;
    position: absolute;
    left: 65%;
    bottom: 0.75rem;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #D81D25;
    text-decoration: none;
    white-space: nowrap;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

@media all and (max-width: 520px) {
    body {
        font-size: 0.875rem;
        line-height: 1.125rem;
    }

    #wrapper {
        border: none;
        margin: 0;
    }

    :is(h1, h2, h3, h4, h5, p, figure) {
        hyphens: auto;
    }

    .text {
        width: 77%;
    }

    article {
        padding: 0.3125rem 1rem 0;
    }

    footer {
        padding: 0 1rem 0.625rem;
    }

    h1 {
        font-size: 1.625rem;
        line-height: 1.875rem;
    }

    h2 {
        font-size: 1.125rem;
        line-height: 1.375rem;
    }

    h3 {
        font-size: 1rem;
        line-height: 1.25rem;
    }

    h4 {
        font-size: 5.5vw;
        line-height: 1.1;
    }

    h5 {
        font-size: 3vw;
        line-height: 1.1;
    }

    footer span {
        white-space: nowrap;
    }

    br:not(h4 br) {
        display: none;
    }
}

@media all and (max-width: 480px) {
    footer figure {
        position: static;
        display: flex;
        justify-content: center;
        margin: 0.625rem 0 0;
    }

    .text span:before {
        display: none;
    }

    .text {
        width: auto;
    }
}