: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: #064845;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.25rem;
    font-weight: 400;
}

#wrapper {
    max-width: 670px;
    margin: 1rem auto;
    border: 1px solid #000;
    background: #f1e9d8 url('../images/background.jpg') no-repeat right bottom;
    position: relative;
}

article {
    padding: 1.25rem 1.25rem 0.625rem;
}

footer {
    position: absolute;
    z-index: 3;
    right: 1rem;
    bottom: 0.75rem;
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.625rem;
}

p {
    margin: 0 0 1rem;
}

strong {
    font-weight: 700;
}

h1 {
    margin: 2.5rem 0 3.75rem;
    position: relative;
    font-weight: 700;
    font-size: 2.625rem;
    line-height: 2.875rem;
    font-family: 'Times New Roman', Times, serif;
    padding-left: 1.25rem;
}

h1 small {
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 400;
    font-size: 1.25rem;
    line-height: 1.5rem;
}

h1::before {
    content: "";
    width: 0.4375rem;
    height: 0.4375rem;
    background: #ba6063;
    position: absolute;
    z-index: 3;
    left: 0;
    top: 1.3125rem;
    transform: rotate(-12deg);
}

h3 {
    margin: 0 0 0.9375rem;
    font-weight: 400;
    font-size: 1.75rem;
    line-height: 2.125rem;
}

h2 {
    margin: 0 0 0.625rem;
    font-weight: 700;
    font-size: 1.4375rem;
    line-height: 1.875rem;
    font-family: 'Times New Roman', Times, serif;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #064845;
    text-decoration: none;
    white-space: nowrap;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

article p:last-of-type {
    margin-bottom: 0;
}

footer a {
    color: #fff !important;
}

footer p {
    margin-bottom: 0;
}

p small {
    font-size: 0.875rem;
    line-height: 1.125rem;
    display: block;
}

@media all and (max-width: 669px) {
    #wrapper {
        margin: 0;
        border: none;
    }

    article {
        padding: 1rem;
    }

    h1 {
        margin: 1.875rem 0;
    }
}

@media all and (max-width: 630px) {
    footer {
        position: static;
        padding: 0 1rem 0.9375rem;
    }

    p span {
        white-space: nowrap;
    }
}