﻿* {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
}

html {
    min-height: 100%;
}

#wrapper {
    max-width: 750px;
    margin: 12px auto;
    border: 1px solid #000;
    background: #fff;
    overflow: hidden;
    color: #200e00;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
}

header {
    padding: 10px 17px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

article {
    background: #c4161c;
    padding: 10px 17px;
    display: flex;
    gap: 10px 12px;
    align-items: center;
    flex-direction: row-reverse;
}

footer {
    padding: 10px 17px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.item {
    width: 49%;
}

p {
    margin: 0 0 16px;
    text-align: justify;
}

h1 {
    font-size: 30px;
    line-height: 34px;
    font-weight: 700;
    width: calc(100% - 90px);
    color: #fff;
}

h2 {
    font-size: 15px;
    line-height: 21px;
    font-weight: 700;
    color: #c4161c;
}

a {
    color: #200e00;
    text-decoration: none;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

h1 small {
    display: block;
    font-size: 30px;
    font-weight: 400;
}

@media all and (max-width: 749px) {
    #wrapper {
        margin: 0;
        font-size: 14px;
        line-height: 18px;
        border: none;
    }

    h2 {
        font-size: 16px;
    }

    p {
        text-align: left;
    }

    br {
        display: none;
    }
}

@media all and (max-width: 575px) {
    header {
        justify-content: center;
    }

    .item {
        width: 100%;
    }

    article {
        flex-direction: column;
    }

    h1 {
        width: auto;
        text-align: center;
    }
}