@font-face {
    font-display: swap;
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/lato-v23-latin-regular.eot');
    src: url('../fonts/lato-v23-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/lato-v23-latin-regular.woff2') format('woff2'), url('../fonts/lato-v23-latin-regular.woff') format('woff'), url('../fonts/lato-v23-latin-regular.ttf') format('truetype'), url('../fonts/lato-v23-latin-regular.svg#Lato') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Lato';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/lato-v23-latin-700.eot');
    src: url('../fonts/lato-v23-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/lato-v23-latin-700.woff2') format('woff2'), url('../fonts/lato-v23-latin-700.woff') format('woff'), url('../fonts/lato-v23-latin-700.ttf') format('truetype'), url('../fonts/lato-v23-latin-700.svg#Lato') format('svg');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    color: #000;
    font-family: 'Lato', Arial, sans-serif;
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;
}

#wrapper {
    max-width: 410px;
    margin: 1rem auto;
    border: 1px solid #000;
    background-color: #fff;
    padding: 35px;
}

article {
    padding: 14px 0;
}

footer {
    padding: 0px;
}

p:not(:first-of-type) {
    margin-top: 10px;
}

h1 {
    font-size: 34px;
    line-height: 1.2;
    padding-bottom: 10px;
}

h1 span {
    display: block;
    font-size: 20px;
    padding-bottom: 10px;
}

h1 small {
    font-size: 22px;
}

h2 {
    font-size: 26px;
    line-height: 1.1;
    padding-bottom: 10px;
}

h3 {
    font-size: 20px;
    line-height: 21px;
    padding-bottom: 6px;
}

:is(h1, h2) {
    margin-left: -22px;
}

img {
    max-width: 100%;
    display: block;
}

:is(h1, h2, h3, strong) {
    font-weight: 700;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    text-decoration: none;
    white-space: nowrap;
}

@media only screen and (max-width:410px) {
    #wrapper {
        border: none;
        margin: 0;
        padding: 16px;
    }

    p {
        hyphens: auto;
        text-wrap: pretty
    }

    p span {
        white-space: nowrap;
    }

    :is(h1, h2) {
        margin-left: 0
    }
}