@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans-v35-latin-regular.eot');
    src: url('../fonts/open-sans-v35-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v35-latin-regular.woff2') format('woff2'), url('../fonts/open-sans-v35-latin-regular.woff') format('woff'), url('../fonts/open-sans-v35-latin-regular.ttf') format('truetype'), url('../fonts/open-sans-v35-latin-regular.svg#OpenSans') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/open-sans-v35-latin-700.eot');
    src: url('../fonts/open-sans-v35-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v35-latin-700.woff2') format('woff2'), url('../fonts/open-sans-v35-latin-700.woff') format('woff'), url('../fonts/open-sans-v35-latin-700.ttf') format('truetype'), url('../fonts/open-sans-v35-latin-700.svg#OpenSans') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Architects Daughter';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/architects-daughter-v20-latin-regular.eot');
    src: url('../fonts/architects-daughter-v20-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/architects-daughter-v20-latin-regular.woff2') format('woff2'), url('../fonts/architects-daughter-v20-latin-regular.woff') format('woff'), url('../fonts/architects-daughter-v20-latin-regular.ttf') format('truetype'), url('../fonts/architects-daughter-v20-latin-regular.svg#ArchitectsDaughter') format('svg');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    color: #000;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 15px;
    line-height: 21px;
    font-weight: 400;
}

#wrapper {
    max-width: 399px;
    margin: 1rem auto;
    border: 3px solid #9ba1a4;
    background-color: #fbcfa2;
    padding: 20px;
    position: relative;
}

article {
    padding: 10px 0;
}

footer {
    position: absolute;
    bottom: 20px;
    right: 12px;
}

p:not(:first-of-type) {
    margin-top: 17px;
}

h1 {
    font-size: 19px;
    line-height: 24px;
    font-family: 'Architects Daughter', Arial, sans-serif;
    color: #f39434;
}

img {
    max-width: 100%;
    display: block;
}

:is(h1, 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:391px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    p {
        hyphens: auto;
        text-wrap: pretty
    }

    p span {
        white-space: nowrap;
    }

    footer {
        position: static;
        display: flex;
        justify-content: center;
    }
}