﻿* {
    box-sizing: border-box;
    margin: 0rem;
    padding: 0rem;
}

html {
    min-height: 100%;
}

#wrapper {
    border: 3px solid #231f20;
    font-size: 16px;
    line-height: 19px;
    max-width: 490px;
    margin: 0.75rem auto;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    padding: 0rem;
    background-color: #fff;
    overflow: hidden;
    position: relative;
    color: #231f20;
}

article {
    margin: 0;
    padding: 0.875rem 0.875rem 0 128px;
    font-size: 104%;
}

header {
    top: 38px;
    left: 0.75rem;
    position: absolute;
    margin: 0;
    padding: 0;
}

header a:nth-of-type(1) img {
    margin-bottom: 6px;
}

header img {
    position: relative;
    top: 23px;
    left: 4px;
    margin: 0;
    text-align: right;
}

section strong span {
    color: #eb1f2c;
}

footer {
    margin: 13px 0 0;
    padding: 0;
}

footer img {
    position: absolute;
    bottom: 37px;
    left: 1.375rem;
}

h1 {
    font-size: 22px;
    margin: 13px 0 4px;
    line-height: 28px;
    text-align: center;
}

h1 span {
    font-size: 16px;
    display: block;
}

p {
    margin-bottom: 8px;
}

p span {
    color: #eb1f2c;
}

p:last-child {
    margin-bottom: 0rem;
}

a {
    color: #231f20;
    text-decoration: underline;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

.color {
    color: #ee1c22;
}

@media screen and (max-width:490px) {
    #wrapper {
        width: 100%;
        font-size: 13px;
        line-height: 18px;
        border: none;
        margin: 0;
    }

    article {
        padding: 0.625rem;
    }

    article br {
        display: none;
    }

    header,
    aside,
    footer {
        position: relative;
        top: 0;
        left: 0;
    }

    header {
        text-align: center;
		padding-bottom: 30px;
    }

    header img {
        margin: 0.625rem 0.625rem;
    }

    p {
        text-align: left;
    }

    h1 {
        font-size: 20px;
        line-height: 24px;
    }

    footer {
        text-align: center;
    }

    aside {
        text-align: left;
    }

    p {
        margin-bottom: 3%;
    }

    a {
        font-weight: bold;
    }

    footer img {
        position: static;
        bottom: 0;
        left: 0;
    }

    footer br {
        display: block;
    }
}