* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    font-size: 16px;
}

body {
    color: #004a4b;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5em;
    font-weight: 400;
}

#wrapper {
    max-width: 670px;
    margin: 16px auto;
    border: 2px solid #004a4b;
    background-color: #fff;
    position: relative;
}

header {
    padding: 32px 32px 80px;
    background: #004a4b;
    clip-path: polygon(100% 0, 100% 70%, 38% 100%, 0 70%, 0 0);
}

article {
    padding: 25px 32px 10px;
}

footer {
    padding: 10px 32px;
    background: #bdd73c;
}

p {
    margin: 0 0 10px;
}

strong {
    font-weight: 700;
}

h1 {
    margin: 16px 0;
    font-weight: 700;
    font-size: 29px;
    line-height: 36px;
}

h1 small {
    display: block;
    font-size: 17px;
    line-height: 22px;
    margin: 10px 0 0;
}

h2 {
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #004a4b;
    text-decoration: none;
}

@media all and (max-width: 670px) {
    #wrapper {
        margin: 0;
        border: none;
    }

    header {
        padding: 16px 16px 60px;
    }

    :is(article, footer) {
        padding: 16px;
    }

    :is(p, h1) {
        hyphens: auto;
        text-wrap: pretty;
    }

    :is(a, span) {
        white-space: nowrap;
    }

    br:not(footer br) {
        display: none;
    }
}