@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Signika+Negative:wght@300;400;500;600;700&display=swap');
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #777;
    font: 1em/1.3em 'Signika Negative', Arial, sans-serif;
    text-align: justify;
    hyphens: auto;
}
#wrapper {
    position: relative;
    max-width: 1000px;
    min-width: 250px;
    margin: 1rem auto;
    border: solid 1px #000;
    background-color: #F0F0F0;
    overflow: hidden;
    padding: 0;
}
p {
    padding-bottom: 1rem;
}
h1, h4 {
    margin: 0 0 1.5rem;
    font-size: 1.692em;
    line-height: 1.3em;
    width: 100%;
}
h1 span {
    font-size: 0.7em;
}
h2 {
    font-size: 1em;
    line-height: 1.3em;
    margin-bottom: 0.5rem;
}
h3 {
    font-size: 1.4em;
    line-height: 1.3em;
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-align: left;
}
h4 {
    margin: 0 0 1.5rem;
    font-size: 1.2em;
    line-height: 1.3em;
    text-align: center;
}
h1, h3, h4, p a.color {
    color: #ee0000;
}
a {
    color: inherit;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}
ul {
    padding: 0 0 1rem 0.5rem;
    list-style: none;
}
li {
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
    background: url('icon.jpg') top 5px left no-repeat;
}
li ul {
    padding: 0;
}
header figure {
    padding: 0 1rem;
    background: #ee0000;
}
header>img {
    display: block;
}
main {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 1.5rem 2rem;
}
article, footer section {
    padding: 1rem;
    background: #fff;
}
article {
    width: calc(70% - 0.5rem);
}
article p:last-of-type {
    text-align: right;
    margin-top: 1rem;
}
article p:last-of-type a {
    display: inline-block;
    background: #ee0000;
    padding: 0.5rem 1.25rem;
    border-radius: 4px;
    color: #FFF;
}
article p:last-of-type a:hover {
    text-decoration: none;
}
article p:last-of-type a img {
    vertical-align: -10px;
    margin-left: 0.2rem;
}
footer {
    width: calc(30% - 0.5rem);
}
footer section {
    margin-bottom: 1rem;
}
footer small {
    font-size: 0.875rem;
    display: block;
}
footer p {
    font-size: 1.25em;
    line-height: 1.3;
}
footer section:first-of-type div {
    display: flow-root;
}
footer section:first-of-type div a {
    font-size: 0.9em;
    line-height: 1.3;
}
footer section:first-of-type img {
    width: 80px;
    height: 80px;
    display: block;
    border-radius: 100%;
    float: left;
    margin-right: 1rem;
}
footer section:last-of-type img {
    float: left;
}
footer section:last-of-type p:last-of-type {
    padding-top: 0.25rem;
}
@media only screen and (max-width:999px) {
    body {
        text-align: left;
    }
    #wrapper {
        border: none;
        margin: 0 auto;
    }
    p, li {
        hyphens: auto;
    }
    i br {
        display: none;
    }
}
@media only screen and (max-width: 780px) {
    main {
        display: block;
        padding: 1rem;
    }
    article, footer {
        width: auto;
    }
    footer section{
      display: flex;
      flex-wrap: wrap;
      gap: 0 4rem;
    }
}