﻿@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;
}

html {
    min-height: 100%;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 18px;
    line-height: 20px;
    color: #242021;
    font-weight: 400;
}

#wrapper {
    max-width: 585px;
    margin: 1rem auto;
    border: solid thin #242021;
    overflow: hidden;
    position: relative;
}

:is(strong, h1) {
    font-weight: 700;
}

header {
    padding: 10px 12px;
    background: #f34497;
}

:is(header, footer) p {
    color: #fff !important;
    font-size: 13px;
    line-height: 1.2;
    margin: 0;
}

article {
    padding: 10px 12px 0;
}

.font-size {
    font-size: 12px;
    line-height: 1.2;
    margin-top: 16px;
    margin: 0 0 4px;
}

.font-size span:nth-of-type(1) {
    color: #EC028D;
}

footer a {
    color: #fff !important;
}

footer {
    background: #242021;
    padding: 8px 12px;
    position: relative;
}

footer img {
    position: absolute;
    bottom: 4px;
    right: 8px;
}

h1 {
    font-size: 30px;
    line-height: 1.3;
    color: #fff;
}

img {
    max-width: 100%;
}

p {
    margin-bottom: 10px;
    text-align: justify;
    hyphens: auto;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #242021;
    text-decoration: none;
    white-space: nowrap;
}

@media screen and (max-width:584px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    p {
        text-align: left;
    }

    p span {
        white-space: nowrap;
    }

    :is(header, article, footer) {
        padding: 16px;
    }
}

@media screen and (max-width:578px) {
    footer img {
        position: static;
    }

    footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
}