@font-face {
    font-display: swap;
    font-family: 'EB Garamond';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/eb-garamond-v27-latin-regular.eot');
    src: url('../fonts/eb-garamond-v27-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/eb-garamond-v27-latin-regular.woff2') format('woff2'), url('../fonts/eb-garamond-v27-latin-regular.woff') format('woff'), url('../fonts/eb-garamond-v27-latin-regular.ttf') format('truetype'), url('../fonts/eb-garamond-v27-latin-regular.svg#EBGaramond') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'EB Garamond';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/eb-garamond-v27-latin-700.eot');
    src: url('../fonts/eb-garamond-v27-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/eb-garamond-v27-latin-700.woff2') format('woff2'), url('../fonts/eb-garamond-v27-latin-700.woff') format('woff'), url('../fonts/eb-garamond-v27-latin-700.ttf') format('truetype'), url('../fonts/eb-garamond-v27-latin-700.svg#EBGaramond') format('svg');
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "EB Garamond", Arial, serif;
    font-size: 18px;
    line-height: 24px;
    color: #231f20;
    font-weight: 400;
}

#wrapper {
    max-width: 861px;
    border: solid 1.25rem #a41d2d;
    background: #fff;
    margin: 1rem auto;
}

header {
    background: #a41d2d;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header p {
    color: #fff;
    margin: 0.3125rem 0 0.625rem;
}

article {
    padding: 10px 1.625rem;
}

footer {
    padding: 0.75rem 0 0;
    background: #a41d2d;
}

:is(header p, footer p) {
    font-size: 20px;
}

.font-small {
    font-size: 15px;
    line-height: 1.25;
    text-align: justify;
    margin: 0 0 16px;
}

.paragraph {
    text-align: left;
    padding-left: 150px;
    position: relative;
}

.paragraph span {
    position: absolute;
    top: 0;
    left: 0;
}

.socical {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 0 0 0.375rem;
}

.margin-bottom {
    margin-bottom: 0;
}

p {
    margin-bottom: 16px;
    text-align: center;
}

:is(strong, h1, h2) {
    font-weight: 700;
}

h1 {
    font-size: 27px;
    margin: -9px 0 5px;
    line-height: 1.1;
    text-align: center;
}

h1 span {
    display: block;
    font-size: 18px;
}

h2 {
    font-size: 1.125rem;
    line-height: 1.375rem;
    margin: 25px 0 3px;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    text-decoration: none;
    white-space: nowrap;
}

ul {
    margin: 0 0 20px;
    list-style: none;
}

ul li {
    padding-left: 0.75rem;
    margin: 3px 0;
}

li:before {
    content: '\2012';
    float: left;
    font-size: 11px;
    text-indent: -0.75rem;
}

.color {
    color: #fff !important;
}

.flex {
    display: flex;
}

.flex div:nth-of-type(1) {
    width: 140px;
}

.flex div:nth-of-type(2) {
    width: calc(100% - 140px);
}

.flex p {
    text-align: left;
    margin: 0 0 4px;
}

@media screen and (max-width: 860px) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }

    header {
        padding: 1rem 0 0;
    }

    header>img {
        width: 100%;
    }

    header p {
        margin: 12px 16px 16px;
    }

    :is(article, footer) {
        padding: 1rem;
    }

    .font-small {
        text-align: left;
    }

    :is(ul, p) {
        hyphens: auto;
        text-wrap: pretty;
    }

    span {
        white-space: nowrap;
    }
}

@media screen and (max-width: 480px) {
    .flex {
        display: block;
    }

    .flex div {
        width: 100% !important
    }
}

@media screen and (max-width: 424px) {
    a {
        white-space: normal !important;
    }
}