@charset "utf-8";
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #000;
    font: 1.125em/1.5em Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 800px;
    margin: 1rem auto;
    border: 5px solid #FFCC00;
    border-top: 5px solid #BC0C12;
    border-left: 5px solid #BC0C12;
    background: #fff;
    overflow: hidden;
    padding: 2rem 2rem 0.5rem 3.5rem;
    box-shadow: 0 4px 8px 0 #aaa;
}
#wrapper:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 61%;
    height: 20px;
    background: #BC0C12;
    border-bottom-right-radius: 8px;
}
#wrapper:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 39%;
    height: 20px;
    background: #FFCC00;
    border-top-left-radius: 8px;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}
p {
    padding-bottom: 1rem;
}
h1 {
    margin: 0 0 2rem;
    font-size: 2.1em;
    line-height: 1.4;
}
h2 {
    font-size: 1em;
    line-height: 1.3em;
}
ul {
    padding: 0 0 1rem;
    list-style: none;
}
li {
    padding-left: 0.5rem;
}
ul li::before {
    content: "\2010";
    float: left;
    margin: -2px 0 0 -0.5rem;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}
footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
}
footer figure {
    margin: 0 0 1rem;
}
@media only screen and (max-width:799px) {
    #wrapper {
        border: none;
        margin: 0 auto 3rem;
    }
    :is(p, li) {
        hyphens: auto;
    }
    span {
        display: inline-block;
    }
}
@media only screen and (max-width:780px) {
    #wrapper {
        padding: 2rem;
    }
    h1 {
        font-size: 1.7em;
    }
}
@media only screen and (max-width:600px) {
    #wrapper {
        box-shadow: none;
    }
    #wrapper:before, #wrapper:after {
        display: none;
    }
    footer {
        justify-content: center;
        gap: 0 2rem;
    }
    footer p {
        text-align: center;
    }
}
@media only screen and (max-width:480px) {
    body {
        font-size: 1em;
    }
    #wrapper {
        padding: 1rem;
    }
    h1 {
        font-size: 1.313em;
        line-height: 1.3;
    }
    li:before {
        top: -1px;
    }
}