@charset "utf-8";

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #000;
    font-family: "Arial", sans-serif;
    font-size: 15px;
    line-height: 1.3;
    font-weight: normal;
}

img {
    max-width: 100%;
    height: auto;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    border: solid 0.0625rem #000;
    padding: 1rem 1.25rem;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

h1 {
    text-align: center;
    line-height: 1.2;
    margin: 20px 0 6px 60px;
    font-size: 30px;
}

small {
    font-size: 1.125rem;
}

h2 {
    font-size: 23px;
    font-weight: normal;
    margin: 1rem 0 1rem 0.375rem;
}

h3 {
    font-size: 15px;
}

p {
    margin: 0 0 30px;
}

ul {
    list-style: none;
    margin: 0 0 30px;
    padding: 0;
}

ul li {
    padding-left: 22px;
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -22px;
    font-size: 12px;
    line-height: 1.7;
}

.top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0 30px;
}

aside {
    width: 78%;
}

article {
    background-color: #F0EDE8;
    padding: 60px 16px 1rem;
}

article p:last-of-type {
    margin: 0;
}

footer {
    background-color: #F0EDE8;
    padding: 0 16px 1rem;
    text-align: center;
}

@media only screen and (max-width: 799px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 1rem;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
        margin: 0 0 1rem;
    }

    h1 {
        text-align: center;
        line-height: 1.2;
        margin: 0.625rem 0;
    }

    aside {
    width: 100%;
}

    h2 {
        margin: 0.625rem 0;
    }

    .top {
        display: block;
        text-align: center;
    }

    .top img {
        margin: 0.625rem auto;
    }

    article,
    footer {
        padding: 0.625rem 0.625rem 0.0625rem;
    }
}
