@font-face {
    font-display: swap;
    font-family: 'PT Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/pt-sans-v17-latin-regular.eot');
    src: url('../fonts/pt-sans-v17-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/pt-sans-v17-latin-regular.woff2') format('woff2'), url('../fonts/pt-sans-v17-latin-regular.woff') format('woff'), url('../fonts/pt-sans-v17-latin-regular.ttf') format('truetype'), url('../fonts/pt-sans-v17-latin-regular.svg#PTSans') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'PT Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/pt-sans-v17-latin-700.eot');
    src: url('../fonts/pt-sans-v17-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/pt-sans-v17-latin-700.woff2') format('woff2'), url('../fonts/pt-sans-v17-latin-700.woff') format('woff'), url('../fonts/pt-sans-v17-latin-700.ttf') format('truetype'), url('../fonts/pt-sans-v17-latin-700.svg#PTSans') format('svg');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    color: #fff;
    font-family: 'PT Sans', Arial, sans-serif;
    font-size: 15px;
    line-height: 20px;
    font-weight: 400;
}

#wrapper {
    max-width: 522px;
    margin: 1rem auto;
    border: 1px solid #000;
    background: url('../images/background.jpg') no-repeat;
    padding: 30px;
    background-size: cover;
}

.logo {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 15px;
}

article {
    background: #c6cada;
    padding: 18px 30px;
    margin: 20px -30px;
}

article p {
    font-size: 110%;
}

article :is(h1, p) {
    color: #000
}

footer {
    padding: 35px 0 0 83px;
}

footer p strong {
    font-size: 119%;
}

p:not(:first-of-type) {
    margin-top: 10px;
}

h1 {
    font-size: 18px;
    line-height: 24px;
    margin: 0;
}

img {
    max-width: 100%;
    display: block;
}

:is(h1, strong) {
    font-weight: 700;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}

@media only screen and (max-width:522px) {
    #wrapper {
        border: none;
        margin: 0;
        padding: 16px;
    }

    article {
        margin: 16px -16px;
        padding: 16px;
    }

    p {
        hyphens: auto;
        text-wrap: pretty
    }

    p span {
        white-space: nowrap;
    }

    footer {
        padding: 16px 0
    }

    :is(footer p strong, article p) {
        font-size: 100% !important;
    }
}