@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: 420px;
    margin: 1rem auto;
    border: 1px solid #000;
    background: #4879A5 url('../images/bg.jpg') no-repeat;
    overflow: hidden;
    height: 689px;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
}
p {
    padding-bottom: 0.5rem;
}
h1 {
    margin: 0rem 0 1.5rem 0;
    padding-left: 1.5rem;
    font-size: 1em;
    line-height: 1.1;
    position: relative;
}
h1:before {
    content: "\25a0";
    position: absolute;
    left: 0;
    top: 0;
}
h2 {
    font-size: 2.2em;
    line-height: 1.3;
    padding-bottom: 0.5rem;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}
.text {
    font-size: 1.188em;
    line-height: 1.2;
    text-shadow: 3px 1px 6px #000;
}
.title {
    padding: 90px 0 0;
    position: relative;
}
.title figure{
   position: absolute;
  right: 5px;
  top: 9rem;
}
.link {
    position: absolute;
    width: 43%;
    height: 10%;
    bottom: 6%;
    left: 5%;
}
.logo {
    display: none;
}
article {
    padding: 0 1rem;
}
footer p {
    position: absolute;
    right: 30px;
    bottom: 3.3rem;
}
@media only screen and (max-width:419px) {
    body {
        color: #000;
    }
    #wrapper {
        border: none;
        margin: 0 auto;
        height: auto;
        background: #fff;
    }
    p a, span {
        display: inline-block;
    }
    .title {
        background: #006964;
        padding: 0.7rem;
        margin: 1rem 0;
        border-radius: 10px;
    }
    .title :is(p, h1, h2) {
        color: #fff;
    }
    .logo,.title figure {
        display: block;
        display: flex;
        justify-content: center;
        position: static;
        padding-bottom: 0.7rem;
    }
    article {
        padding: 1rem;
    }
    footer p {
        position: static;
        padding: 1rem;
    }
    br {
        display: none;
    }
}