﻿* {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
}

html {
    min-height: 100%;
}

#wrapper {
    max-width: 370px;
    margin: 12px auto;
    border: 1px solid #000;
    padding: 20px 20px 17px;
    background: #fff url('./backgound.jpg') no-repeat left bottom;
    overflow: hidden;
    color: #200e00;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    line-height: 19px;
    font-weight: 400;
    position: relative;
}

header {
    padding: 0 0 30px;
    text-align: right;
}

footer {
    position: absolute;
    z-index: 4;
    right: 20px;
    bottom: 29px;
}

p {
    margin: 0 0 10px;
}

h1 {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 25px;
    font-weight: 700;
}

a {
    color: #200e00;
    text-decoration: none;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

.box {
    padding-left: 51px;
}

h1 small {
    font-weight: 400;
    font-size: 15px;
    line-height: 20px;
}

@media all and (max-width: 369px) {
    #wrapper {
        margin: 0;
        padding: 20px 20px 30px;
        border: none;
    }

    footer {
        position: static;
        padding-left: 48px;
    }

    h1 br {
        display: none;
    }
}