@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #000;
    font-family: "Arial", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    border: solid 1px #000;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

article p {
    padding-bottom: 1rem;
}

h1 {
    font-size: 1.6rem;
    line-height: 1.3;
    padding: 1rem 0 .5rem;
}

h2 {
    font-size: 1.2rem;
}

ul {
    list-style: none;
    margin: 0 0 1rem;
}

ul li {
    margin: 0 0 .5rem 1rem;
}

ul li:before {
    content: "\25A0";
    float: left;
    margin-left: -1rem;
    font-size: .625rem;
    line-height: 2.2;
}

header div {
    background-color: #53575a;
    color: #fff;
    padding: 1rem 2rem;
    position: relative;
}

header div>a {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

article {
    padding: 1rem 2rem 0;
}

footer {
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    background-color: #53575a;
    color: #fff;
    font-size: 0.813rem;
}

@media only screen and (max-width: 49.938rem) {

    #wrapper {
        border: none;
        margin: 0 auto;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    header div>a {
        position: static;
    }

    header div {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1rem;
    }

    article {
        padding: 1rem 1rem 0;
    }

    footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 1rem;
    }
}