@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-regular.eot');
    src: local(''), url('../fonts/roboto-v30-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-regular.woff2') format('woff2'), url('../fonts/roboto-v30-latin-regular.woff') format('woff'), url('../fonts/roboto-v30-latin-regular.ttf') format('truetype'), url('../fonts/roboto-v30-latin-regular.svg#Roboto') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v30-latin-700.eot');
    src: local(''), url('../fonts/roboto-v30-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-700.woff2') format('woff2'), url('../fonts/roboto-v30-latin-700.woff') format('woff'), url('../fonts/roboto-v30-latin-700.ttf') format('truetype'), url('../fonts/roboto-v30-latin-700.svg#Roboto') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Caveat';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/caveat-v17-latin-700.eot');
    src: url('../fonts/caveat-v17-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/caveat-v17-latin-700.woff2') format('woff2'), url('../fonts/caveat-v17-latin-700.woff') format('woff'), url('../fonts/caveat-v17-latin-700.ttf') format('truetype'), url('../fonts/caveat-v17-latin-700.svg#Caveat') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    color: #1687c9;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 14px;
    line-height: 19px;
    font-weight: 400;
}

#wrapper {
    max-width: 880px;
    margin: 16px auto;
    border: 1px solid #cbcbcb;
    position: relative;
    background-color: #fff;
}

#wrapper:before {
    content: '';
    width: 6px;
    height: 68%;
    background: #c50981;
    position: absolute;
    bottom: 10px;
    left: 0;
}

article {
    padding: 10px 30px;
}

.logo {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    align-items: center;
    padding: 10px 40px 10px 0;
}

footer {
    padding: 10px 30px;
}

.flex {
    display: flex;
    justify-content: space-between;
    padding: 10px 0 0;
    background: url('../images/line.jpg') no-repeat left 50% top 17px;
}

.box {
    width: 45.5%;
}

.color {
    color: #c50981;
}

p {
    margin: 0 0 16px;
}

strong {
    font-weight: 700;
}

h1 {
    margin: 0 0 36px;
    font-weight: 700;
    font-size: 41px;
    line-height: 1.2;
}

h1 small {
    display: block;
    font-size: 20px;
    line-height: 26px;
    margin: 3px 0 0;
}

h1 span {
    font-size: 20px;
    font-weight: 400;
}

h2 {
    font-weight: 400;
    font-size: 20px;
    line-height: 25px;
    color: #c50981;
}

h3 {
    margin: 170px 0 16px;
    font-weight: 700;
    font-size: 35px;
    font-family: 'Caveat', Arial, sans-serif;
    line-height: 1;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

ul {
    margin: 0 0 16px;
    list-style: none;
}

ul li {
    padding-left: 10px;
    margin: 0 0 8px;
}

li:before {
    content: '\2022';
    color: #c50981;
    float: left;
    margin-top: 1px;
    font-size: 16px;
    text-indent: -10px;
}

img {
    max-width: 100%;
}

@media all and (max-width: 878px) {
    #wrapper {
        margin: 0 auto;
        border: none;
    }

    .flex {
        background: none;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }

    span {
        white-space: nowrap;
    }
}


@media all and (max-width: 767px) {
    #wrapper:before {
        display: none;
    }

    article {
        padding: 16px;
    }

    .logo {
        flex-direction: column;
        gap: 16px;
        padding: 0 0 16px;
    }

    .logo h2 {
        width: 100%;
    }

    footer {
        padding: 0 16px 6px;
    }

    br {
        display: none;
    }
}

@media all and (max-width: 660px) {
    .flex {
        display: block;
    }

    .box {
        width: 100%;
    }

    h1 {
        font-size: 30px;
        text-align: center;
    }

    h3 {
        margin: 30px 0 10px;
    }
}