﻿* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;
}

#wrapper {
    max-width: 610px;
    margin: 16px auto;
    border: 1px solid #000;
    background: #59a7dc url(background.jpg) no-repeat;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

header {
    width: 100%;
}

article {
    padding: 12px 0 14px 34px;
    flex: 1 1 0;
}

footer {
    padding: 12px 20px 18px;
}

p {
    margin: 0 0 12px;
}

.background {
    background: #2f5f89;
    padding: 5px 12px 5px 10px;
    margin: 0 -20px 0 -13px;
}

h1 {
    margin: 16px 0;
    padding-left: 50px;
    font-size: 24px;
    line-height: 29px;
    font-weight: 700;
}

h1 small {
    display: block;
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
}

h1:before {
    content: url(icon.png);
    float: left;
    text-indent: -50px;
    margin: 6px 0 0;
}

h2 {
    font-size: 30px;
    line-height: 40px;
    font-weight: 700;
    border-bottom: 2px solid #fff;
    display: inline-block;
}

h3 {
    font-size: 18px;
    line-height: 18px;
    font-weight: 700;
    color: #2f5f89;
    padding: 5px 0;
}

a {
    color: #fff;
    text-decoration: none;
}

ul {
    margin: 0 0 10px;
    list-style: none;
}

ul li {
    padding-left: 20px;
}

li:before {
    content: '\2022';
    color: #200e00;
    float: left;
    font-size: 25px;
    text-indent: -20px;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

@media all and (max-width: 608px) {
    #wrapper {
        margin: 0;
        border: none;
        hyphens: auto;
        background: linear-gradient(to bottom, #1677bc 0%, #1677bc 25%, #1677bc 50%, #3a93cf 75%, #56a6db 100%);
    }

    article {
        padding: 12px 0 16px 16px;
    }

    footer {
        padding: 16px;
    }

    .background {
        background: #2f5f89;
        padding: 5px 16px;
        margin: 0 -16px;
    }
}

@media all and (max-width: 580px) {
    article {
        padding: 16px 16px 0;
    }

    footer {
        width: 100%;
    }

    .no {
        display: none;
    }
}