@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;
}

body {
    font-size: 16px;
    line-height: 21px;
    font-family: 'Roboto', Arial, sans-serif;
    color: #231F20;
    font-weight: 700;
}

#wrapper {
    margin: 16px auto;
    border: 1px #231F20 solid;
    max-width: 992px;
    background: #77C8CE url('../images/background.jpg') no-repeat;
    position: relative;
    overflow: hidden;
    background-size: 100%;
}

header {
    position: absolute;
    top: 20px;
    right: 20px;
}

article {
    padding: 33px 54px;
}

.slide {
    position: relative;
    max-width: 514px;
    margin: 0 auto 10px;
}

.slide+p {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

@keyframes slidy {
    0% {
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    20% {
        opacity: 1;
    }

    25% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

.slide img:nth-of-type(1) {
    position: relative;
}

.slide img {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    max-width: 100%;
    animation: slidy 25s linear 0s infinite normal forwards;
    vertical-align: bottom;
}

.slide img:nth-child(2) {
    animation-delay: 5s;
}

.slide img:nth-child(3) {
    animation-delay: 10s;
}

.slide img:nth-child(4) {
    animation-delay: 15s;
}

.slide img:nth-child(5) {
    animation-delay: 20s;
}

.button {
    display: flex;
    margin: 1rem 0 0;
    justify-content: center;
}

.button a {
    display: inline-block;
    padding: 10px 15px;
    background: #FEDE00;
    color: #000 !important;
    text-align: center;
    border-radius: 5px;
    transition: .3s;
    -o-transition: .3s;
    -moz-transition: .3s;
    -webkit-transition: .3s;
}

.button a:hover {
    background: #fff;
    color: #0070C0;
}

footer {
    padding: 42px 54px 25px 150px;
    border-top: 1px solid #FFDD00;
    position: relative;
}

footer div img {
    position: absolute;
    top: 50px;
    left: 36px;
}

footer>img {
    position: absolute;
    top: 10px;
    right: 40px;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    text-decoration: none;
    white-space: nowrap;
}

ul {
    margin: 0 0 20px;
    list-style: none;
}

ul li {
    padding-left: 20px;
}

ul li:before {
    content: "\2022";
    color: #000;
    float: left;
    margin: -1px 0 0 -20px;
    font-size: 23px;
    line-height: 1em;
}

h1 {
    margin: 0 0 26px;
    font-size: 28px;
    line-height: 31px;
    font-weight: 700;
}

h1 small {
    font-size: 16px;
    display: block;
    line-height: 1.3rem;
    padding-top: 5px;
}

h2 {
    font-size: 16px;
    line-height: 1.1;
    padding-bottom: 27px;
}

p:not(:last-child) {
    margin-bottom: 27px;
}

@media all and (max-width:991px) {
    #wrapper {
        margin: 0;
        border: none;
    }

    :is(p, ul, h1) {
        hyphens: auto;
    }

    br:not(footer br) {
        display: none;
    }

    span {
        white-space: nowrap;
    }
}

@media all and (max-width:980px) {
    header {
        position: static;
        padding: 20px;
        display: flex;
        justify-content: flex-end;
    }

    article {
        padding: 0 54px 33px;
    }
}

@media all and (max-width:880px) {
    #wrapper {
        background-image: none;
    }
}

@media all and (max-width:767px) {
    header {
        padding: 16px 16px 0;
        justify-content: center;
    }

    article {
        padding: 16px;
    }

    footer {
        padding: 16px 16px 38px 90px;
    }

    footer>img {
        right: 16px;
    }

    footer div img {
        position: absolute;
        top: 28px;
        left: 16px;
    }
}

@media all and (max-width:460px) {
    footer {
        display: flex;
        align-items: center;
        flex-direction: column;
        padding: 16px;
    }

    footer div {
        width: 100%;
    }

    footer div img {
        position: static;
    }

    footer>img {
        margin-top: 16px;
    }
}