@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-regular.eot');
    src: local(''), 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: local(''), 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');
}

@font-face {
    font-display: swap;
    font-family: 'Anton';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/anton-v27-latin-regular.eot');
    src: url('../fonts/anton-v27-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/anton-v27-latin-regular.woff2') format('woff2'), url('../fonts/anton-v27-latin-regular.woff') format('woff'), url('../fonts/anton-v27-latin-regular.ttf') format('truetype'), url('../fonts/anton-v27-latin-regular.svg#Anton') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-condensed-v27-latin-regular.eot');
    src: url('../fonts/roboto-condensed-v27-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-condensed-v27-latin-regular.woff2') format('woff2'), url('../fonts/roboto-condensed-v27-latin-regular.woff') format('woff'), url('../fonts/roboto-condensed-v27-latin-regular.ttf') format('truetype'), url('../fonts/roboto-condensed-v27-latin-regular.svg#RobotoCondensed') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    color: #fff;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    line-height: 22px;
    font-weight: 400;
}

#wrapper {
    max-width: 722px;
    margin: 16px auto;
    border: 1px solid #000;
    background: #000;
}

.logo {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 0 0 26px;
}

.logo a {
    margin-top: 32px;
}

article {
    padding: 10px 20px;
}

footer {
    padding: 0 20px 14px;
}

.title {
    background: url('../images/bg-icon.jpg') bottom left no-repeat;
    padding: 0 0 26px 0;
    position: relative;
    margin: -100px 0 10px;
}

.text {
    padding: 0 20px;
}

.text p {
    margin: 0 0 6px;
    font-size: 18px;
    color: #d9d9d9;
}

.icon {
    position: absolute;
    bottom: 4px;
    left: 368px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
}

.icon p {
    display: flex;
    align-items: center;
    font-size: 14px;
    width: 38%;
    margin: 0 0 3px;
    gap: 8px;
}

.flexbox {
    display: flex;
    justify-content: space-between;
}

.flexbox div {
    width: 48%;
}

.iframe-wrapper {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin: 0 0 26px;
}

.iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px 10px;
}

.background {
    background: url('../images/background.jpg') no-repeat;
    width: 286px;
    height: 169px;
    padding: 41px 35px;
}

.background p {
    color: #000;
    font-size: 11px;
    line-height: 1.3;
    margin: 0 0 16px;
}

.footer {
    background: #f4b300;
    position: relative;
    padding: 20px 12px;
    border-radius: 24px;
    color: #000;
    margin: 0 0 20px;
}

footer p {
    margin: 0 0 1px;
    font-size: 15px;
}

.slide {
    position: absolute;
    right: 16px;
    top: 40px;
}

figure {
    position: relative;
}

@keyframes slidy {
    0% {
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    25% {
        opacity: 1;
    }

    30% {
        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 20s linear 0s infinite normal forwards;
    vertical-align: bottom;
}

figure img:nth-child(2) {
    animation-delay: 5s;
}

figure img:nth-child(3) {
    animation-delay: 10s;
}

figure img:nth-child(4) {
    animation-delay: 15s;
}

span {
    white-space: nowrap;
}

.avata {
    display: flex;
    align-items: flex-end;
    gap: 12px;
}

.avata a {
    font-size: 18px;
    line-height: 1.5;
}

.avata p small {
    line-height: 1.4;
    font-size: 83%;
    display: block;
}

.top {
    display: flex;
    justify-content: flex-end;
    padding: 0 30px 0 0;
}

footer>p {
    font-size: 16px;
    text-align: center;
}

p {
    margin: 0 0 32px;
}

strong {
    font-weight: 700;
}

:is(h1, h2, h3, h4) {
    font-family: 'Anton', Arial, sans-serif;
    color: #f4b500;
    font-weight: 400;
}

h1 {
    margin: 0 0 16px;
    font-size: 72px;
    line-height: 1.2;
}

h2 {
    margin: 0 0 6px;
    font-size: 28px;
    line-height: 1.2;
}

h3 {
    margin: 0 0 16px;
    font-size: 28px;
    line-height: 1.2;
    color: #fff !important;
}

h4 {
    margin: 0 0 30px 69px;
    font-size: 28px;
    line-height: 1.2;
    color: #000 !important;
}

h4:before {
    content: url('../images/icon.jpg');
    float: left;
    margin-top: -6px;
    text-indent: -69px;
}

h4 small {
    display: block;
    font-size: 13px;
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 700;
    margin: 8px 0 0;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

ul {
    margin: 0 0 32px;
    font-family: 'Roboto Condensed', Arial, sans-serif;
    list-style: none;
}

ul li {
    padding-left: 42px;
    margin: 20px 0;
    font-size: 14px;
}

li:before {
    content: url('../images/icon-li.jpg');
    float: left;
    text-indent: -42px;
}

.mobile {
    display: none;
}

img {
    max-width: 100%;
}

@media all and (max-width: 721px) {
    #wrapper {
        margin: 0 auto;
        border: none;
    }

    article {
        padding: 0 16px;
    }

    footer {
        padding: 0 16px 16px;
    }

    .logo {
        padding: 0 0 0 16px;
        gap: 16px;
    }

    .title {
        background: none;
    }

    .text {
        padding: 0 16px;
    }

    .icon {
        position: static;
        padding: 16px 16px 0;
        border-top: 2px solid #fff;
    }

    .flex {
        padding: 0 0 20px;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }

    ul li {
        padding-left: 32px;
    }

    li:before {
        text-indent: -32px;
    }

    h1 {
        font-size: 68px;
    }
}

@media all and (max-width: 711px) {
    .slide {
        position: static;
        display: flex;
        justify-content: center;
        margin: 16px 0 0;
    }

    .footer br {
        display: none;
    }

    .avata {
        align-items: center;
    }
}

@media all and (max-width: 676px) {
    .title {
        margin: 16px 0 0;
    }

    .flexbox {
        display: block;
    }

    .flex {
        flex-direction: column;
        gap: 16px;
    }

    .pc {
        display: none;
    }

    .mobile {
        display: inline;
    }

    .flexbox div {
        width: 100%;
    }

    h1 {
        font-size: 60px;
    }
}

@media all and (max-width: 424px) {
    .avata {
        flex-direction: column;
        text-align: center;
    }

    .avata a {
        font-size: 17px;
    }

    .icon p {
        width: 46%;
    }
}