@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #fff;
    font-family: "Arial", sans-serif;
    font-size: 1rem;
    line-height: 1.3;
    font-weight: 400;
    letter-spacing: -.6px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #372627;
    border: solid 1px #000;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

p {
    padding-bottom: 1rem;
}

h1 {
    font-size: 1.4rem;
    line-height: 1.3;
    font-style: italic;
    text-shadow: 0 2px 2px #000;
    text-align: center;
    padding-top: 1rem;
}

h2 {
    font-size: 1.1rem;
    padding-bottom: .5rem;
}

ul {
    padding: 0 0 1rem 2rem;
}

header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 3rem;
}

article {
    padding: 2rem 3rem;
    background: url("../images/bg.png") center/cover no-repeat;
}

footer {
    padding: 1rem 1rem 0;
    font-size: .875em;
}

footer::after {
    content: url("../images/auto.png");
    bottom: -4rem;
    right: -37%;
    position: absolute;
}

@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: 44rem) {

    header {
        padding: 1.5rem 1rem;
    }

    article {
        padding: 1.5rem 1rem;
    }

    footer {
        padding: 1rem 1rem 0;
    }

    footer::after {
        display: none;
    }
}

@media only screen and (max-width: 35rem) {
    body {
        letter-spacing: normal;
    }

    ul {
        padding-left: 1rem;
    }
}