@charset "utf-8";
@font-face {
    font-family: 'Shadows Into Light Two';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/shadows-into-light-two-v13-latin-regular.eot');
    src: local(''), url('../fonts/shadows-into-light-two-v13-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/shadows-into-light-two-v13-latin-regular.woff2') format('woff2'), url('../fonts/shadows-into-light-two-v13-latin-regular.woff') format('woff'), url('../fonts/shadows-into-light-two-v13-latin-regular.ttf') format('truetype'), url('../fonts/shadows-into-light-two-v13-latin-regular.svg#ShadowsIntoLightTwo') format('svg');
}
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #000;
    font: 1em/1.2 'Calibri', Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 800px;
    margin: 1rem auto;
    border: 1px solid #000;
    background: #fff url('../images/bg.jpg') no-repeat;
    overflow: hidden;
    height: 574px;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
}
p {
    padding-bottom: 0.75rem;
}
h1 {
    margin: 0 0 0.5rem;
    font-size: 1em;
    line-height: 1.3;
    font-weight: normal;
}
h2 {
    font-size: 1.188em;
    line-height: 1.2;
    margin-bottom: 2rem;
}
img {
    max-width: 100%;
    height: auto;
}
ul {
    padding: 0 0 0.5rem;
    list-style: none;
}
li {
    padding: 0 0 0.4rem 0.7rem;
}
li:before {
    content: "\2010";
    font-size: 1em;
    line-height: 1;
    float: left;
    margin: 1px 0 0 -0.7rem;
}
header {
    padding: 0.3rem 0.5rem 0.5rem;
}
article {
    padding: 3.8rem 1.5rem 0;
}
.chat {
    display: none;
}
article section:last-of-type :is(p, ul) {
    font-family: 'Shadows Into Light Two', Arial, cursive;
}
article section:last-of-type {
    width: 188px;
    position: absolute;
    right: 2.25rem;
    bottom: 3.1rem;
    transform: rotate(-4.8deg);
}
article section:last-of-type :is(p, ul) {
    font-size: 0.958em;
    line-height: 1.5;
}
footer {
    padding: 7rem 0 0 1.8rem;
}
@media only screen and (max-width:799px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        background: #014486 url('../images/bg_res.jpg') no-repeat;
        background-size: cover;
        height: auto;
    }
    h2 {
        margin-bottom: 0.75rem;
    }
    :is(header, footer) {
        padding: 0.5rem 0.8rem;
    }
    article {
        padding: 0 0.8rem;
    }
    article section:first-of-type {
        background: #E1E7F3;
        padding: 0.5rem 0.8rem;
        margin-bottom: 0.8rem;
    }
    .chat {
        display: block;
        margin-bottom: 0.8rem;
    }
    article section:last-of-type {
        background: #F5E8B6;
        transform: none;
        position: static;
        padding: 0.5rem 0.8rem;
        width: 100%;
    }
    footer {
        margin: 1rem auto;
        background: #E1E7F3;
        border-radius: 10px;
        max-width: 242px;
    }
}