:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans-v34-latin-regular.eot');
    src: local(''), url('../fonts/open-sans-v34-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v34-latin-regular.woff2') format('woff2'), url('../fonts/open-sans-v34-latin-regular.woff') format('woff'), url('../fonts/open-sans-v34-latin-regular.ttf') format('truetype'), url('../fonts/open-sans-v34-latin-regular.svg#OpenSans') format('svg');
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/open-sans-v34-latin-700.eot');
    src: local(''), url('../fonts/open-sans-v34-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v34-latin-700.woff2') format('woff2'), url('../fonts/open-sans-v34-latin-700.woff') format('woff'), url('../fonts/open-sans-v34-latin-700.ttf') format('truetype'), url('../fonts/open-sans-v34-latin-700.svg#OpenSans') format('svg');
}

html {
    min-height: 100%;
}

body {
    color: #000;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 15px;
    line-height: 20px;
    font-weight: 400;
}

#wrapper {
    max-width: 500px;
    margin: 16px auto;
    border: 1px solid #000;
    background: #d4ddf0;
}

article {
    padding: 0 30px 19px;
}

footer {
    padding: 20px 30px;
    background: #0066b3;
    position: relative;
}

footer :is(p, a) {
    color: #fff !important;
}

strong {
    font-weight: 700;
}

h1 {
    margin: 0 0 10px;
    padding: 0 0 0 25px;
    font-weight: 400;
    font-size: 15px;
    line-height: 20px;
    background: url('../images/icon.jpg') no-repeat 0 5px;
}

h2 {
    margin: 0 0 10px -30px;
    padding: 3px 20px 3px 30px;
    font-size: 19px;
    line-height: 23px;
    background: #d2232a;
    color: #fff;
    display: inline-block;
    border-radius: 0 20px 20px 0;
}

h3 {
    margin: -30px 0 15px;
    padding: 12px;
    font-weight: 700;
    font-size: 21px;
    line-height: 25px;
    text-align: center;
    color: #fff;
    background: url('../images/background.png') no-repeat 0 0;
    background-size: 100% 100%;
    position: relative;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    text-decoration: none;
    white-space: nowrap;
}

ul {
    padding: 0 0 10px;
    list-style: none;
}

ul li {
    padding-left: 25px;
    position: relative;
    background: url('../images/icon.jpg') no-repeat 0 2px;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

h3 span {
    font-size: 16px;
    line-height: 20px;
}

h1 small {
    font-size: 20px;
    line-height: 25px;
    font-weight: 700;
}

.logo {
    background: #fff;
    padding: 7px;
    border: 2px solid #0066b3;
    position: absolute;
    z-index: 3;
    right: 20px;
    bottom: 20px;
    border-radius: 45px 45px 20px 20px;
    overflow: hidden;
}

@media all and (max-width: 499px) {
    #wrapper {
        margin: 0;
        border: none;
        hyphens: auto;
    }

    article {
        padding: 16px;
    }

    footer {
        padding: 16px;
    }
}

@media all and (max-width: 470px) {
    .logo {
        position: static;
        display: inline-block;
        margin-top: 16px;
    }

    p span {
        white-space: nowrap;
    }
}