@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    font-size: 16px;
}

body {
    color: #000;
    background: #f4f4f4;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.2;
}

#wrapper {
    background: #f4f4f4;
    margin: 1rem auto;
    max-width: 50rem;
    overflow: hidden;
    position: relative;
    border-radius: 0.1875rem;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

img {
    display: block;
    height: auto;
    max-width: 100%;
}

h1 {
    font-size: 2.25rem;
    line-height: 1.15;
    background-color: #fff;
    margin: 0 0 0.75rem;
    padding: 1rem;
}

h2 {
    font-size: 1.125rem;
    line-height: 1.2;
    margin: 0.75rem 0;
}

p {
    text-align: justify;
    hyphens: auto;
    margin: 0 0 1rem;
}

header {
    margin-bottom: 0.5rem;
}

article section {
    background-color: #fff;
    margin-bottom: 0.75rem;
    padding: 1rem;
}

ul {
    margin: 0 0 1rem 1.5rem;
}

ul li {
    line-height: 0.9;
}

ul li::marker {
    font-size: 1.5rem;
}

.nomargin {
    margin: 0;
}

a.link {
    background: #C61116;
    color: #fff;
    font-size: 0.938rem;
    font-weight: bold;
    text-align: center;
    display: block;
    width: 42%;
    border-radius: 0.313rem;
    margin: 1.25rem auto 0.938rem;
    padding: 0.438rem 0;
}

a.link:hover {
    text-decoration: underline;
}

footer {
    padding: 0 1rem;
}

footer p {
    font-size: 0.875rem;
    text-align: center;
}

@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;
        text-align: left;
    }

    h1 {
        font-size: clamp(1.5rem, 0.8382rem + 2.8235vw, 2.25rem);
    }

    body,
    h2,
    ul li::marker {
        font-size: 0.938rem;
    }

    ul {
        margin: 0 0 1rem 1.2rem
    }

    ul li {
        line-height: 1.1;
    }

    article section {
        padding: 0.5rem 1rem;
    }

    a.link {
        width: 20rem;
    }
}

@media only screen and (max-width: 30rem) {
    a.link {
        width: 100%;
    }
}