@charset "utf-8";
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #000;
    font: 1em/1.3em 'Verdana', Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 580px;
    margin: 1rem auto;
    border: solid 3px #0F7158;
    background: #fff url('../images/bg.jpg') no-repeat top right;
    overflow: hidden;
    padding: 0.5rem;
}
p {
    padding-bottom: 1rem;
}
h1 {
    margin: 2.5rem 0 1rem 1rem;
    font-size: 1.16em;
    line-height: 1.3em;
}
h1::before {
    content: "\25A0";
    float: left;
    font-size: 0.6em;
    margin: 0 0 0 -1rem;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
}
img {
    max-width: 100%;
    height: auto;
}
header p {
    font-size: 1.125em;
    line-height: 1.3em;
}
footer p:last-of-type {
    padding-bottom: 0.25rem;
}
footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
figure {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
}
@media only screen and (max-width: 579px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        background: #fff;
    }
    :is(header, h1) br {
        display: none;
    }
    h1 {
        margin-top: 0.25rem;
    }
    footer {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    footer p {
        text-align: center;
    }
}
@media only screen and (max-width: 370px) {
    header p {
        font-size: 1.08em;
    }
    figure {
        flex-direction: column;
        align-items: center;
    }
}