﻿* {
    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: url(background.jpg) no-repeat;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

header {
    width: 100%;
}

article {
    padding: 6px 0 11px 26px;
    flex: 1 1 0;
}

footer {
    padding: 0 14px 18px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 18px;
    margin: 18px 0 0;
}

footer p {
    font-weight: 300;
    background: #023d61;
    padding: 5px 10px;
    margin: 0 -14px 0 0;
}

strong {
    font-weight: 900;
}

p {
    margin: 0 0 12px;
}

h1 {
    margin: 14px 0 12px;
    padding-left: 45px;
    font-size: 25px;
    line-height: 1.2;
    font-weight: 700;
}

h1 small {
    display: block;
    font-weight: 400;
    font-size: 17px;
    line-height: 1.15;
    margin: 1px 0 0;
}

h1 span {
    white-space: nowrap;
}

h1:before {
    content: url(icon.png);
    float: left;
    text-indent: -45px;
    margin: 6px 0 0;
}

h2 {
    font-size: 29px;
    line-height: 34px;
    font-weight: 700;
    display: inline-block;
    border-bottom: 3px solid #fff;
}

h3 {
    margin: 16px 0;
    font-size: 13px;
    line-height: 18px;
    font-weight: 700;
}

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, #1b6ab4 0%, #1b6ab4 25%, #1b6ab4 50%, #257fc2 75%, #349ad5 100%);
    }

    article {
        padding: 16px 16px 0;
    }

    footer {
        width: 100%;
        justify-content: center;
        align-items: center;
        padding: 16px;
        margin: 0;
    }

    footer p {
        margin: 0;
        padding: 10px 16px;
        text-align: center;
        line-height: 1.4;
        width: 100%;
    }

    h2 {
        font-size: 28px;
    }

    a br {
        display: none;
    }
}