﻿@font-face {
    font-display: swap;
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/lato-v24-latin-regular.eot');
    src: url('../fonts/lato-v24-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/lato-v24-latin-regular.woff2') format('woff2'), url('../fonts/lato-v24-latin-regular.woff') format('woff'), url('../fonts/lato-v24-latin-regular.ttf') format('truetype'), url('../fonts/lato-v24-latin-regular.svg#Lato') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Lato';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/lato-v24-latin-700.eot');
    src: url('../fonts/lato-v24-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/lato-v24-latin-700.woff2') format('woff2'), url('../fonts/lato-v24-latin-700.woff') format('woff'), url('../fonts/lato-v24-latin-700.ttf') format('truetype'), url('../fonts/lato-v24-latin-700.svg#Lato') format('svg');
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    color: #565b62;
    font-family: 'Lato', Arial, sans-serif;
    font-size: 17px;
    line-height: 23px;
    font-weight: 400;
}

#wrapper {
    max-width: 500px;
    margin: 1rem auto;
    border: 2px solid #bcbdc0;
    background: #fff;
    position: relative;
    overflow: hidden;
}

header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
}

article {
    padding: 0 1rem 8px;
    position: relative;
}

figure {
    margin: 0 -1rem 0.75rem;
}

article p:nth-of-type(1) {
    padding-left: 19px;
    text-align: center;
}

article p span {
    margin-left: 109px;
}

footer {
    padding: 1rem 1rem 0.75rem;
    background: #0072bc;
    clip-path: polygon(0 13%, 100% 0, 100% 100%, 0% 100%);
}

footer :is(p, a) {
    font-size: 15px;
    text-align: center;
    color: #fff !important;
}

:is(strong, h1, h2, h3) {
    font-weight: 700;
}

h1 {
    margin: 10px 0;
    padding: 0 0 0 12px;
    font-size: 16px;
    line-height: 1.4;
    color: #2595d2;
    position: relative;
}

h1 small {
    font-weight: 400;
    color: #5a5f66;
    margin: 2px 0 0;
    font-size: 16px;
}

h1 span {
    font-size: 14px;
}

h1:before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #2595d2;
    position: absolute;
    z-index: 3;
    left: 0;
    top: 9px;
}

h2 {
    font-size: 23px;
    line-height: 29px;
    text-align: center;
    color: #2595d2;
}

h3 {
    font-size: 1.25rem;
    line-height: 28px;
    color: #fff;
    text-align: center;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #5a5f66;
    text-decoration: none;
    white-space: nowrap;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

.font {
    font-size: 16px;
    padding: 0 18px 0 40px;
}

@media all and (max-width: 500px) {
    #wrapper {
        margin: 0;
        border: none;
    }

    article {
        padding-bottom: 1rem;
    }

    article p span {
        margin-left: 0;
    }

    footer {
        padding: 1rem;
    }

    span {
        white-space: nowrap;
    }

    .font {
        padding: 0;
    }

    p {
        hyphens: auto;
        text-wrap: pretty;
    }

    br {
        display: none;
    }
}