@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #444;
    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: 0.875rem;
}

h1 {
    font-size: 1.5rem;
    line-height: 1.3;
    background: #f4f6f5;
    border-top: 1px solid #e7edeb;
    border-bottom: 1px solid #e7edeb;
    margin: 0 -2rem 2rem;
    padding: 0.875rem 2rem;
}

h2 {
    font-size: 1.2rem;
    line-height: 1.3;
    font-weight: normal;
    padding: 0 0 0.875rem;
}

ul {
    padding: 0 0 0.875rem 3rem;
}

.button a {
    padding: 10px 60px;
    background-color: #00afea;
    color: #fff;
    border-radius: 3px;
    display: inline-block;
}

.button a:hover {
    color: #333;
}

header {
    padding: 1rem 2rem;
}

article {
    padding: 0 2rem;
}

footer {
    padding: 1rem 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;
        display: flex;
        justify-content: center;
    }

    article {
        padding: 0 1rem;
    }

    footer {
        display: flex;
        justify-content: center;
        padding: 1rem 1rem 2rem;
    }

    h1 {
        text-align: center;
    }
}

@media only screen and (max-width: 35rem) {
    ul {
        padding-left: 1rem;
    }
}