@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #58585A;
    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:active) {
    color: #00857d;
    text-decoration: none;
    white-space: nowrap;
}

a:hover {
    text-decoration: underline;
}

article p {
    padding-bottom: 1rem;
}

.padding {
    padding-bottom: 2rem;
}

h1 {
    font-size: 27px;
    line-height: 1.3;
    padding-bottom: .5rem;
}

h2 {
    font-size: 1.1rem;
    font-weight: normal;
    padding-bottom: .5rem;
    color: #00857d;
}

ul {
    list-style: none;
    padding-bottom: 1.5rem;
}

ul li {
    padding: 0 0 0 1.5rem;
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -1rem;
    color: #00857d;
    font-size: 1.3rem;
    line-height: 1.2;
}

header {
    padding: 1rem 2rem;
    display: flex;
    justify-content: end;
}

article {
    padding: 3rem 2rem 0;
    position: relative;
}

article::before {
    content: "";
    display: block;
    width: 35%;
    height: 2rem;
    background-color: #ffcd00;
    position: absolute;
    right: 2rem;
    top: -1rem;
}

footer {
    padding: 0 2rem 2rem;
}

@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: 40rem) {
    header {
        padding: 1rem;
        justify-content: center;
    }

    article {
        padding: 1rem 1rem 0;
        position: relative;
    }

    article::before {
        display: none;
    }

    footer {
        padding: 0 1rem 1rem;
    }
}

@media only screen and (max-width: 480px) {
    h1 {
        font-size: 26px;
    }

    .padding,
    ul {
        padding-bottom: 1.25rem;
    }

    ul li {
        padding-left: 1rem;
    }
}