﻿@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/open-sans-v40-latin-700.eot');
    src: url('../fonts/open-sans-v40-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v40-latin-700.woff2') format('woff2'), url('../fonts/open-sans-v40-latin-700.woff') format('woff'), url('../fonts/open-sans-v40-latin-700.ttf') format('truetype'), url('../fonts/open-sans-v40-latin-700.svg#OpenSans') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    color: #FFF;
    line-height: 1.25rem;
    font-size: 1rem;
    font-weight: 700;
}

#wrapper {
    position: relative;
    max-width: 550px;
    margin: 1rem auto;
    border: 1px solid #000;
    overflow: hidden;
    background-color: #fff;
}

header {
    position: relative;
}

footer {
    background: #3B8476;
    padding: 10px;
}

footer p {
    font-weight: 700;
    text-align: center;
}

:is(strong, h1, h2, h3) {
    font-weight: 700;
}

h1 {
    font-size: 30px;
    line-height: 26px;
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #EE1C25;
    border: 2px solid #FFF;
    border-radius: 10px;
    text-align: center;
    width: calc(100% - 2rem);
    padding: 6px 1rem;
}

h1 small {
    font-size: 20px
}

h1 span {
    font-size: 23px;
    display: block;
}

h2 {
    font-size: 22px;
    color: #000;
    line-height: 24px;
    position: absolute;
    bottom: 1rem;
    left: 1rem;
}

h3 {
    font-size: 23px;
    margin: 6px 0 0;
    line-height: 1.1;
}

h3 span {
    padding-right: 10px;
}

p {
    text-align: justify;
    hyphens: auto;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #FFF;
    white-space: nowrap;
    text-decoration: none;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

@media all and (max-width:549px) {
    #wrapper {
        margin: 0 auto;
        border: none;
    }

    :is(p, h1) {
        hyphens: auto;
        text-wrap: pretty;
    }

    footer br {
        display: none
    }

    h3 {
        text-align: center;
    }

    p {
        text-align: left;
    }
}

@media all and (max-width:480px) {
    h1 {
        position: static;
        margin: 0;
        width: 100%;
        padding: 1rem;
    }

    h2 {
        font-size: 4.5vw;
        bottom: 10px;
        line-height: 1.2;
    }
}