@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_8b7d8b69c993f3aa.eot) 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_26c12a414c33bdbb.svg) 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_8b7d8b69c993f3aa.eot) 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_26c12a414c33bdbb.svg) 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: #333333;
}

#wrapper {
    margin: 1rem auto;
    max-width: 775px;
    background: #fff;
    border: solid thin #cbcbcb;
}

header {
    padding: 50px 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.slider {
    position: relative;
}

@keyframes slidy {
    0% {
        opacity: 0;
    }

    6% {
        opacity: 1;
    }

    25% {
        opacity: 1;
    }

    31% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

.slider img:nth-of-type(1) {
    position: relative;
}

.slider img {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    max-width: 100%;
    animation: slidy 30s linear 0s infinite normal forwards;
    vertical-align: bottom;
}

.slider img:nth-child(2) {
    animation-delay: 5s;
}

.slider img:nth-child(3) {
    animation-delay: 10s;
}

.slider img:nth-child(4) {
    animation-delay: 15s;
}

.slider img:nth-child(5) {
    animation-delay: 20s;
}

.slider img:nth-child(6) {
    animation-delay: 25s;
}

article {
    padding: 16px 80px 0;
}

:is(.color, .color a) {
    color: #800000 !important;
}

.text-center {
    text-align: center;
}

.margin-bottom {
    margin-bottom: 0;
}

:is(h2, h3, strong) {
    font-weight: 700;
}

:is(h1, h2, h3) {
    line-height: 1.2;
}

h1 {
    font-size: 18px;
    margin: 0 0 16px;
    font-weight: 400;
}

h2 {
    font-size: 27px;
    margin: 0 0 20px;
}

h3 {
    font-size: 18px;
}

p {
    margin-bottom: 16px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #333333;
    text-decoration: none;
}

img {
    max-width: 100%;
}

ul {
    margin: 0 0 25px 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";
}

footer {
    padding: 0 80px 50px;
}

@media screen and (max-width: 774px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    :is(h1, h2, h3, p, ul li) {
        hyphens: auto;
        text-wrap: pretty;
    }

    :is(p a, span) {
        white-space: nowrap;
    }

    br:not(br.mobile-block) {
        display: none;
    }
}

@media screen and (max-width: 674px) {
    header {
        padding: 20px;
    }

    article {
        padding: 20px 20px 0;
    }

    footer {
        padding: 0 20px 20px;
    }
}