@font-face {
    font-display: swap;
    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');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    color: #000;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 700;
}

#wrapper {
    max-width: 746px;
    margin: 16px auto;
    border: 3px solid #ef4736;
    padding: 12px 16px;
    background-color: #fff;
}

header {
    padding: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 60px;
}

article p {
    margin: 0 0 10px;
}

:is(p, h1, h2) {
    text-align: center;
}

h1 {
    margin: 12px 0;
    font-weight: 700;
    font-size: 28px;
    line-height: 1.2;
    color: #ef4736;
}

h2 {
    margin: 0 0 8px;
    font-weight: 700;
    font-size: 21px;
    line-height: 26px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    text-decoration: none;
    white-space: nowrap;
}

img {
    max-width: 100%;
}

@media all and (max-width: 745px) {
    #wrapper {
        margin: 0 auto;
        padding: 1rem;
        border: none;
    }

    p {
        hyphens: auto;
        text-wrap: pretty;
    }

    br:not(header br) {
        display: none;
    }

    span {
        white-space: nowrap;
    }
}

@media all and (max-width: 680px) {
    header {
        flex-direction: column;
        gap: 12px;
        padding: 0 0 16px;
    }
}