@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-regular.eot');
    src: local(''), url('../fonts/roboto-v30-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-regular.woff2') format('woff2'), url('../fonts/roboto-v30-latin-regular.woff') format('woff'), url('../fonts/roboto-v30-latin-regular.ttf') format('truetype'), url('../fonts/roboto-v30-latin-regular.svg#Roboto') format('svg');
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v30-latin-700.eot');
    src: local(''), url('../fonts/roboto-v30-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-700.woff2') format('woff2'), url('../fonts/roboto-v30-latin-700.woff') format('woff'), url('../fonts/roboto-v30-latin-700.ttf') format('truetype'), url('../fonts/roboto-v30-latin-700.svg#Roboto') format('svg');
}

@font-face {
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 700;
    src: url('../fonts/roboto-v30-latin-700italic.eot');
    src: local(''), url('../fonts/roboto-v30-latin-700italic.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-700italic.woff2') format('woff2'), url('../fonts/roboto-v30-latin-700italic.woff') format('woff'), url('../fonts/roboto-v30-latin-700italic.ttf') format('truetype'), url('../fonts/roboto-v30-latin-700italic.svg#Roboto') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 23px;
    color: #231f20;
}

#wrapper {
    margin: 1rem auto;
    max-width: 470px;
    background: #fff;
    border: solid thin #231f20;
}

header {
    padding: 10px 15px 2px;
    background: #ffd503;
    display: flex;
    justify-content: space-between;
}

.header-flex-content {
    width: 78%;
}

article {
    padding: 8px 15px 0;
    position: relative;
    background: url(../images/background.jpg) repeat-x left top;
}

.position {
    position: absolute;
    right: 15px;
    top: 148px;
}

.color {
    color: #d2232a !important;
}

.right {
    text-align: right;
}

.margin-bottom {
    margin-bottom: 0;
}

:is(h1, h2, h3, h4, strong) {
    font-weight: 700;
}

:is(h1, h2, h3, h4) {
    line-height: 1.2;
}

h1 {
    font-size: 32px;
    margin: 4px 0;
}

h1 span {
    white-space: nowrap;
}

h2 {
    font-size: 17px;
    margin: 0 0 5px -10px;
}

h3 {
    font-size: 28px;
    font-style: italic;
}

h4 {
    font-size: 16px;
}

p {
    margin-bottom: 10px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #231f20;
    text-decoration: none;
}

img {
    max-width: 100%;
}

ul {
    margin: 0 0 10px 15px;
}

ul li {
    list-style: none;
    text-indent: -15px;
}

ul li:before {
    font-size: 20px;
    margin-right: 15px;
    position: relative;
    top: -1px;
    float: left;
    content: "\2022";
}

.big {
    font-size: 120%;
}

footer {
    padding: 0 15px 16px;
}

@media screen and (max-width: 469px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    header {
        padding: 15px;
    }

    h2 {
        margin-left: 0;
    }

    .big {
        font-size: 110%;
    }

    :is(h1, h2, h3, h4, p, ul li) {
        hyphens: auto;
        text-wrap: pretty;
    }

    .position {
        top: 187px;
    }

    .margin {
        margin-right: 187px;
    }

    :is(p a, ul li span, p span:not(span.big)) {
        white-space: nowrap;
    }

    br:not(br.mobile-block) {
        display: none;
    }
}

@media screen and (max-width: 452px) {
    .position {
        position: static;
        width: 182px;
        display: block;
        margin: 0px auto 10px !important;
    }

    .margin {
        margin-right: 0 !important;
    }
}

@media screen and (max-width: 374px) {
    header {
        flex-direction: column;
        align-items: center;
    }

    header :is(h2, p) {
        text-align: center !important;
    }

    .header-flex-content {
        width: 100% !important;
    }
}