﻿@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: #5a5f66;
    font-family: 'Lato', Arial, sans-serif;
    font-size: 17px;
    line-height: 23px;
    font-weight: 400;
}

#wrapper {
    max-width: 488px;
    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 28px 16px;
    position: relative;
}

figure {
    margin: 0 -28px 12px;
}

article p span {
    margin-left: 130px;
}

footer {
    padding: 1rem 1rem 0.75rem;
    background: #0072bc;
    clip-path: polygon(0 14%, 100% 0, 100% 100%, 0% 100%);
}

footer :is(p, a) {
    font-size: 15px;
    text-align: center;
    color: #fff !important;
}

:is(.center, h2, h3) {
    text-align: center;
}

:is(strong, h1, h2, h3) {
    font-weight: 700;
}

h1 {
    margin: 16px 0;
    font-size: 16px;
    line-height: 21px;
    color: #2a96d3;
    position: relative;
}

h1 span {
    display: block;
    font-weight: 400;
    color: #5a5f66;
    margin: 2px 0 0;
}

h1:before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #2a96d3;
    position: absolute;
    z-index: 3;
    left: -14px;
    top: 9px;
}

h2 {
    font-size: 23px;
    line-height: 29px;
    color: #2a96d3;
}

h3 {
    font-size: 1.25rem;
    line-height: 28px;
    color: #fff;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #5a5f66;
    text-decoration: none;
    white-space: nowrap;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

@media all and (max-width: 486px) {
    #wrapper {
        margin: 0;
        border: none;
    }

    article {
        padding: 0 16px 16px;
    }

    article p span {
        margin-left: 0;
    }

    figure {
        margin: 0 -16px 12px;
    }

    figure img {
        width: 100%;
    }

    footer {
        padding: 24px 16px 16px;
    }

    h1 {
        padding-left: 16px;
    }

    h1:before {
        left: 0;
    }

    p {
        hyphens: auto;
        text-wrap: pretty;
    }

    p span {
        white-space: nowrap;
    }

    br {
        display: none;
    }
}