@charset "utf-8";
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #000;
    font: 400 1em/1.5em Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 815px;
    margin: 1rem auto;
    border: 1px solid #000;
    background: #fff;
    overflow: hidden;
}
main {
    display: block;
    background: #fff url('../images/bg.jpg') no-repeat bottom;
    padding: 1.5rem 2rem 0;
}
:is(h1, h2, strong) {
    font-weight: 700;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
}
p {
    padding-bottom: 0.5rem;
}
h1 {
    margin: 0 auto 1rem;
    width: fit-content;
    padding: 0.5rem 10rem;
    font-size: 1.7em;
    line-height: 1.3;
    border: 3px solid #29A449;
    border-radius: 15px;
    text-align: center;
    font-weight: 400;
}
h2 {
    font-size: 1em;
    line-height: 1.3;
    color: #29A449;
    margin-bottom: 0.5rem;
}
h3 {
    font-size: 2em;
    line-height: 1.1;
    letter-spacing: 3px;
    border-bottom: 2px solid #000;
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 300;
}
h3+p {
    font-size: 0.9em;
    line-height: 1.4;
}
ul {
    padding: 0 0 0.5rem 7.5rem;
    list-style: none;
}
li {
    padding: 0 0 0.5rem 1.5rem;
    position: relative;
}
li:before {
    content: "\2022";
    font-size: 1rem;
    position: absolute;
    left: 0;
    top: 0;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}
.right {
    text-align: right;
}
header {
    display: flex;
    justify-content: space-between;
}
header div {
    width: 395px;
}
header p {
    text-align: center;
    line-height: 1.3;
    margin-top: 1rem;
}
footer {
    padding: 0.5rem 1rem;
    background: #29A449;
}
footer p {
    text-align: center;
    color: #fff;
    padding: 0;
    font-size: 0.9em;
    line-height: 1.3;
}
@media only screen and (max-width:814px) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }
    :is(p, li) {
        hyphens: auto;
    }
    p a, span {
        display: inline-block;
    }
    header {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    header div {
        width: auto;
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    header br {
        display: none;
    }
    h1 {
        padding: 0.5rem 3rem;
    }
}
@media only screen and (max-width:480px) {
    ul {
        padding-left: 0;
    }
    main {
        padding: 1rem 1rem 0;
    }
    h1 {
        padding: 0.5rem;
        width: auto;
    }
    h3 {
        font-size: 1.5em;
        letter-spacing: 1px;
    }
}