@charset "utf-8";

@font-face {
    font-display: swap;
    font-family: 'Work Sans';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/work-sans-v24-latin-600.eot');
    src: url('../fonts/work-sans-v24-latin-600.eot?#iefix') format('embedded-opentype'), url('../fonts/work-sans-v24-latin-600.woff2') format('woff2'), url('../fonts/work-sans-v24-latin-600.woff') format('woff'), url('../fonts/work-sans-v24-latin-600.ttf') format('truetype'), url('../fonts/work-sans-v24-latin-600.svg#WorkSans') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
}

body {
    color: #000000;
    font: 400 1rem/1.3 "Segoe UI", Arial, sans-serif;
}

#wrapper {
    position: relative;
    max-width: 800px;
    margin: 1rem auto;
    border: solid 1px #000;
    background: #DFCAB7;
    overflow: hidden;
}

p {
    padding-bottom: 1rem;
}

h1,
h2,
h3 {
    font-family: 'Work Sans', Arial, sans-serif;
    color: #9A9072;
    font-weight: 600;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1 {
    margin: 0;
    font-size: 2.2em;
    line-height: 1em;
}

h1 small {
    font-size: 0.7em;
}

h2 {
    font-size: 1.65em;
    line-height: 1.2em;
    margin-bottom: 1rem;
    color: #9A9072;
}

h2.custom {
    font-size: 1.75em;
    margin-bottom: 0.125rem;
}

h3 {
    font-size: 1.65em;
    line-height: 1.3;
    margin-bottom: 1rem;
}

header figure {
    position: absolute;
    top: 2rem;
    right: 2rem;
}

main {
    position: absolute;
    top: 11rem;
    right: 3.5rem;
    width: 381px;
}

footer {
    display: flex;
    align-items: center;
    gap: 1rem;
}

footer p {
    font-size: 0.938rem;
    line-height: 1.25;
}

footer p {
    padding-bottom: 0.25rem;
}

@media only screen and (max-width:799px) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }

    p {
        -moz-hyphens: auto;
        -o-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    p :is(span, a) {
        display: inline-block;
    }

    main {
        position: static;
        width: auto;
        padding: 2rem;
    }

    article br {
        display: none;
    }
}

@media only screen and (max-width:480px) {
    h1 {
        font-size: 2em;
    }

    main {
        padding: 1rem;
    }

    footer {
        gap: .5rem;
    }
}