@charset "utf-8";

@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/roboto-v47-latin-300.eot');
    src: url('../fonts/roboto-v47-latin-300.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v47-latin-300.woff2') format('woff2'), url('../fonts/roboto-v47-latin-300.woff') format('woff'), url('../fonts/roboto-v47-latin-300.ttf') format('truetype'), url('../fonts/roboto-v47-latin-300.svg#Roboto') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v47-latin-regular.eot');
    src: url('../fonts/roboto-v47-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v47-latin-regular.woff2') format('woff2'), url('../fonts/roboto-v47-latin-regular.woff') format('woff'), url('../fonts/roboto-v47-latin-regular.ttf') format('truetype'), url('../fonts/roboto-v47-latin-regular.svg#Roboto') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v47-latin-700.eot');
    src: url('../fonts/roboto-v47-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v47-latin-700.woff2') format('woff2'), url('../fonts/roboto-v47-latin-700.woff') format('woff'), url('../fonts/roboto-v47-latin-700.ttf') format('truetype'), url('../fonts/roboto-v47-latin-700.svg#Roboto') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
}

body {
    color: #000;
    font: .937rem 'Roboto', Arial, sans-serif;
    line-height: 1.4;
    font-weight: 300;
}

#wrapper {
    position: relative;
    max-width: 885px;
    margin: 1rem auto;
    border: 1px solid #000;
    background: #fff;
    overflow: hidden;
    text-align: left;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

a:hover {
    text-decoration: underline;
}

p {
    margin: 0 0 1rem;
}

h1 {
    font-size: 2rem;
    line-height: 1.1;
    margin: 0 0 10px;
}

h1 + p {
    margin: 0 0 1.5rem;
}

h1 span {
    font-weight: 400;
    font-size: 1.2rem;
    white-space: nowrap
}

h2 {
    font-size: 1.062rem;
    line-height: 1.2;
    margin-bottom: .25rem;
    font-weight: 300;
}

p span,
h1,
h2 {
    color: #B91E2B;
}

ul {
    padding: 0 0 20px;
    list-style: none;
}

li {
    padding: 0 0 0 1rem;
}

li:before {
    content: "\25A0";
    display: block;
    font-size: 1em;
    line-height: 1;
    position: relative;
    float: left;
    top: 0px;
    margin-left: -1rem;
    font-family: "Arial", sans-serif;
    color: #B81E2B;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.main {
    background: #fff url('../images/bg.jpg') no-repeat bottom;
    padding: 0 3rem 2rem;
    display: flow-root;
}

article {
    padding: 2.375rem 0 0;
    float: right;
    width: 34.563rem;
}

.flex {
    margin: 8px 0 40px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between
}

.flex p {
    background: #B91E2B;
    padding: 6px 7px;
    margin: 0 0 5px;
    color: #fff;
    display: inline-block;
}

footer {
    float: left;
    width: 200px;
}

.ulm > img {
    margin-top: -96px;
    position: relative;
}

.ulm > p:first-of-type {
    font-size: 0.8em;
    line-height: 1.8;
    position: relative;
    margin: 36px 0 0;
}

.ulm > p:first-of-type:before {
    content: '';
    position: absolute;
    bottom: -.312rem;
    left: -.875rem;
    width: 1px;
    height: 2.5rem;
    background: #B81E2B;
}

.ulm > p:first-of-type:after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: -14px;
    width: 60px;
    height: 1px;
    background: #B81E2B;
}

footer > aside {
    position: absolute;
    left: 3rem;
    bottom: 3rem;
    line-height: 1.3;
}

@media only screen and (max-width: 884px) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
        margin: 0 0 1rem
    }

    .nowrap {
        white-space: nowrap
    }

    ul {
        margin: 0 0 1rem;
        padding: 0
    }

    article > p:first-of-type,
    h1,
    h2:last-of-type,
    h2:last-of-type + p {
        text-align: center;
    }

    .main {
        padding: 1rem;
    }
    h1+p{
        text-align: center;
    }

    article,
    footer {
        width: 100%;
        float: none;
        padding: 0;
    }

    .flex {
        width: 100%;
        text-align: center;
        text-align-last: center;
        display: flex;
        justify-content: center;
        flex-flow: row wrap;
        margin: 0 0 1rem
    }

    .flex p {
        float: none;
        width: 200px;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    ul:last-of-type li:nth-of-type(2) {
        margin-right: 0;
        word-spacing: 0;
    }

    footer {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 0 30px;
    }

    footer > aside {
        position: static;
        margin: 1rem 0;
        text-align: center;
        width: 50%
    }

    aside img,
    .ulm > img {
        margin: 0 auto;
    }

    .ulm {
        padding: 0 1rem;
        text-align: center;
        width: 50%
    }

    .ulm > p:first-of-type {
        margin: 16px 0 0;
    }

    .ulm > p:first-of-type:before,
    .ulm > p:first-of-type:after {
        display: none
    }

    article br {
        display: none
    }
}

@media only screen and (max-width: 700px) {
    footer > aside {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin: 30px 0 0;
    }

    .flex p {
        width: 220px;
    }
}

@media only screen and (max-width: 480px) {

    h2:last-of-type,
    h2:last-of-type + p,
    footer p {
        text-align: center
    }

    .flex {
        justify-content: center;
    }

    footer {
        flex-direction: column;
    }

    footer aside,
    .ulm {
        width: 100%
    }
}
