* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    min-height: 100%;
}

body {
    color: #262626;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 18px;
    line-height: 24px;
}

#wrapper {
    max-width: 730px;
    margin: 16px auto;
    border: 1px solid #262626;
    background-color: #fff;
}

header {
    padding: 0px 53px 0 75px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

article {
    padding: 35px 40px 20px;
}

footer {
    padding: 20px 25px;
    background: #e5e5e5;
    display: flex;
    gap: 71px;
}

footer p {
    margin-top: 0;
}

.title {
    background: url('bg_title.jpg') repeat-y;
    padding: 20px;
    color: #fff;
    margin: 10px -40px 8px;
}

p {
    margin-top: 10px;
}

p:first-of-type {
    margin-top: 0px;
}

h1 {
    font-size: 37px;
    line-height: 1.1;
}

h1 span {
    font-size: 22px;
    font-weight: normal;
}

h1+p {
    font-weight: 500;
    padding-top: 25px;
    font-size: 20px;
}

h2 {
    font-size: 23px;
    line-height: 1.1;
    margin-top: 35px;
}

h3 {
    font-size: 20px;
    line-height: 26px;
    margin-top: 16px;
}

:is(h1, h2, h3) {
    font-weight: 600;
}

.flex {
    display: flex;
    justify-content: space-between;
    padding-bottom: 16px;
    gap: 16px;
}

.flex div {
    width: 276px;
}

.flex div:nth-of-type(2) {
    width: 350px;
}

ul {
    list-style: none;
}

ul li {
    padding-left: 18px;
    margin: 4px 0;
}

li:before {
    content: "\2022";
    color: #ed0277;
    float: left;
    font-size: 31px;
    text-indent: -16px;
    font-family: Arial, Helvetica, sans-serif;
    margin-top: 1px;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: #262626;
    text-decoration: none;
}

@media only screen and (max-width:730px) {
    #wrapper {
        border: none;
        margin: 0;
        font-size: 17px;
    }

    :is(header, article, footer, .title) {
        padding: 16px;
    }

    .title {
        margin: 16px -16px 0;
    }

    .flex div {
        width: 48% !important;
    }

    br {
        display: none;
    }

    footer {
        gap: 49px;
    }

    li:before {
        margin-top: 2px;
    }

    footer br {
        display: inline;
    }
}

@media only screen and (max-width:630px) {
    :is(header, footer) {
        flex-direction: column;
        align-items: center;
        gap: 16px
    }

    footer p {
        text-align: center;
    }

    .flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding-bottom: 10px;
    }

    .flex div {
        width: auto !important;
    }

    ul li {
        padding-left: 16px;
    }
}