@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;
}

body {
    color: #000;
    font-family: 'PT Sans', Arial, sans-serif;
    font-size: 17px;
    line-height: 22px;
    font-weight: 400;
}

#wrapper {
    max-width: 520px;
    margin: 1rem auto;
    border: 10px solid #f89c1c;
    background-color: #fff;
}

article {
    padding: 0 20px 10px;
    margin: -10px 0 0;
}

footer {
    padding: 0 20px 16px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

p:not(:first-of-type) {
    margin-top: 10px;
}

h1 {
    font-size: 26px;
    line-height: 1.2;
    margin: 10px -26px 0;
    background: #f99d1c;
    padding: 15px;
    color: #fff;
    text-align: center;
}

h1 :is(span, small) {
    font-size: 20px;
}

h1 small {
    display: block;
    margin-top: 5px;
}

h2 {
    font-size: 18px;
    line-height: 24px;
    margin-top: 16px;
}

ul {
    list-style: none;
}

ul li {
    padding-left: 28px;
    margin-top: 8px;
}

li:before {
    content: "\25A0";
    color: #f99d1c;
    float: left;
    font-size: 22px;
    text-indent: -28px;
}

img {
    max-width: 100%;
    display: block;
}

:is(h1, h2, strong) {
    font-weight: 700;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    text-decoration: none;
}

@media only screen and (max-width:520px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    :is(article, footer) {
        padding: 10px 16px;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty
    }

    span {
        white-space: nowrap;
    }

    h1 {
        margin: 10px -16px 0;
    }

    br {
        display: none;
    }
}

@media only screen and (max-width:408px) {
    footer {
        flex-direction: column;
        align-items: center;
        gap: 16px
    }
}