@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@200;300;400;500;600;700;800;900&family=Merriweather+Sans:wght@300;400;500;600;700;800&display=swap');
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #000;
    font-family: 'Heebo', sans-serif;
    font-size: 1em;
    line-height: 1.3;
}
#wrapper {
    position: relative;
    max-width: 505px;
    min-width: 250px;
    margin: 1rem auto;
    border: solid 1px #000;
    background-color: #fff;
    overflow: hidden;
}
p {
    padding-bottom: 0.6rem;
}
h1,
h2 {
    margin: 13px 0 0;
    font-size: 1.5em;
    line-height: 1.25;
    text-transform: uppercase;
}
h3 {
    font-size: 1em;
    line-height: 1.3;
    padding-top: 27rem;
}
h2,
ul,
footer {
    font-family: 'Merriweather Sans', sans-serif;
}
a {
    color: inherit;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}
ul {
    padding: 0 0 0.5rem;
    list-style: none;
}
li {
    padding-left: 2rem;
    line-height: 1.2em;
}
ul li:before {
    content: "•";
    display: inline-block;
    font-size: 1.3em;
    position: relative;
    float: left;
    margin-top: 0;
    margin-left: -1.5rem;
}
header img {
    display: block;
}
article {
    background: url('./bg.jpg') no-repeat top center;
    padding: 0.7rem 1rem 1rem 2rem;
}
article p {
    letter-spacing: 1px;
}
article>p:first-of-type {
    text-align: right;
    color: #033C5B;
    font-size: 1.22em;
    line-height: 1.1em;
    margin-left: -1rem;
}
article section:first-of-type {
    background: #033C5B;
    color: #fff;
    margin: 0 -1rem 0.5rem -2rem;
    padding: 1rem 1rem 1rem 4rem;
}
article section:nth-of-type(2) {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 1.1rem 0 0 1.2rem;
    display: none;
}
article section:nth-of-type(2) img {
    margin-bottom: 1.1rem;
}
footer {
    background-color: #033C5B;
    padding: 1.2rem 1rem 1.2rem 2rem;
    color: #fff;
}
footer p strong {
    font-size: 1.125em;
    line-height: 1.3em;
    display: block;
    color: #4BB1BD;
    font-weight: 600;
    letter-spacing: 1px;
}
figure {
    position: absolute;
    bottom: 6.4rem;
    right: 2.25rem;
    margin: 0;
}
@media only screen and (max-width: 529px) {
    body {
        font-size: 0.938em;
        line-height: 1.3em;
    }
    #wrapper {
        border: none;
        margin: 0 auto;
    }
    br {
        display: none;
    }
    footer strong+br {
        display: initial;
    }
    article {
        padding: 0.75rem 1rem;
        background: #B2D9E1;
    }
    
    article section:nth-of-type(1) {
        margin: 0 -1rem 1rem;
        padding: 0.5rem 1rem;
        background-color: #033C5B;
    }
    h1,
    h2 {
        font-size: 1.5em;
        line-height: 1.2em;
    }
    article section:nth-of-type(2) {
        justify-content: center;
        padding: 0 0 1rem;
        display: block;
    }
    article section:nth-of-type(2) img {
        margin: 0 0.5rem 1rem;
    }
    li {
        padding-left: 1.75rem;
    }
    footer p {
        padding: 1rem;
        text-align: center;
    }
    article br {
        display: none;
    }
    footer p span {
        display: inline-block;
    }
    figure {
        position: static;
        display: flex;
        justify-content: center;
        background-color: #033C5B;
        padding: 1rem 1rem 0;
    }
    article>p:first-of-type {
        margin: 0;
        text-align: left;
    }
    article p {
        letter-spacing: 0;
    }
    h3 {
        padding-top: 1rem;
    }
}