﻿* {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
}

html {
    min-height: 100%;
}

#wrapper {
    max-width: 470px;
    margin: 12px auto;
    border: 2px solid #20B14A;
    padding: 0px;
    background: #fff;
    overflow: hidden;
    color: #231f20;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 23px;
    font-weight: 400;
}

article {
    padding: 37px 20px 6px;
    background: url('./bg.jpg') no-repeat 0 0;
    background-size: cover;
}

article p:nth-of-type(1) {
    text-align: left;
}

footer {
    padding: 30px 10px 25px 99px;
    background: #22b24c;
    color: #fff;
    position: relative;
    font-size: 15px;
    line-height: 21px;
}

p {
    padding: 0 0 10px;
    text-align: justify;
}

h1 {
    margin: 2px 0 20px;
    padding: 0;
    font-size: 19px;
    line-height: 23px;
    font-weight: 700;
    color: #20B14A;
    text-align: center;
}

h1+p {
    margin-bottom: 38px;
}

a {
    color: #231f20;
    text-decoration: none;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

.color {
    color: #20B14A;
}

footer a {
    color: #fff;
}

footer img {
    position: absolute;
    z-index: 3;
    left: 23px;
    top: 29px;
}

span {
    white-space: nowrap;
}

@media all and (max-width: 440px) {
    #wrapper {
        width: 100%;
        min-width: 200px !important;
        margin: 0;
        border: none;
    }

    article {
        padding: 10px;
    }

    footer {
        padding: 10px;
        flex-direction: column;
        align-items: center;
        display: flex;
    }

    p {
        text-align: left;
    }

    br {
        display: none;
    }

    footer img {
        position: static;
        margin-bottom: 15px;
        margin: 0 auto 15px;
    }

    footer br {
        display: inline;
    }
}