@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-regular.eot');
    src: url('../fonts/roboto-v30-latin-regular.eot?#iefix') 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.svg#Roboto') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v30-latin-700.eot');
    src: url('../fonts/roboto-v30-latin-700.eot?#iefix') 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.svg#Roboto') format('svg');
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    font-size: 16px;
}

body {
    color: #000;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5em;
    font-weight: 400;
}

#wrapper {
    max-width: 942px;
    margin: 16px auto;
    border: 1px solid #000;
    padding: 32px 80px;
    background-color: #fff;
    position: relative;
}

header {
    display: flex;
    justify-content: flex-end;
}

.slide {
    margin: 32px -80px;
}

:is(.slide, .slide img:nth-of-type(1)) {
    position: relative;
}

@keyframes slidy {
    0% {
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    50% {
        opacity: 1;
    }

    60% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

.slide img {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    max-width: 100%;
    animation: slidy 10s linear 0s infinite normal forwards;
    vertical-align: bottom;
}

.slide img:nth-child(2) {
    animation-delay: 5s;
}

.font {
    font-size: 18px;
}

footer p {
    text-align: center;
    color: #0070c0;
}

figure {
    display: flex;
    justify-content: center;
    gap: 16px;
}

figure i {
    color: #0070c0;
    font-size: 26px;
}

span {
    white-space: nowrap;
}

p {
    margin: 0 0 16px;
    text-align: justify;
    hyphens: auto;
}

:is(strong, h1, h2, h3) {
    font-weight: 700;
}

h1 {
    margin: 25px 0;
    font-size: 28px;
    line-height: 1.2;
    text-align: center;
    text-decoration: underline;
    color: #0070c0;
}

h2 {
    margin: 32px 0 6px;
    font-size: 20px;
    line-height: 24px;
    color: #0070c0;
}

h3 {
    margin: 16px 0;
    font-size: 16px;
    line-height: 22px;
    color: #0070c0;
}

ul {
    margin: 0 0 32px;
    list-style: none;
}

ul li {
    padding-left: 32px;
}

li:before {
    content: url(../images/icon.jpg);
    float: left;
    font-size: 24px;
    text-indent: -32px;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    text-decoration: none;
    white-space: nowrap;
}

@media all and (max-width: 940px) {
    #wrapper {
        padding: 16px;
        margin: 0;
        border: none;
    }

    .slide {
        margin: 16px -16px;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }

    p {
        text-align: left;
    }
}

@media all and (max-width: 480px) {
    header {
        justify-content: center;
    }
}