@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: italic;
    font-weight: 400;
    src: url('../fonts/open-sans-v35-latin-italic.eot');
    src: url('../fonts/open-sans-v35-latin-italic.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v35-latin-italic.woff2') format('woff2'), url('../fonts/open-sans-v35-latin-italic.woff') format('woff'), url('../fonts/open-sans-v35-latin-italic.ttf') format('truetype'), url('../fonts/open-sans-v35-latin-italic.svg#OpenSans') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/open-sans-v35-latin-600.eot');
    src: url('../fonts/open-sans-v35-latin-600.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v35-latin-600.woff2') format('woff2'), url('../fonts/open-sans-v35-latin-600.woff') format('woff'), url('../fonts/open-sans-v35-latin-600.ttf') format('truetype'), url('../fonts/open-sans-v35-latin-600.svg#OpenSans') format('svg');
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    color: #0b0e3a;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 14px;
    line-height: 23px;
    font-weight: 400;
}

#wrapper {
    max-width: 850px;
    margin: 16px auto;
    border: 1px solid #000;
    background-color: #fff;
    position: relative;
}

:is(header, .slide, .slide img:nth-of-type(1)) {
    position: relative;
}

.logo {
    position: absolute;
    top: 10%;
    left: 10%;
    z-index: 10;
}

@keyframes slidy {
    0% {
        opacity: 0;
    }

    6.6% {
        opacity: 1;
    }

    33.3% {
        opacity: 1;
    }

    39.9% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

.slide img {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    max-width: 100%;
    animation: slidy 15s linear 0s infinite normal forwards;
    vertical-align: bottom;
}

.slide img:nth-child(2) {
    animation-delay: 5s;
}

.slide img:nth-child(3) {
    animation-delay: 10s;
}

article {
    padding: 30px 40px;
}

figure {
    background: #1d1d1d;
    padding: 10px 50px;
    display: flex;
    justify-content: flex-end;
    gap: 25px;
}

.flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    background: #292929;
    padding: 20px 50px;
}

.flex p {
    flex: 1 1 0;
    color: #fff;
}

p:not(:last-of-type) {
    margin: 0 0 10px;
}

:is(strong, h1, h2) {
    font-weight: 600;
}

h1 {
    margin: 15px 0 30px;
    font-size: 30px;
    line-height: 36px;
    text-align: center;
}

h2 {
    font-size: 14px;
    line-height: 23px;
}

ul {
    margin: 0 0 15px;
    list-style: none;
}

ul li {
    padding-left: 20px;
}

li:before {
    content: '\2022';
    color: #000;
    float: left;
    font-size: 26px;
    text-indent: -20px;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #4455a7;
    text-decoration: none;
}

a[href^="tel:"] {
    color: #fff;
}

@media all and (max-width: 850px) {
    #wrapper {
        margin: 0;
        border: none;
    }

    .logo {
        top: 5%;
        left: 5%;
    }

    article {
        padding: 5%;
    }

    article br {
        display: none;
    }

    :is(figure, .flex) {
        padding: 3% 5%;
    }

    :is(p, ul) {
        text-wrap: pretty;
        hyphens: auto;
    }

    :is(a, span) {
        white-space: nowrap;
    }
}

@media all and (max-width: 600px) {
    figure {
        justify-content: center;
    }

    .flex {
        flex-direction: column;
    }

    .flex p {
        width: 100%;
        text-align: center;
    }
}

@media all and (max-width: 480px) {
    :is(.logo, article, figure, .flex) {
        padding: 16px;
    }

    .logo {
        position: static;
        display: flex;
        justify-content: center;
    }
}