﻿:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 20px;
    color: #242021;
}

#wrapper {
    max-width: 595px;
    margin: 0.75rem auto;
    padding: 12px;
    border: solid 7px #014E8A;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    background-color: #fff;
}

header {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
}

article {
    padding: 0 0 8px;
}

footer .strong {
    display: block;
}

h1 {
    font-size: 24px;
    margin: 20px 0 10px;
    line-height: 29px;
    color: #014E8A;
}

h1 span {
    font-size: 18px;
    font-weight: 400;
}

img {
    max-width: 100%;
}

p {
    margin-bottom: 8px;
}

p:last-child {
    margin-bottom: 0;
}

a {
    color: #242021;
    text-decoration: none;
    white-space: nowrap;
}

@media screen and (max-width: 595px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 16px;
    }
}

@media screen and (max-width: 545px) {
    header {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    p br {
        display: none;
    }

}