@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #4c4f55;
    font-family: "Arial", sans-serif;
    font-size: .938rem;
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    max-width: 54rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    border: solid 1px #000;
}

:is(a:link, a:visited, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

a:hover {
    text-decoration: underline;
}

article p {
    padding-bottom: 1rem;
}

h1 {
    font-size: 2.25rem;
    line-height: 1.1;
    text-align: center;
    color: #9B302C;
    padding: .5rem 0 1.5rem;
}

h2 {
    font-size: 3.5rem;
    line-height: 1;
    color: #fff;
    font-weight: normal;
    padding: 2rem 3rem;
}

h3 {
    font-size: 1.1rem;
    font-weight: normal;
}

h4 {
    font-size: 1rem;
    padding-bottom: .55rem;
    color: #d2ccbb;
}

ul {
    list-style: none;
    padding-bottom: 2rem;
}

ul li {
    padding: 0 0 0 2.5rem;
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -1rem;
}

.flex {
    display: flex;
    gap: 1.5rem;
}

.flex>div {
    flex: 50%;
}

header {
    background-color: #9B302C;
}

header img {
    position: absolute;
    top: 2rem;
    right: 1.5rem;
}

header div {
    background-color: #4c4f55;
    color: #fff;
    padding: 1rem 1.5rem 1rem 3rem;
}

article {
    padding: 1rem 3rem;
}

article>p:first-of-type {
    text-align: center;
}

footer .flex {
    position: relative;
    text-align: right;

}

footer .flex::before {
    content: "";
    position: absolute;
    z-index: 10;
    top: -.5rem;
    left: 0;
    width: 90%;
    height: 1rem;
    background-color: #9B302C;
}

footer p:not(:last-child) {
    padding-bottom: .35rem;
}

footer .flex div {
    padding: 2rem;
    position: relative;
}

footer .flex>div:last-of-type {
    background-color: #4c4f55;
    color: #fff;
}

footer .flex div.text {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    padding: 0;
}

@media only screen and (max-width: 54.938rem) {

    #wrapper {
        border: none;
        margin: 0 auto;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    header {
        padding-top: 1rem;
    }

    header img {
        position: static;
        margin: 0 auto;
    }

    header div {
        padding: 1rem 2rem;
    }

    h2 {
        font-size: 3rem;
        text-align: center;
        padding: 1rem 2rem;
    }

    h2 br {
        display: none;
    }

    article {
        padding: 1rem 2rem;
    }
}

@media only screen and (max-width: 48rem) {

    header div,
    article {
        padding: 1rem;
    }

    h2 {
        font-size: 3rem;
        padding: 1rem;
    }

    .flex {
        display: block;
    }

    .pb {
        padding-bottom: 0;
    }

    footer .flex div {
        padding: 1.5rem 1rem;
    }

    footer .flex::before {
        top: -1rem;
        width: 100%;
    }

    footer .flex>div:first-of-type {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
    }

    footer .flex div.text {
        position: static;
    }
}

@media only screen and (max-width: 32rem) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1rem;
    }

    ul {
        padding-bottom: 1rem;
    }

    ul li {
        padding: 0 0 0 1rem;
    }

    footer .flex div {
        padding: 1rem;
    }

    footer .flex {
        text-align: center;
    }

    footer .flex>div:first-of-type {
        flex-direction: column;
    }
}