@charset "utf-8";
@font-face {
    font-family: 'Kalam';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/kalam-v16-latin-regular.eot');
    src: local(''),
        url('../fonts/kalam-v16-latin-regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/kalam-v16-latin-regular.woff2') format('woff2'),
        url('../fonts/kalam-v16-latin-regular.woff') format('woff'),
        url('../fonts/kalam-v16-latin-regular.ttf') format('truetype'),
        url('../fonts/kalam-v16-latin-regular.svg#Kalam') format('svg');
}
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #231F20;
    font: 400 1em/1.3em Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 485px;
    margin: 1rem auto;
    border: solid 1px #000;
    background: url('../images/bg.jpg') bottom 73px right 101px no-repeat, #fff;
    overflow: hidden;
}
p {
    padding-bottom: 0.5rem;
}
h1 {
    margin: 0 -1rem 1rem;
    padding: 0.5rem 1rem;
    font-size: 1.4em;
    line-height: 1.2em;
    background: #6E0639;
    color: #fff;
    text-align: center;
}
h1 span {
    display: block;
    font-size: 0.8em;
    line-height: 1.3em;
}
h2 {
    font-size: 1em;
    line-height: 1.3;
    font-weight: 400;
    margin-bottom: 0.5rem;
}
h3 {
    font: 400 1.385em/1.3em 'Kalam', Arial, sans-serif;
    margin: 0.25rem 0 0.75rem;
    color: #6E0639;
}
ul {
    padding: 0 0 0.5rem;
    list-style: none;
}
li {
    padding: 0 0 0 2.25rem;
    background: #fff url('../images/icon.jpg') no-repeat;
}
:is(a:link, a:hover, a:visited, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}
header {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    background: #A0A2A5;
}
.logo {
    padding: 0 1rem;
}
.text {
    position: absolute;
    left: 14.7rem;
    top: 10rem;
    color: #fff;
    font-size: 1.125em;
    line-height: 1.3;
}
article {
    padding: 0 1rem 0.5rem;
}
article figure {
    position: absolute;
    right: 1rem;
    bottom: 5rem;
}
footer {
    padding: 1rem;
    background: #6E0639;
}
footer p {
    text-align: right;
    color: #fff;
    font-size: 0.875em;
    line-height: 1.3;
    padding-bottom: 0;
}
@media only screen and (max-width:484px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        background-image: none;
    }
    span {
        display: inline-block;
    }
    .text {
        position: static;
        background: #A0A2A5;
        margin: 0 -1rem;
        padding: 0.5rem 1rem;
    }
    article figure {
        position: static;
        display: flex;
        justify-content: center;
        margin-bottom: 0.5rem;
    }
    footer p {
        text-align: center;
    }
}