:root {
    --font: "Montserrat", sans-serif;
    --font-12: 12px;
    --font-18: clamp(16px, 1.19vw, 18px);
    --font-20: clamp(16px, 1.32vw, 20px);
    --font-28: clamp(20px, 1.62vw, 28px);
    --font-32: clamp(20px, 1.92vw, 32px);
    --font-64: clamp(32px, 4.23vw, 64px);
    --font-72: clamp(40px, 4.92vw, 72px);

    --color-yellow: #FAE100;
    --color-l-blue: #128CAD;
    --color-d-blue: #004BBC;
    --color-white: #FFFFFF;

    --max-width: 1408px;
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: var(--font), sans-serif;
}

body {
    margin-block: 20px;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-inline: 16px;
}

.left {
    padding: 184px 119px 0 119px;
    background: url("./assets/img/bg1.png") center center no-repeat;
    border-radius: 16px;
    color: var(--color-white);
    width: 100%;
}

.first {
    position: relative;
    display: flex;
    gap: 16px;
    margin-bottom: 53px;
}

.img_container {
    width: 100%;
    height: 100%;
    position: absolute;
}

.img {
    position: absolute;
}

.img-1 {
    top: 22px;
    right: 64px;
    z-index: 3;
}

.img-2 {
    top: 184px;
    right: 90px;
    z-index: 1;
}

.img-3 {
    bottom: 25px;
    right: 408px;
    z-index: 2;
}

.right {
    background: var(--color-yellow);
    border-radius: 16px;
    width: 100%;
    max-width: 352px;
}

.title {
    font-size: var(--font-64);
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--color-white)
}

.bg_block {
    background-color: var(--color-yellow);
    width: fit-content;
    padding: 15px 21px;
    font-size: var(--font-28);
    border-radius: 16px;
    color: var(--color-d-blue);
    font-weight: 800;
    margin-bottom: 12px;
}

.text {
    max-width: 626px;
    font-size: var(--font-20);
    margin-bottom: 15px;
}

.button_container {
    display: flex;
    gap: 5px;
    margin-bottom: 38px;
    text-decoration: none;
    align-items: center;
    position: relative;
    z-index: 10;
}

.icon_container {
    width: 40px;
    height: 40px;
    padding: 3px 9px 3px 7px;
    background-color: var(--color-yellow);
    border-radius: 50%;
}

.button {
    border-radius: 10px;
    display: block;
    text-decoration: none;
    font-weight: 800;
    width: fit-content;
    color: var(--color-d-blue);
    position: relative;
    z-index: 10;
    text-transform: uppercase;
}

.white {
    background-color: var(--color-white);
    padding: 10px 20px;
    font-size: var(--font-28);
    margin-bottom: 22px;
}

.yellow {
    background-color: var(--color-yellow);
    padding: 10px 13px;
}

.title_container {
    background: url("./assets/img/bg2.png") center center no-repeat;
    text-align: center;
    padding-block: 22px;
    border-radius: 16px;
    margin-bottom: 53px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.title.big {
    max-width: 756px;
    text-transform: uppercase;
}

.video_container {
    display: flex;
    justify-content: center;
    height: 576px;
    margin-bottom: 50px;
}

.video {
    border-radius: 16px;
    width: 100%;
    max-width: 970px;
    max-height: 576px;
    height: 100%;
}

.final.button {
    text-align: center;
}

.final.button_container {
    display: flex;
    align-items: center;
    justify-content: center;
}

@media screen and (max-width: 1400px) {
    .first {
        flex-direction: column;
    }

    .left {
        background-size: cover;
    }

    .img_container {
        position: relative;
        width: 100%;
        height: 400px;
        background-color: var(--color-yellow);
        border-radius: 16px;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 30px;
    }

    .img-1, .img-2, .img-3 {
        position: unset;
        height: 300px;
        width: auto;
    }
}

@media screen and (max-width: 1135px) {
    .img_container {
        padding-inline: 16px;
        overflow-x: auto;
        justify-content: unset;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        scrollbar-width: none;
    }

    .img_container::-webkit-scrollbar { display: none; }

    .img {
        scroll-snap-align: center;
        scroll-snap-stop: always;
    }

    .video {
        width: 100%;
        height: auto;
    }
}

@media screen and (max-width: 800px) {
    .left {
        padding: 32px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .video_container {
        height: unset;
    }

    .video {
        height: 400px;
    }
}

@media screen and (max-width: 519px) {
    .video {
        height: 300px;
    }
}