* {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
}

html {
    min-height: 100%;
}

#wrapper {
    max-width: 400px;
    background: #fff url(background.jpg) no-repeat left top;
    border: 1px solid #cbcbcb;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    line-height: 18px;
    text-align: left;
    margin: 12px auto;
    padding: 0px;
    overflow: hidden;
    position: relative;
    color: #fff;
    height: 437px;
}

#header {
    position: relative;
}

#header>a {
    position: absolute;
    top: 10%;
    left: 5%;
    height: 44%;
    width: 24%;
}

#content {
    padding: 5px 35px 38px;
}

#footer {
    padding: 0 49px;
}

h1 {
    font-size: 16px;
    line-height: 24px;
}

p {
    margin-bottom: 16px;
}

p:last-child {
    margin-bottom: 0px;
}

a {
    color: #fff;
    text-decoration: none;
}

img {
    max-width: 100%;
}

h1 span {
    font-weight: 400;
}

#content img {
    display: none;
}

@media screen and (max-width: 399px) {
    #wrapper {
        width: 100%;
        border: none;
        margin: 0px;
        height: auto;
        background: #456d8d;
    }

    #content {
        padding: 5px 15px 10px;
    }

    :is(h1, p) {
        text-align: center;
    }

    br {
        display: none;
    }

    #footer {
        background: #301f11;
        padding: 15px 15px;
    }

    #content img {
        display: block;
        width: 57px;
        margin: 10px auto !important;
    }

    #footer br {
        display: block;
    }
}