@charset "utf-8";
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #fff;
    font: 400 1em/1.3em Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 930px;
    margin: 1rem auto;
    border: 1px solid #000;
    background: #224078;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
}
p {
    padding-bottom: 0.5rem;
}
h1 {
    margin: 0 0 0.5rem;
    font-size: 1.5em;
    line-height: 1.1;
    display: none;
}
h1 span {
    font-size: 1rem;
}
h2 {
    font-size: 1em;
    line-height: 1.3;
}
ul {
    padding: 0 0 0.5rem;
    list-style: none;
}
li {
    padding: 0 0 1rem 3.25rem;
    background: url('../images/icon_bg.jpg') no-repeat 0 2px;
    font-size: 1.125em;
    line-height: 1.3;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}
main {
    width: 350px;
    padding: 0.5rem 1.5rem;
}
header {
    padding: 0;
    flex: 1;
}
article figure {
    display: flex;
    justify-content: center;
    padding-bottom: 1.5rem;
}
.logo {
    margin-bottom: 1rem;
}
footer p {
    font-size: 0.9em;
    line-height: 1.3;
}
footer figure {
    margin: 0;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    position: absolute;
    right: 1.5rem;
    bottom: 1.25rem;
}
footer figure figcaption {
    font-size: 0.65em;
}
@media only screen and (max-width:929px) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }
    :is(p, li) {
        hyphens: auto;
    }
    p a, span {
        display: inline-block;
    }
}
@media only screen and (max-width:768px) {
    #wrapper {
        flex-direction: column;
    }
    main {
        width: auto;
    }
    header {
        display: flex;
        justify-content: center;
        padding-bottom: 1rem;
    }
    li {
        padding: 0.75rem 0 0.5rem 3.25rem;
        background-position: left center;
    }
}
@media only screen and (max-width:480px) {
    main {
        padding: 1rem;
    }
    footer figure{
        position: static;
        margin-top: 1rem;
    }
    footer p{
        text-align: center;
    }
    .logo{
        display: flex;
        justify-content: center;
    }
}