﻿* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
}

#wrapper {
    max-width: 645px;
    margin: 16px auto;
    border: 2px solid #772284;
    padding: 12px 16px 10px;
    background-color: #fff;
    overflow: hidden;
    color: #231f20;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 21px;
    position: relative;
    font-weight: 400;
}

footer {
    position: absolute;
    bottom: 3px;
    right: 16px;
    z-index: 1;
}

header p {
    margin: 0 0 3px;
}

.logo {
    padding: 0 0 0 16px;
}

p {
    margin: 0 0 8px;
    text-align: justify;
}

h1 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
}

h1 strong {
    font-size: 22px;
    color: #a6ce39;
}

h2 {
    font-size: 16px;
    margin: 0 0 16px;
    font-weight: 400;
    background: #772284;
    color: #fff;
    position: absolute;
    top: 80px;
    right: 0;
    z-index: 1;
    padding: 8px 10px;
    transform: rotate(-6deg);
    text-align: center;
}

h3 {
    font-size: 16px;
    line-height: 21px;
    font-weight: 700;
    color: #a6ce39;
    position: absolute;
    left: 16px;
    z-index: 1;
    bottom: 60px;
}

h4 {
    font-size: 18px;
    color: #772284;
    margin: 0 0 8px;
    font-weight: 700;
}

a {
    color: #231f20;
    text-decoration: none;
}

img {
    max-width: 100%;
}

@media all and (max-width: 644px) {
    #wrapper {
        padding: 16px;
        border: none;
        margin: 0 auto;
    }

    footer {
        position: static;
        text-align: center;
        margin: 16px 0 0;
    }

    footer p {
        text-align: center;
    }

    .logo {
        padding: 0;
        display: flex;
        justify-content: center;
    }

    h2 {
        position: static;
        transform: none;
    }

    h3 {
        position: static;
        margin: 0 0 16px;
    }

    p {
        text-align: left;
    }

    article br {
        display: none;
    }
}