@charset "utf-8";

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #000;
    font-family: Arial, sans-serif;
    font-size: .875rem;
    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 .062rem #000;
    padding: 2rem;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

span {
    white-space: nowrap;
}

h1 {
    text-align: center;
    font-size: 2rem;
    line-height: 1.3;
    padding: 1.2rem 0;
}

.section {
    border-top: solid .3rem #ffcd46;
    border-bottom: solid .3rem #ffcd46;
    margin-bottom: 2.5rem;
}

h2 {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

h3 {
    font-weight: normal;
    margin: 1.25rem 0 0;
    font-size: .937rem;
}

p {
    margin: 0 0 1.25rem;
}

.no-margin {
    margin: 0;
}

ul {
    margin: 0 0 2.5rem 2rem;
}


header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row-reverse;
    column-gap: 1rem;
    padding-bottom: .625rem;
}

footer p:last-of-type {
    margin-bottom: 0;
}

@media only screen and (max-width: 49.98rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 1rem;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
        margin-bottom: 1rem;
    }

    h1 {
        font-size: 1.7rem;
    }

    h2 {
        font-size: 1.3rem;
        margin-bottom: .5rem;
    }

    .section {
        margin-bottom: 1rem;
    }
}

@media only screen and (max-width: 680px) {
    header {
        flex-direction: column;
    }

    .logo {
        margin: 0 0 1rem;
    }

    ul {
        margin-left: 1rem;
    }

    footer {
        text-align: center;
    }
}