﻿@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: #231f20;
    line-height: 1.25rem;
    font-size: 1rem;
    font-weight: 400;
}

#wrapper {
    position: relative;
    max-width: 590px;
    margin: 1rem auto;
    border: 2px solid #231f20;
    overflow: hidden;
    background: #fff;
    padding: 1rem 1rem 0;
}

header {
    margin: 0 0 15px;
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    align-items: center;
}

footer p {
    font-size: 18px;
    line-height: 23px;
}

:is(strong, h1, h2, h3) {
    font-weight: 700;
}

h1 {
    margin: 1rem 0;
    font-size: 37px;
    line-height: 33px;
    color: #F34340;
    text-align: center;
}

h1 small {
    font-size: 66%;
}

h2 {
    font-size: 24px;
    line-height: 30px;
}

h3 {
    font-size: 1rem;
    margin: 1rem 0 0;
    line-height: 1.4;
    color: #F34340;
}

h4 {
    font-size: 22px;
    line-height: 28px;
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 0;
}

p {
    margin: 0 0 1rem;
    text-align: justify;
    hyphens: auto;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #231f20;
    white-space: nowrap;
    text-decoration: none;
}

ul {
    margin: 0 0 1rem 26px;
    list-style: none;
}

ul li {
    padding-left: 1rem;
}

ul li:before {
    content: "\2022";
    color: #000;
    float: left;
    font-family: Arial, sans-serif;
    font-size: 22px;
    text-indent: -1rem;
}

img {
    max-width: 100%;
}

.center {
    text-align: center;
    font-size: 27px;
    margin-bottom: 22px;
}

span {
    white-space: nowrap;
}

footer {
    position: relative;
}

@media all and (max-width:589px) {
    #wrapper {
        margin: 0 auto;
        border: none;
    }

    :is(p, ul) {
        text-align: left;
        hyphens: auto;
        text-wrap: pretty;
    }
}

@media all and (max-width:550px) {
    header {
        justify-content: center;
        flex-wrap: wrap;
        flex-direction: column;
        gap: 10px;
    }

    h1 {
        font-size: 30px;
    }

    :is(h2, footer p) {
        text-align: center;
    }

    ul {
        margin-left: 0
    }

    h4 {
        position: static;
        text-align: center;
    }
}