@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');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    color: #000;
    font-family: 'Source Sans 3', Arial, sans-serif;
    font-size: 14px;
    line-height: 18px;
    font-weight: 400;
}

#wrapper {
    max-width: 960px;
    margin: 1rem auto;
    border: 1px solid #ccc;
    background-color: #fff;
    padding: 40px 55px 55px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 45px;
}

header p {
    flex: 1 1 0;
    hyphens: auto;
    text-align: justify;
}

.flexbox {
    display: flex;
    justify-content: space-between;
    margin: 0 0 20px;
}

.flexbox div {
    width: 48.8%;
}

.title {
    margin: 30px 0 20px;
}

:is(footer, .title) p {
    font-size: 18px;
    line-height: 1.3;
}

.title :is(p, h1) {
    text-align: center;
}

p {
    margin: 8px 0 0;
}

span {
    white-space: nowrap;
}

:is(h1, h2, h3, strong) {
    font-weight: 700;
}

h1 {
    font-size: 22px;
    line-height: 28px;
    margin: 10px 0 0;
}

h2 {
    font-size: 15px;
    line-height: 20px;
    margin: 20px 0 0;
}

ul {
    list-style: none;
}

ul li {
    padding-left: 18px;
    margin: 4px 0;
}

li:before {
    content: "\25B6";
    float: left;
    font-size: 9px;
    text-indent: -18px;
    margin-top: 1px;
}

ul ul li:before {
    content: url('../images/icon.jpg');
}

img {
    max-width: 100%;
    vertical-align: middle;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    text-decoration: none;
    white-space: nowrap;
}

@media only screen and (max-width:959px) {
    #wrapper {
        border: none;
        margin: 0;
        padding: 1rem;
        font-size: 16px;
        line-height: 21px;
    }

    header {
        align-items: center;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty
    }

    header p {
        text-align: left;
    }

    .flexbox div {
        width: 48%;
    }

    .title br {
        display: none;
    }
}

@media only screen and (max-width:767px) {
    header {
        flex-direction: column;
        gap: 16px;
    }

    .flexbox {
        display: block;
    }

    .flexbox div {
        width: auto !important;
    }
}