@font-face {
    font-display: swap;
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/source-sans-3-v15-latin-regular.eot');
    src: url('../fonts/source-sans-3-v15-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/source-sans-3-v15-latin-regular.woff2') format('woff2'), url('../fonts/source-sans-3-v15-latin-regular.woff') format('woff'), url('../fonts/source-sans-3-v15-latin-regular.ttf') format('truetype'), url('../fonts/source-sans-3-v15-latin-regular.svg#SourceSans3') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/source-sans-3-v15-latin-700.eot');
    src: url('../fonts/source-sans-3-v15-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/source-sans-3-v15-latin-700.woff2') format('woff2'), url('../fonts/source-sans-3-v15-latin-700.woff') format('woff'), url('../fonts/source-sans-3-v15-latin-700.ttf') format('truetype'), url('../fonts/source-sans-3-v15-latin-700.svg#SourceSans3') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Source Serif 4';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/source-serif-4-v8-latin-regular.eot');
    src: url('../fonts/source-serif-4-v8-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/source-serif-4-v8-latin-regular.woff2') format('woff2'), url('../fonts/source-serif-4-v8-latin-regular.woff') format('woff'), url('../fonts/source-serif-4-v8-latin-regular.ttf') format('truetype'), url('../fonts/source-serif-4-v8-latin-regular.svg#SourceSerif4') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Source Serif 4';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/source-serif-4-v8-latin-500.eot');
    src: url('../fonts/source-serif-4-v8-latin-500.eot?#iefix') format('embedded-opentype'), url('../fonts/source-serif-4-v8-latin-500.woff2') format('woff2'), url('../fonts/source-serif-4-v8-latin-500.woff') format('woff'), url('../fonts/source-serif-4-v8-latin-500.ttf') format('truetype'), url('../fonts/source-serif-4-v8-latin-500.svg#SourceSerif4') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    color: #fdb813;
    font-family: 'Source Sans 3', Arial, serif;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
}

#wrapper {
    max-width: 680px;
    margin: 16px auto;
    border: 1px solid #000;
    background: #4d4a64;
}

.main {
    background: url('../images/background.jpg') top center no-repeat;
    background-size: 100% 100%;
    border: 16px solid #4d4a64;
}

header {
    padding: 30px 25px 25px 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

article {
    position: relative;
}

article div:nth-of-type(1) {
    width: 321px;
}

article div:nth-of-type(1) img {
    position: relative;
    z-index: 66;
}

.title {
    background: #4D4A64;
    padding: 20px 25px 20px 32px;
    position: absolute;
    top: -10px;
    right: -16px;
    width: 350px;
}

article p {
    color: #4d4a64;
    text-align: center;
    font-size: 10px;
    font-weight: 500;
    margin: 10px 0 0;
}

:is(article p, .font) {
    font-family: 'Source Serif 4', Arial, serif;
}

.font strong {
    font-family: 'Source Sans 3', Arial, serif;
}

:is(.font, .font a) {
    color: #fff !important;
}

footer {
    padding: 16px 16px 1px;
}

footer p:last-of-type {
    text-align: right;
    font-size: 19px;
}

footer .font:not(.margin) {
    margin: 0 0 32px;
}

p {
    margin: 0 0 12px;
}

:is(strong, h1) {
    font-weight: 700;
}

h1 {
    padding: 0 0 0 23px;
    font-size: 61px;
    line-height: 61px;
}

h1:before {
    content: '\2022';
    float: left;
    margin-top: -2px;
    font-size: 40px;
    line-height: 62px;
    text-indent: -23px;
}

h2 {
    margin: 0 0 16px;
    font-weight: 400;
    font-size: 16px;
    line-height: 30px;
}

h2 strong {
    font-size: 24px;
}

ul {
    list-style: none;
}

ul li {
    padding-left: 25px;
    margin: 0 0 12px;
}

li:before {
    content: '\2714';
    float: left;
    margin-top: -3px;
    color: #fdb515;
    font-size: 20px;
    text-indent: -25px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #fdb813;
    text-decoration: none;
    white-space: nowrap;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

@media all and (max-width: 679px) {
    #wrapper {
        margin: 0 auto;
        border: none;
    }

    p {
        hyphens: auto;
        text-wrap: pretty;
    }

    span {
        white-space: nowrap;
    }
}

@media all and (max-width: 669px) {
    .main {
        border-bottom-width: 0;
        background: #fcb12e;
    }

    header {
        padding: 16px;
    }

    article div:nth-of-type(1) {
        width: auto;
    }

    article p {
        font-size: 14px;
        margin: 6px 16px 16px;
    }

    article br:not(h2 br) {
        display: none;
    }

    .title {
        position: static;
        padding: 16px 16px 0;
        margin: 0 -16px;
        width: auto;
    }
}

@media all and (max-width: 560px) {
    header {
        flex-direction: column;
    }

    footer p:last-of-type {
        text-align: center;
        margin: 16px 0;
    }
}