@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans-v43-latin-regular.eot');
    src: url('../fonts/open-sans-v43-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v43-latin-regular.woff2') format('woff2'), url('../fonts/open-sans-v43-latin-regular.woff') format('woff'), url('../fonts/open-sans-v43-latin-regular.ttf') format('truetype'), url('../fonts/open-sans-v43-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-v43-latin-700.eot');
    src: url('../fonts/open-sans-v43-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v43-latin-700.woff2') format('woff2'), url('../fonts/open-sans-v43-latin-700.woff') format('woff'), url('../fonts/open-sans-v43-latin-700.ttf') format('truetype'), url('../fonts/open-sans-v43-latin-700.svg#OpenSans') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    color: #080608;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
}

#wrapper {
    max-width: 675px;
    margin: 16px auto;
    border: 2px solid #82ba76;
    background: #f9fdfe;
}

header {
    padding: 3px 0 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row-reverse;
}

article {
    padding: 10px 20px;
}

article p {
    text-align: justify;
    hyphens: auto;
}

footer {
    padding: 10px 20px;
    background: #82ba76;
    position: relative;
    margin: 0 20px 0 0;
}

footer p {
    color: #fff;
}

figure {
    position: absolute;
    bottom: 0;
    right: -20px;
    z-index: 999;
}

.margin {
    margin: 0 0 12px;
}

:is(strong, h1, ul) {
    font-weight: 700;
}

h1 {
    font-size: 1.55rem;
    line-height: 35px;
    color: #fff;
    margin: 3px 0 0;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}

ul {
    list-style: none;
    color: #0f2c64;
}

ul li {
    padding-left: 22px;
    margin: 10px 0 12px;
}

li:before {
    content: '\2022';
    color: #f69155;
    float: left;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 22px;
    line-height: 1.3;
    text-indent: -22px;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

@media all and (max-width: 674px) {
    #wrapper {
        margin: 0 auto;
        border: none;
    }

    header {
        padding: 16px;
    }

    article {
        padding: 0 16px 16px;
    }

    article p {
        text-align: left;
    }

    footer {
        margin: 0;
        padding: 16px 16px 0;
    }

    figure {
        position: static;
        display: flex;
        justify-content: flex-end;
        margin: 16px -16px 0 0;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }

    ul li {
        padding-left: 16px;
    }

    li:before {
        text-indent: -16px;
    }

    br {
        display: none;
    }
}

@media all and (max-width: 650px) {
    header {
        flex-direction: column;
        gap: 6px;
    }

    ul {
        width: 100%;
    }
}