﻿* {
    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: 30px 0 14px 24px;
    flex: 1 1 0;
}

footer {
    padding: 0 14px 18px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
    margin: -10px 0 0;
}

footer p {
    font-weight: 300;
    background: #083a5d;
    padding: 5px 10px;
    margin: 0 -14px 0 0;
}

strong {
    font-weight: 900;
}

p {
    margin: 0 0 12px;
}

h1 {
    margin: 16px 0;
    padding-left: 45px;
    font-size: 30px;
    line-height: 1.3;
    font-weight: 700;
}

h1 small {
    display: block;
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
    margin: 2px 0 0;
}

h1:before {
    content: url(icon.png);
    float: left;
    text-indent: -45px;
    margin: 6px 0 0;
}

h2 {
    font-size: 27px;
    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: 609px) {
    #wrapper {
        margin: 0;
        border: none;
        hyphens: auto;
        background: linear-gradient(to bottom, #1c69b4 0%, #1c69b4 25%, #1c69b4 50%, #1e73ba 75%, #3495d2 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%;
    }

    a br {
      display: none;
    }
}
