@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #fff;
    font: 400 1.5em/1.45 "Roboto", Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 655px;
    min-width: 250px;
    margin: 1rem auto;
    border: solid 1px #000;
    background: #319E83 url('./bg.jpg') no-repeat bottom center;
    overflow: hidden;
    padding: 1.125rem 2.5rem;
}
p {
    padding-bottom: 1rem;
    text-align: center;
}
h1 {
    margin: 0.25rem 0 1.25rem;
    font-size: 1.692em;
    line-height: 1.1;
}
h1 span {
    font-size: 1rem;
}
h2 {
    font-size: 1em;
    line-height: 1.3;
    color: #000;
}
h3 {
    width: 155px;
    height: 155px;
    padding: 0.5rem;
    text-align: center;
    color: #000;
    background-color: #fff;
    border-radius: 50%;
    transform: rotate(26deg);
    position: absolute;
    top: 4rem;
    right: 2.25rem;
    font-size: 0.75em;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
}
a {
    color: inherit;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}
ul {
    padding: 0 0 1.25rem 2rem;
    list-style: none;
}
li {
    padding: 0 0 0.25rem 2.75rem;
}
ul li:before {
    content: "";
    width: 37px;
    height: 33px;
    background: url('./icon2.jpg') no-repeat left center;
    float: left;
    margin-top: -1px;
    margin-left: -2.75rem;
}
.list li::before {
    background: url('./icon3.jpg') no-repeat center;
}
header {
    display: flex;
    justify-content: center;
}
h2, h1 {
    padding-left: 4.75rem;
}
article p {
    font-size: 1.25em;
    line-height: 1.3;
}

footer {
        display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 60%;
}
footer p {
    padding: 0;
}
.font {
    font-size: 0.77em;
    line-height: 1.3;
}
@media only screen and (max-width: 654px) {
    body {
        font-size: 1.25em;
    }
    #wrapper {
        border: none;
        margin: 0 auto;
        height: auto;
        background: #319E83;
        padding: 1rem;
    }
    h3 {
        position: static;
        transform: none;
        margin: 0 auto 1rem;
    }
    footer {
        width: auto;
    }
}
@media only screen and (max-width: 540px) {
    ul, h1, h2 {
        padding-left: 0;
    }
}