@charset "utf-8";
:root {
    font-size: 16px;
}
*, figure {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #000000;
    font: 1em/1.3em "Segoe UI", Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 500px;
    margin: 1rem auto;
    border: solid 1px #1C4480;
    background: #fff url('../images/bg.png') top right no-repeat;
    overflow: hidden;
    padding: 0;
}
p {
    padding-bottom: 0.5rem;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: #FFF;
    text-decoration: none;
}
img {
    max-width: 100%;
    height: auto;
}
h1, h2 {
    color: #1C4480;
}
h2 span {
    color: #000;
}
h1 {
    margin: 0 0 4.3rem;
    font-size: 1.5em;
    line-height: 1.3em;
    text-shadow: -1px 0 #fff, 0 1px #fff, 1px 0 #fff, 0 -1px #fff;
}
h1 span {
    font-weight: normal;
    font-size: 0.7em;
    text-transform: none;
}
h1, article p {
    text-transform: uppercase;
}
h2 {
    margin-bottom: 1rem;
    font-size: 1.3em;
    line-height: 1.3em;
}
header img {
    display: block;
}
article {
    position: absolute;
    top: 4.5rem;
    left: 1rem;
}
footer {
    background: #1C4480;
    margin: 0 0 1rem 1rem;
    border-radius: 0 0 0 30px;
    padding: 1rem;
    position: relative;
}
footer p {
    color: #FFF;
}
footer figure{
  margin-bottom: 1rem;
}
.logo {
    position: absolute;
    bottom: -0.2rem;
    right: 1rem;
}
@media only screen and (max-width:498px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        background-image: none;
        padding: 0;
    }
    article{
      position: static;
      padding: 1rem;
    }
    .logo{
      position: static;
      display: flex;
      justify-content: center;
    }
    h1{
      margin-bottom: 1rem;
    }
}