@charset "utf-8";

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
    color: #000;
    font: 1rem/1.5em 'Verdana', Arial, sans-serif;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    max-width: 56.25rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    border: solid 2px #273583;
}

header {
    padding: 2rem;
}

header section {
    display: flex;
    justify-content: space-between;
}

header section p {
    color: #e40421;
    font-weight: bold;
}

header h3 {
    font-size: 4.5rem;
    color: #e40421;
    margin: 1rem 0;
    line-height: 100%;
}

article {
    padding: 0 2rem;
}

article p {
    margin: 1rem 0;
    hyphens: auto;
}

article h1 {
    color: #009fe3;
    font-size: 2rem;
    line-height: 120%;
    margin: 1rem 0 .5rem;
}

article h1 span {
    color: #000;
    font-size: 1.3rem;
    line-height: 60px;
}

article h2 {
    color: #009fe3;
    font-size: 1rem;
    line-height: 120%;
}

article h2 + p {
    margin-top: 0;
}

article ul {
    margin: 0 0 1rem 1.1rem;
}

footer {
    padding: 0 2rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
}

footer figure {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-end;
    width: 55%;
}

footer section p {
    margin-top: .5rem;
}

:is(article, footer) a.inherit {
    color: #000;
    white-space: nowrap;
}

:is(a:link,a:visited,a:hover,a:active) {
    color: #009fe3;
    text-decoration: none;   
}

@media only screen and (max-width: 56.188rem) {

    #wrapper {
        border: none;
        margin: 0 auto;
    }

    article :is(p,ul,h1) {
        hyphens: auto;
    }

    article h1 br:first-of-type {
        display: none;
    }
}

@media only screen and (max-width: 51.25rem) {

    footer figure {
        flex-direction: column-reverse;
    }
}

@media only screen and (max-width: 40rem) {

    header {
        padding: 2rem 2rem .5rem;
    }

    header section {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    header section p {
        text-align: center;
    }

    header h3 {
        text-align: center;
    }
}

@media only screen and (max-width: 36.25rem) {

    footer {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    footer p {
        text-align: center;
    }

    footer figure {
        width: 100%;
        align-items: center;
    }
}

@media only screen and (max-width: 30rem) {

    header {
        padding: 1rem 1rem 0;
    }

    header h3 {
        font-size: 3rem;
    }

    article {
        padding: 0 1rem;
    }

    article :is(p:first-of-type,h1) {
        text-align: center;
    }

    footer {
        padding: 0 1rem 1rem;
    }
}