:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans-v34-latin-regular.eot');
    src: local(''), url('../fonts/open-sans-v34-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v34-latin-regular.woff2') format('woff2'), url('../fonts/open-sans-v34-latin-regular.woff') format('woff'), url('../fonts/open-sans-v34-latin-regular.ttf') format('truetype'), url('../fonts/open-sans-v34-latin-regular.svg#OpenSans') format('svg');
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/open-sans-v34-latin-700.eot');
    src: local(''), url('../fonts/open-sans-v34-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v34-latin-700.woff2') format('woff2'), url('../fonts/open-sans-v34-latin-700.woff') format('woff'), url('../fonts/open-sans-v34-latin-700.ttf') format('truetype'), url('../fonts/open-sans-v34-latin-700.svg#OpenSans') format('svg');
}

html {
    min-height: 100%;
}

body {
    color: #000;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 0.9375rem;
    line-height: 1.1875rem;
    font-weight: 400;
}

#wrapper {
    max-width: 550px;
    margin: 1rem auto;
    border: 1px solid #000;
    padding: 0.25rem;
    background: #fff;
    position: relative;
}

article {
    position: absolute;
    z-index: 3;
    left: 12.125rem;
    top: 40%;
}

footer {
    padding: 0 0.8125rem 0.625rem 1.4375rem;
    display: flex;
    justify-content: space-between;
    position: absolute;
    z-index: 3;
    left: 0;
    bottom: 0.125rem;
    width: 100%;
    align-items: flex-end;
}

strong {
    font-weight: 700;
}

header img:nth-of-type(2) {
    display: none;
}

h1 {
    margin: 0 4px 4rem;
    padding: 0.1875rem 1rem;
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1.75rem;
    text-align: center;
    color: #fff;
}

h2 {
    margin: 0 0 1.6875rem;
    font-size: 1.5rem;
    line-height: 1.75rem;
    text-align: center;
    font-weight: 400;
    color: #fff;
}

h3 {
    margin: 118px 3.125rem 0px 17px;
    padding: 0.625rem 1rem;
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1.875rem;
    text-align: center;
    color: #fff;
}

h4 {
    font-weight: 700;
    font-size: 1.625rem;
    line-height: 1.875rem;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    text-decoration: none;
    white-space: nowrap;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

p small {
    font-size: 0.75rem;
}

h1 small {
    display: block;
    font-size: 0.875rem;
    font-weight: 400;
}

footer p {
    line-height: 1.4375rem;
}

@media all and (max-width: 549px) {
    #wrapper {
        margin: 0;
        border: none;
    }
	
	h3 {
        margin: 85px 3.125rem 0px 17px;
    }

    footer {
        padding: 0 1rem 0.625rem;
    }

    p span {
        white-space: nowrap;
    }
}

@media all and (max-width: 535px) {
    #wrapper {
        padding: 0;
    }

    header img:nth-of-type(2) {
        display: block;
    }

    header img:nth-of-type(1) {
        display: none;
    }

    article {
        position: static;
        background: #dd3434;
    }

    :is(h1, h2, h3) {
        padding: 0.625rem 1rem;
        margin: 0;
    }

    h3 {
        background: #0a86c1;
    }

    footer {
        position: static;
        padding: 0.625rem 1rem;
        gap: 0.625rem;
        flex-wrap: wrap;
    }
}