
:root {
    --main: #EB2523;
    --black: #000000;
    --white: #ffffff;
    --dark: #463D58;
    --grey: #8D8FA6;
    --grey_light: #A4A5B2;
    --light: #F5F6F8;
    --dark_blue: #20205E;
    --dark_grey: #495057;
    --pulse: #dbd8fb;
    --header__bg: linear-gradient(113deg, #ffb72b 0%, #f89010 100%);
    --main__gradient: linear-gradient(331deg, #aca8d7 0%, #e9e7ff 100%);
    --blue: #5171e4;
    --footer: #4D4361;
    --arialBlack: 'Arial Black', 'Arial', sans-serif;
}

@font-face {
    font-family: 'Arial Black';
    src: url("../fonts/Arial/Arial-Black.woff2") format('woff2');
    font-weight: 900;
    font-display: swap;
}

* {
    color: var(--dark);
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

a {
    color: var(--dark);
    text-decoration: none;
}

input {
    border: 0;
}

div, section, aside, header, img, footer, main, p, button, input, a, form, h1, h2, h3, h4, h5, h6, iframe {
    display: block;
    width: 100%;
}

img {
    height: auto;
}

.wrap {
    max-width: 1920px;
    margin: 0 auto;
    overflow: clip;
}

.text__black {
    font-weight: 900;
    font-family: var(--arialBlack);
}

.container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1156px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.header {
    background: var(--header__bg);
    padding: 26px 0 21px;
    position: relative;
    z-index: 4;
}

.header__container {
    justify-content: space-around;
    align-items: center;
    gap: 20px;
    max-width: 1384px;
    border-radius: 8px;
}

.header__left {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 975px;
}

.header__text {
    color: var(--white);
    font-size: 1.625rem;
    line-height: 1.1;
    /*noinspection CssInvalidPropertyValue*/
    text-wrap: balance;
    text-wrap-style: balance;
    width: auto;
}

.header__text_big {
    font-size: 4.375rem;
}

.header__link {
    color: var(--white);
    font-size: 1.5rem;
    line-height: 1.09;
    text-align: center;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    background: var(--main);
    max-width: 335px;
    padding: 16px 11px;
    border-radius: 13px;
}

.pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-62%, -50%);
    width: 170px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    z-index: -1;
}

.pulses_form {
    width: 507px;
    transform: translate(-50%, -50%);
}

.pulse__item {
    opacity: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: absolute;
    background: var(--pulse);
    animation-name: pulse, opacity;
    animation-timing-function: linear;
    animation-duration: 6s;
    animation-iteration-count: infinite;
}

.pulse__item_1 {
    animation-delay: 0s;
}
.pulse__item_2 {
    animation-delay: 2s;
}
.pulse__item_3 {
    animation-delay: 4s;
}

.video {
    padding: 65px 0 45px;
}

.video__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 75px;
}

.video__left {
    max-width: 217px;
    position: relative;
}

.video__right {
    max-width: 774px;
}

.video__title {
    font-size: 2.8125rem;
    line-height: 1.1;
    text-transform: uppercase;
    color: var(--main);
    margin-bottom: 15px;
}

.video__subtitle {
    font-size: 2.1875rem;
    line-height: 1.1;
    color: var(--dark);
}

.video__frame {
    display: flex;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width: 1280px) {
    .header__container {
        gap: 20px;
    }
}

@media screen and (max-width: 1024px) {
    .video__row {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .video__title,
    .video__subtitle {
        text-align: center;
    }

}

@media screen and (max-width: 768px) {
    .header {
        padding: 18px 0 23px;
    }

    .header__container {
        gap: 15px;

    }

    .header__left {
        flex-direction: column;
        justify-content: center;
        gap: 5px;
    }

    .header__text {
        text-align: center;
        max-width: 255px;
        font-size: 1.4375rem;
    }

    .header__text_big {
        font-size: 3.4375rem;
        margin-bottom: 9px;
    }
}

@media screen and (max-width: 576px) {

    .header__container {
    }

    .header__link {
        font-size: 1.25rem;
    }

    .video {
        padding: 53px 0 45px;
        position: relative;
        z-index: 3;
    }

    .video__container {
        padding: 0;
    }

    .pulse {
        transform: translate(-53%, -50%);
    }

    .pulse_form {
        transform: translate(-50%, -50%);
    }

    .video__row {
        align-items: center;
        justify-content: center;
        gap: 81px;
        padding: 0 20px;
        margin-bottom: 40px;
    }

    .video__left,
    .video__img {
        max-width: 87px;
    }

    .video__title {
        font-size: 1.875rem;
        margin-bottom: 11px;
    }

    .video__subtitle {
        font-size: 1.75rem;
    }
}


@keyframes pulse {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(3);
    }
}

@keyframes opacity {
    0% {
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    40% {
        opacity: .5;
    }

    100% {
        opacity: 0;
    }
}