@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;
    font-weight: 400;
}

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;
    padding: 2rem 3rem;
}

:is(a:link, a:visited, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

a.link {
    color: #0f9ed5;
}

a:hover {
    text-decoration: underline;
}

article p {
    padding-bottom: 1rem;
}

h1 {
    font-size: 35px;
    line-height: 1.2;
}

h1 span {
    font-weight: normal;
    font-size: 27px;
}

h1 small {
    font-size: 22px;
    font-weight: normal;
    display: block;
    padding-top: .2rem;
}

h2 {
    font-size: 1rem;
    padding-bottom: .625rem;
}

ul {
    list-style: none;
    padding-bottom: 1rem;
}

ul li {
    padding: 0 0 0 1rem;
}

ul li:before {
    content: "\25A0";
    float: left;
    margin-left: -1rem;
    font-size: .7rem;
    line-height: 1.8;
}

header {
    display: flex;
    justify-content: end;
    padding-bottom: 1rem;
}

article>img {
    margin: .5rem 0;
}

article>p:last-of-type {
    font-size: 0.875rem;
    font-style: italic;
}

footer {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

@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;
    }
}

@media only screen and (max-width: 46rem) {
    #wrapper {
        padding: 1rem;
    }

    header {
        justify-content: center;
    }

    h1 {
        text-align: center;
    }

    footer {
        align-items: center;
        text-align: center;
        gap: 1rem;
    }
}

@media only screen and (max-width: 30rem) {
    h1 {
        font-size: 27px;
    }

    h1 span {
        font-size: 25px;
    }
}