/* reset all */

html {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

a,
img {
    outline: none;
    border: none;
}

img {
    max-width: 100%;
    display: inline-block;
}


/* body set-up */

body {
    font-family: 'Open Sans', sans-serif;
    font-size: .812rem;
    line-height: 1.5;
    color: #000;
    background: #fff;
    font-weight: normal;
}


/* main style */

a {
    color: inherit;
    display: inline-block;
    text-decoration: none;
    white-space: nowrap;
}

u {
    text-decoration: underline;
}

a:hover,
a:focus {
    outline: none;
    text-decoration: underline;
}

p {
    margin: 0 0 15px;
}

h1 {
    color: #849B0E;
    display: block;
    font-size: 1.625rem;
    font-weight: bold;
    line-height: 1.3;
    margin: 0px 0 10px;
    text-align: center;
}

h1 span {
    font-size: 1.25rem;
}

h2 {
    text-align: left;
    font-size: .875rem;
    margin: 0 0 .312rem;
}

h3 {
    display: none
}

ul {
    padding: 0;
    margin-bottom: 1.25rem;
    list-style: none;
}

ul li {
    padding-left: 1.25rem;
}

ul li:before {
    content: "";
    float: left;
    position: relative;
    width: .25rem;
    height: .25rem;
    border-radius: 50%;
    background: #000;
    margin-left: -1.25rem;
    top: .5rem;
}


/* layout  */

#wrapper {
    display: block;
    max-width: 55rem;
    margin: .625rem auto;
    border: 1px solid #000;
}

header {
    position: relative;
}

header a {
    display: block;
    margin: 0 auto .625rem;
    position: absolute;
    width: 35%;
    height: 30%;
    top: 10%;
    right: 5%
}

header img {
    display: block;
    max-width: 100%;
}

header p {
    text-align: center;
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
}


/*--use clearfix when float get's overflowed--*/

.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0px;
}

article {
    padding: 1.25rem 2.5rem 0px 3.125rem;
}

article section {
    float: left;
    width: 48%;
    margin-bottom: -3.125rem;
    position: relative;
    z-index: 10
}

article p:nth-of-type(3),
article section p {
    text-align: justify;
    letter-spacing: -0.05px
}

article section:last-of-type {
    width: 49%;
    float: right
}

/*----------------- footer --------------------*/

footer {
    position: relative;
    color: #fff;
}

footer > a {
    position: absolute;
    left: 3.125rem;
    bottom: 1.875rem;
    font-size: 1.187rem;
}

footer p {
    margin-bottom: .937rem;
}

footer section {
    position: absolute;
    bottom: 0;
    left: 43%;
    padding-right: 2.5rem;
    line-height: 1.3
}

footer img {
    display: block
}


/*--use when you have phone number--*/

footer span {
    white-space: nowrap;
}

@media only screen and (max-width:54.937rem) {
    #wrapper {
        margin: 0 auto;
        border: 0;
    }

    p,
    ul,
    article section:last-of-type ul {
        margin-bottom: .625rem;
    }

    article section {
        float: none;
        width: 100%;
        margin: 0
    }

    a {
        font-weight: bold;
    }

    footer {
        background: #8CA20A
    }

    footer > a {
        position: static;
        padding: 0 .625rem;
    }

    footer section {
        position: static;
        width: 100%;
        padding: .625rem .625rem;
    }

    footer > img {
        display: none
    }

    article {
        padding: .625rem;
    }

    h1 {
        font-size: 1.75rem;
        margin: .937rem 0;
    }

    h2 {
        font-size: .875rem;
    }

    h3 {
        display: block;
        font-family: 'Courgette', cursive;
        padding: .625rem;
        font-size: 1.312rem;
        font-weight: normal
    }

    article p:nth-of-type(3),
    article section p {
        text-align: left
    }

    footer section p:first-of-type br {
        display: none
    }

    article section:last-of-type {
        width: 100%;
    }
}

@media only screen and (max-width:29.937rem) {
    body {
        font-size: .875rem;
    }

    h1 {
        font-size: 1.312rem;
    }

}
