@charset "utf-8";
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #242021;
    font: 1.25em/1.3em Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 580px;
    margin: 1rem auto;
    border: 2px solid #7A8184;
    background: #fff;
    overflow: hidden;
    padding: 1rem;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    text-decoration: none;
}
p {
    padding-bottom: 1rem;
}
h1 {
    font-size: 1.625em;
    line-height: 1.3;
    font-weight: 700;
    color: #7E4E51;
}
img {
    max-width: 100%;
    height: auto;
}
h2 {
    font-size: 1em;
    line-height: 1.3;
    padding: 0.125rem 0.5rem;
    background: #7E4E51;
    position: absolute;
    color: #fff;
    top: 1rem;
    right: 1rem;
}
footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-direction: row-reverse;
}
footer p {
    text-align: right;
    font-size: 1.125rem;
}
@media only screen and (max-width:579px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 1rem;
    }
    p span {
        display: inline-block;
    }
    h2 {
        position: static;
        margin-bottom: 0.5rem;
        width: fit-content;
    }
    footer {
        flex-direction: column;
        align-items: center;
    }
    footer p {
        text-align: center;
    }
}
@media only screen and (max-width:380px) {
    body {
        font-size: 1em;
        line-height: 1.3;
    }
}