@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans-v35-latin-regular.eot');
    src: url('../fonts/open-sans-v35-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v35-latin-regular.woff2') format('woff2'), url('../fonts/open-sans-v35-latin-regular.woff') format('woff'), url('../fonts/open-sans-v35-latin-regular.ttf') format('truetype'), url('../fonts/open-sans-v35-latin-regular.svg#OpenSans') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/open-sans-v35-latin-700.eot');
    src: url('../fonts/open-sans-v35-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v35-latin-700.woff2') format('woff2'), url('../fonts/open-sans-v35-latin-700.woff') format('woff'), url('../fonts/open-sans-v35-latin-700.ttf') format('truetype'), url('../fonts/open-sans-v35-latin-700.svg#OpenSans') format('svg');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    color: #000;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 15px;
    line-height: 22px;
    font-weight: 400;
}

#wrapper {
    max-width: 802px;
    margin: 1rem auto;
    border: 1px solid #000;
    background-color: #fff;
}

.top {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 35px;
    padding: 30px 20px;
}

.slider {
    2 margin: 0;
    padding: 0;
    border: 0;
    position: relative;
}

.slider img {
    vertical-align: bottom;
}

@keyframes slidy {
    0% {
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    25% {
        opacity: 1;
    }

    30% {
        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 20s linear 0s infinite normal forwards;
}

.slider img:nth-child(2) {
    animation-delay: 5s;
}

.slider img:nth-child(3) {
    animation-delay: 10s;
}

.slider img:nth-child(4) {
    animation-delay: 15s;
}

article {
    padding: 30px 70px;
}

footer {
    padding: 0 70px 50px;
}

footer :is(p, a) {
    color: #c10404 !important
}

p:not(:first-of-type) {
    margin-top: 20px;
}

h1 {
    font-size: 24px;
    line-height: 1.2;
    margin: 20px 0 0;
}

h1 span {
    display: block;
    padding-bottom: 10px;
    font-size: 17px;
}

h2 {
    font-size: 18px;
    line-height: 24px;
    margin-top: 20px;
    font-style: italic;
}

h3 {
    font-size: 16px;
    line-height: 24px;
    margin-top: 20px;
}

:is(h1, h2, h3) {
    color: #c10404
}

ul {
    list-style: none;
    margin-top: 20px;
}

ul li {
    padding-left: 24px;
}

li:before {
    content: "\2022";
    color: #000;
    float: left;
    font-size: 24px;
    text-indent: -24px;
    margin-top: 2px;
}

img {
    max-width: 100%;
    display: block;
}

:is(h1, h2, strong) {
    font-weight: 700;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    text-decoration: none;
    white-space: nowrap;
}

@media only screen and (max-width:802px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty
    }

    :is(p, ul) span {
        white-space: nowrap;
    }

    :is(.top, article, footer) {
        padding: 16px
    }
}

@media only screen and (max-width:460px) {
    .top {
        flex-direction: column;
        align-items: center;
        gap: 16px
    }

    .top p {
        text-align: center;
    }
}