@font-face {
    font-display: swap;
    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-display: swap;
    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');
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/HelveticaNeue-BoldItalic.eot');
    src: url('../fonts/HelveticaNeue-BoldItalic.eot?#iefix') format('embedded-opentype'), url('../fonts/HelveticaNeue-BoldItalic.woff2') format('woff2'), url('../fonts/HelveticaNeue-BoldItalic.woff') format('woff'), url('../fonts/HelveticaNeue-BoldItalic.ttf') format('truetype'), url('../fonts/HelveticaNeue-BoldItalic.svg#HelveticaNeue-BoldItalic') format('svg');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    color: #fff;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 15px;
    line-height: 22px;
    font-weight: 400;
}

#wrapper {
    max-width: 888px;
    margin: 16px auto;
    border: 1px solid #000;
    background: #009fe3;
}

header {
    background: #fff;
}

.logo {
    padding: 0 0 20px;
}

article {
    padding: 20px 80px 0;
}

footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 80px 40px;
}

.flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0 48px;
    flex-wrap: wrap;
}

.flex p {
    text-align: center;
}

figure {
    margin: 0;
    padding: 0;
    border: 0;
    position: relative;
}

figure img {
    vertical-align: bottom;
}

@keyframes slidy {
    0% {
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    50% {
        opacity: 1;
    }

    60% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

figure img:nth-of-type(1) {
    position: relative;
}

figure img {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    max-width: 100%;
    animation: slidy 10s linear 0s infinite normal forwards;
}

figure img:nth-child(2) {
    animation-delay: 5s;
}

footer i {
    font-size: 36px;
}

p {
    margin: 0 0 16px;
}

strong {
    font-weight: 700;
}

h1 {
    margin: 0 0 16px;
    font-weight: 700;
    font-size: 24px;
    line-height: 30px;
}

h2 {
    font-weight: 700;
    font-size: 16px;
}

h3 {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    text-align: center;
    font-weight: 700;
    font-style: italic;
    margin: 0 0 2px;
}

h3 span {
    display: block;
    margin: 6px 0 0 24%;
}

h4 {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 50px;
    font-weight: 700;
    font-style: italic;
    color: #009fe3;
    padding: 26px 80px;
    line-height: 1;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

ul {
    margin: 0 0 16px;
    list-style: none;
}

ul li {
    padding-left: 14px;
}

li:before {
    content: '\2010';
    float: left;
    margin-top: -3px;
    font-size: 25px;
    text-indent: -14px;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

@media all and (max-width: 886px) {
    #wrapper {
        margin: 0 auto;
        border: none;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }
}

@media all and (max-width: 767px) {
    article {
        padding: 16px 16px 0;
    }

    :is(footer, h4) {
        padding: 16px;
    }
}

@media all and (max-width: 400px) {
    .flex {
        gap: 0 20px;
    }
}