:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-regular.eot');
    src: url('../fonts/roboto-v30-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-regular.woff2') format('woff2'), url('../fonts/roboto-v30-latin-regular.woff') format('woff'), url('../fonts/roboto-v30-latin-regular.ttf') format('truetype'), url('../fonts/roboto-v30-latin-regular.svg#Roboto') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v30-latin-700.eot');
    src: url('../fonts/roboto-v30-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-700.woff2') format('woff2'), url('../fonts/roboto-v30-latin-700.woff') format('woff'), url('../fonts/roboto-v30-latin-700.ttf') format('truetype'), url('../fonts/roboto-v30-latin-700.svg#Roboto') format('svg');
}

html {
    min-height: 100%;
}

body {
    color: #000;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.25rem;
    font-weight: 400;
}

#wrapper {
    max-width: 550px;
    margin: 1rem auto;
    border: 1px solid #219b90;
    padding: 1rem 1rem 0.6875rem;
    background: #fff url('../images/background.jpg') no-repeat 0 0;
    position: relative;
}

strong {
    font-weight: 700;
}

h1 {
    padding: 1rem 0.625rem;
    font-weight: 700;
    font-size: 1.4375rem;
    line-height: 1.875rem;
    text-align: center;
    font-family: 'Times New Roman', Times, serif;
    position: absolute;
    z-index: 3;
    left: 13.625rem;
    top: 0;
    color: #fff;
}

h2 {
    font-weight: 700;
    padding: 1.5rem 0.5625rem;
    font-size: 0.9375rem;
    line-height: 1.1875rem;
    text-align: center;
    font-family: 'Times New Roman', Times, serif;
    width: 9.6875rem;
    position: absolute;
    z-index: 5;
    left: 5.125rem;
    top: 3.9375rem;
    height: 9.6875rem;
    color: #fff;
}

h3 {
    font-weight: 400;
    font-size: 1.0625rem;
    line-height: 1.25rem;
    color: #219b90;
    margin: 8.5625rem 0 0.125rem;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    text-decoration: none;
    white-space: nowrap;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

h1 small {
    display: block;
    font-size: 1rem;
    line-height: 1.25rem;
}

h1 span {
    font-size: 1rem;
    line-height: 1.25rem;
    display: block;
}

h1 small:nth-of-type(2) {
    margin-left: 1.1875rem;
    font-size: 0.9375rem;
}

footer {
    display: none;
}

@media all and (max-width: 549px) {
    #wrapper {
        margin: 0;
        border: none;
    }
}

@media all and (max-width: 500px) {
    #wrapper {
        background: #fff;
    }

    header {
        display: flex;
        justify-content: center;
    }

    h1 {
        background: #219b90;
        position: static;
        margin: 0.9375rem 0 0;
    }

    h1 span {
        display: inline;
    }

    :is(h1, h2) br {
        display: none;
    }

    h2 {
        background: #71afb0;
        position: static;
        width: auto;
        padding: 0.625rem;
        height: auto;
    }

    h3 {
        margin-top: 1rem;
    }

    footer {
        margin: 0 -1rem -0.625rem;
        display: flex;
        justify-content: flex-end;
        margin-top: 0.9375rem;
    }
}