 html{
    overflow-x: hidden; /* Запрещаем горизонтальный скролл */
    margin: 0;
}

* {
  box-sizing: border-box; /* Применяем ко всем элементам */
}
body{
    margin: 0;
    font-family: "Just Dance Bold";
    font-weight: 900;
    overflow-x: hidden;
user-select: none;
}

#three-container {
    width: 100vw;
    height: 100vh;
    position: absolute;
    z-index: 10;
}

canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

#rotation-area {
    position: absolute;
    width: 90vw;
    height: 3500px;
    top: 250px;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    z-index: 1000;
    cursor: grab;
}





.montserrat-<uniquifier> {
  font-family: "Montserrat", serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}
.header{
     justify-content: flex-end;
     display: flex;
}
.header-text h1{
    top: 0px;
    position: relative;
    font-weight: bold;
    left: 220px;
    font-size: 64px;
    text-transform: uppercase;
    color: black;
    max-width: 900px;
    margin: 0;
    padding: 0;
}

.header-text h2{
    top: 0px;
    display: flex;
    left: 220px;
    position: relative;
    font-weight: 400;
    font-size: 36px;
    max-width: 900px;
    margin: 0;
    padding: 0;

}



/* Стили для кнопки меню */
 .menu-button {
            width: 100px;
            height: 50px;
            background-color: rgba(227, 227, 227, 0.6);
            border-radius: 10%;
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            position: fixed;
            top: 500px;
            left: 10px;
            font-weight: bold;
            z-index: 1000000000000000000000000000000000000000000000000000000000000000;
        }

        .menu {
            position: fixed;
            top: 10%;
            left: 7%; /* Изначально скрыто справа от кнопки */
            width: 500px;
            height: 850px;
            background-color: #121212;
            border-radius: 10px;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
            transform: rotateY(90deg) scale(0.9);
            transform-origin: left;
            opacity: 0;
            color: white;
            cursor: pointer;
            z-index: 1000000000000000000000000000000000000000000000000000000000000000;
            transition: transform 0.6s ease, opacity 0.6s ease;
        }

        .menu.active {
            transform: rotateY(0) scale(1);
            opacity: 1;
        }
        .menu ul li {
            font-size: 30px;
            font-weight: bold;
            list-style: none;
            text-align: center;
            padding: 25px 25px 25px 0px;
        }

.menu-button:hover {
    font-size: 0.9em;
    transition: font-size 0.3s ease;
}


        .menu li:hover {
    transform: scale(0.9); /* Уменьшает размер */
    transition: transform 0.3s ease; /* Добавляет плавность */
}
        .menu li:nth-child(5) {
    font-size: 20px;
    font-weight: bold;
    padding-bottom: 2px;
}

.menu li:nth-child(6){
    padding-bottom: 2px;
}

.menu li:nth-child(7){
    padding-bottom: -2px;
}
.menu li:nth-child(8){
    padding-bottom: 3px;
}

::-webkit-scrollbar {
    width: 4px; /* Ширина скроллбара */

}
/* Стилизация трека (фона, по которому двигается ползунок) */
::-webkit-scrollbar-track {
    background: #FFF; /* Цвет фона скроллбара */
    border-radius: 10px; /* Скругление */
    transition: opacity 1s ease-in-out;

}

/* Стилизация самого ползунка */
::-webkit-scrollbar-thumb {
    background: #000; /* Цвет ползунка */
    border-radius: 20px; /* Скругление углов */
   
}

.text1 h1{
    position: relative;
    top: 1100px;
    left: 359px;
    display: flex;
    font-weight: 800;
    font-size: 77px;
    max-width: 900px;

}

.text1 h2{
font-size: 40px;
font-weight: Regular;
position: relative;
top: 1500px;
left: 813px;

}
.montserrat-alternates-regular {
  font-family: "Montserrat Alternates", serif;
  font-weight: 400;
  font-style: normal;
}
.nav {
    display: flex;
    gap: 90px; /* Расстояние между пунктами */
    justify-content: flex-end;
    margin-top: 10px;
    padding: 20px 50px; /* Отступ от краёв */
    position: fixed;
    z-index: 1000000;
}

.navtext {
    font-size: 24px;
    text-decoration: none;
    color: #000;
    position: relative;
    cursor: pointer;
    right: 0;
}

/* Линия под текстом */
.navtext::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 2px;
    background-color: #000;
    transition: width 0.3s ease-in-out;
}

/* Анимация при наведении */
.navtext:hover::after {
    width: 100%;
}

.rectangle2{
    width: 78px; height: 70px; background: #D9D9D9; border-radius: 19px;
    position: relative;
    left: 813px;
    top: 1486px;
    max-width: 100px;
}
.reitangle{
    top: 1444px;
    left: 848px;
    position: relative;
    max-width: 20px;
}
.reitangle:hover{
    transform: scale(0.8);
    transition: transform 0.5s ease;
    cursor: pointer;
}

.text1 h3{
    font-size: 16px;
    font-weight: 500;
    position: relative;
    top: 1558px;
    left: 918px;
    max-width: 150px;

}
.text1 h3:hover{
    transform: scale(0.8);
    transition: transform 0.3s ease;
    cursor: pointer;
}
.part1{
    height: 3158px;
background: #F4F4F4;
}


.txt {
  opacity: 0;
  transition: opacity .5s;
  font-weight: 900;
}

.op {
  opacity: 100;
}
.part2{
    height: 4542px;
    background: #FFFF;
}

.video-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 70px;
             position: absolute;
             top: 3400px;
    left: 466px;
        }

.video-box, .video-box2, .video-box3, .video-box4 {
    position: relative; /* Делаем контейнеры родительскими */
}



.video-box {
            transition: transform 0.4s ease-out, opacity 0.4s ease-out;
            opacity: 1;
            width: 950px; height: 700px; background: #D9D9D9; border-radius: 20px;
    

        }

        .video-box video {
            width: 100%;
            border-radius: 20px;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease-out, opacity 0.4s ease-out;

        }
        

        /* Увеличение блока при прокрутке */
        .video-box.visible {
            transform: scale(1.08);
            opacity: 1;

        }

        /* Автозапуск видео при наведении */
        .video-box video:hover {
            transform: scale(1.05);
        }



.video-box2 {
            transition: transform 0.4s ease-out, opacity 0.4s ease-out;
            opacity: 1;
            width: 950px; height: 700px; background: #D9D9D9; border-radius: 20px;
   
    

        }

        .video-box2 video {
            width: 100%;
            border-radius: 20px;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease-out, opacity 0.4s ease-out;

        }
        

        /* Увеличение блока при прокрутке */
        .video-box2.visible {
            transform: scale(1.08);
            opacity: 1;

        }

        /* Автозапуск видео при наведении */
        .video-box2 video:hover {
            transform: scale(1.05);
        }

.video-box3 {
            transition: transform 0.4s ease-out, opacity 0.4s ease-out;
            opacity: 1;
            width: 950px; height: 700px; background: #D9D9D9; border-radius: 20px;
   
    

        }

        .video-box3 video {
            width: 100%;
            border-radius: 20px;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease-out, opacity 0.4s ease-out;

        }
        

        /* Увеличение блока при прокрутке */
        .video-box3.visible {
            transform: scale(1.08);
            opacity: 1;

        }

        /* Автозапуск видео при наведении */
        .video-box3 video:hover {
            transform: scale(1.05);
        }

.video-box4 {
            transition: transform 0.4s ease-out, opacity 0.4s ease-out;
            opacity: 1;
            width: 950px; height: 700px; background: #D9D9D9; border-radius: 20px;
   
    

        }

        .video-box4 video {
            width: 100%;
            border-radius: 20px;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease-out, opacity 0.4s ease-out;

        }
        

        /* Увеличение блока при прокрутке */
        .video-box4.visible {
            transform: scale(1.08);
            opacity: 1;

        }

        /* Автозапуск видео при наведении */
        .video-box4 video:hover {
            transform: scale(1.05);
        }


.text-pro {
    position: absolute;
    color: white;
    font-size: 30px;
    font-weight: bold;
    top: 20px;
    left: 20px;
}

.text-pro2{
    position: absolute;
    color: black;
    font-size: 15px;
    top: 20px;
    right: 20px;
    font-weight: bold;
    background: rgba(232, 221, 5, 0.7); /* Полупрозрачный черный фон */
    padding: 10px 15px; /* Отступы внутри прямоугольника */
    border-radius: 5px; /* Скругление углов */

}
.text-pro3{
    position: absolute;
    color: white;
    font-size: 15px;
    font-weight: bold;
    left: 20px;
    background: rgba(0, 0, 0, 0.1); /* Полупрозрачный черный фон */
    padding: 10px 15px; /* Отступы внутри прямоугольника */
    border-radius: 5px; /* Скругление углов */
bottom: 20px;
}

.text-pro4 img{
     position: absolute;
     right: 20px;
     bottom: 20px;
     width: 36px;
     height: 36px;
}

.text-proo {
    position: absolute;
    color: white;
    font-size: 30px;
    font-weight: bold;
    top: 20px;
    left: 20px;
}

.text-proo2{
    position: absolute;
    color: black;
    font-size: 15px;
    top: 20px;
    right: 20px;
    font-weight: bold;
    background: rgba(21, 199, 12, 0.7); /* Полупрозрачный черный фон */
    padding: 10px 15px; /* Отступы внутри прямоугольника */
    border-radius: 5px; /* Скругление углов */

}
.text-proo3{
    position: absolute;
    color: white;
    font-size: 15px;
    font-weight: bold;
    left: 20px;
    background: rgba(0, 0, 0, 0.1); /* Полупрозрачный черный фон */
    padding: 10px 15px; /* Отступы внутри прямоугольника */
    border-radius: 5px; /* Скругление углов */
bottom: 20px;
}

.text-proo4 img{
     position: absolute;
     right: 20px;
     bottom: 20px;
     width: 36px;
     height: 36px;
}



.text-prooo {
    position: absolute;
    color: white;
    font-size: 30px;
    font-weight: bold;
    top: 20px;
    left: 20px;
}

.text-prooo2{
    position: absolute;
    color: black;
    font-size: 15px;
    top: 20px;
    right: 20px;
    font-weight: bold;
    background: rgba(21, 199, 12, 0.7); /* Полупрозрачный черный фон */
    padding: 10px 15px; /* Отступы внутри прямоугольника */
    border-radius: 5px; /* Скругление углов */

}
.text-prooo3{
    position: absolute;
    color: white;
    font-size: 15px;
    font-weight: bold;
    left: 20px;
    background: rgba(0, 0, 0, 0.1); /* Полупрозрачный черный фон */
    padding: 10px 15px; /* Отступы внутри прямоугольника */
    border-radius: 5px; /* Скругление углов */
bottom: 20px;
}

.text-prooo4 img{
     position: absolute;
     right: 20px;
     bottom: 20px;
     width: 36px;
     height: 36px;
}



.text-proooo {
    position: absolute;
    color: white;
    font-size: 30px;
    font-weight: bold;
    top: 20px;
    left: 20px;
}

.text-proooo2{
    position: absolute;
    color: black;
    font-size: 15px;
    top: 20px;
    right: 20px;
    font-weight: bold;
    background: rgba(232, 221, 5, 0.7); /* Полупрозрачный черный фон */
    padding: 10px 15px; /* Отступы внутри прямоугольника */
    border-radius: 5px; /* Скругление углов */

}
.text-proooo3{
    position: absolute;
    color: white;
    font-size: 15px;
    font-weight: bold;
    left: 20px;
    background: rgba(0, 0, 0, 0.1); /* Полупрозрачный черный фон */
    padding: 10px 15px; /* Отступы внутри прямоугольника */
    border-radius: 5px; /* Скругление углов */
bottom: 20px;
}

.text-proooo4 img{
     position: absolute;
     right: 20px;
     bottom: 20px;
     width: 36px;
     height: 36px;
}


.ad{
     width: 549px; height: 317px; background: #D9D9D9; border-radius: 10px;
     position: absolute;
     top: 6935px;
     left: 685px;
}

.text4 p{
    font-size: 44px;
    font-weight: 800;
    position: relative;
    top: 2685px;
    left: 96px;
    max-width: 450px;
}
.text4 h2{
    font-size: 24px;
    font-weight: 500;
    position: relative;
    top: 2700px;
    left: 96px;
transition: opacity 0.5s ease;
opacity: 0;
max-width: 450px;
}

.text5 p{
    font-size: 44px;
    font-weight: 800;
    position: relative;
    top: 990px;
    left: 1376px;
    max-width: 450px;
}
.text5 h2{
    font-size: 24px;
    font-weight: 500;
    position: relative;
    top: 1000px;
    left: 1376px;
    transition: opacity 0.5s ease;
opacity: 0;
max-width: 450px;
}
@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
        filter: blur(10px);

  }
  to {
    opacity: 100;
    transform: translateY(0);
        filter: blur(0);

  }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fade-in linear both;
  animation-timeline: view();
  animation-range: entry 20% cover 40%;
  position: relative;
    font-size: 77px;
    font-weight: 800;
    left: 183px;
    top: 0px;
        filter: blur(10px);
        max-width: 900px;

}
@keyframes fade-inn {
  from {
    opacity: 0;
    transform: translateY(20px);
        filter: blur(10px);

  }
  to {
    opacity: 100;
    transform: translateY(0);
        filter: blur(0);

  }
}

.fade-inn {
  opacity: 0;
  transform: translateY(20px);
  animation: fade-in linear both;
  animation-timeline: view();
  animation-range: entry 20% cover 40%;
    font-size: 70px;
    font-weight: 800;
    position: relative;
 top: 3080px;
    left: 313px;
        filter: blur(10px);
        z-index: 1;
        letter-spacing: 10;
        max-width: 900px;

}

/* Область, при наведении на которую будет появляться текст */
.hover-area {
    position: relative;
    left: 0;
    top: 3095px;
    width: 700px; /* Ширина зоны наведения */
    height: 1150px; /* Высота зоны наведения */
    cursor: pointer;
    opacity: 1;
}


/* Показываем текст при наведении на .hover-area */
.hover-area:hover ~ .text4 h2 {
    opacity: 1;
}
.hover-areaa {
    position: relative;
    left: 1170px;
    top: 1720px;
    width: 700px; /* Ширина зоны наведения */
    height: 1150px; /* Высота зоны наведения */
    cursor: pointer;
    box-sizing: border-box;
    

}
.hover-areaa:hover ~ .text5 h2 {
    opacity: 1;

}





.text6 p{
    font-size: 44px;
    font-weight: 800;
    position: relative;
margin: 0;
top: 50px;
    left: 121px;
    color: #FFF;
}


.container{
    width: 1920px;
    height: 3500px;
    position: relative;
    background: #000;
    margin: 0;
    padding: 0;
}





.video1 {
    position: relative;
    top: 0 !important;
    left: 0 !important;
    width: 70vw;
    height: 100%;
    object-fit: cover;
    opacity: 1; /* Теперь video1 видно сразу */
    transition: opacity 0.5s ease-in-out;
}

.video2 {
    position: absolute;
    top: 0;
    right: 0;
    width: 70vw;
    height: 100%;
    object-fit: cover;
    opacity: 0; /* Video2 скрыто по умолчанию */
    transition: opacity 0.5s ease-in-out;
    transform-origin: left; /* Центр увеличения справа */
}

@font-face {
    font-family: 'Just Dance Bold';
    src: url('fonts/JustDanceBold.woff') format('woff'),
    url('fonts/JustDanceBold.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PP Neue Montreal';
    src: url('fonts/PPNeueMontreal-Medium.woff2') format('woff2'),
        url('fonts/PPNeueMontreal-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PP Neue Montreal';
    src: url('fonts/PPNeueMontreal-Thin.woff2') format('woff2'),
        url('fonts/PPNeueMontreal-Thin.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PP Neue Montreal';
    src: url('fonts/PPNeueMontreal-Bold.woff2') format('woff2'),
        url('fonts/PPNeueMontreal-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PP Neue Montreal Book';
    src: url('fonts/PPNeueMontreal-Book.woff2') format('woff2'),
        url('fonts/PPNeueMontreal-Book.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PP Neue Montreal';
    src: url('fonts/PPNeueMontreal-SemiBolditalic.woff2') format('woff2'),
        url('fonts/PPNeueMontreal-SemiBolditalic.woff') format('woff');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'PP Neue Montreal';
    src: url('fonts/PPNeueMontreal-Italic.woff2') format('woff2'),
        url('fonts/PPNeueMontreal-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

.scroll-container {
  width: 100%;
  height: 520px;
  overflow: hidden;
  background: #F4F4F4;
}

.scroll-wrapper {
  display: flex;
  animation: scrollRight 20s linear infinite;
}

.scroll-item {
  flex: 0 0 auto;
  width: 500px;
  height: 500px;
  margin: 10px;
  background: #FFF;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.4); /* Белые тени вокруг */
  backdrop-filter: blur(15px); /* Эффект блюра */
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  color: black;
  font-size: 1.2rem;
  font-weight: bold;
  text-align: left;
  z-index: 1;
  cursor: pointer;
   text-shadow: rgba(0, 0, 0, 0.4);;

}

.scroll-item p{
    position: relative;
  z-index: 1;

}

.scroll-item::before {
  content: attr(data-year); /* Используем текст года */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 8rem;
  color: #000;
  z-index: 0;

}


@keyframes scrollRight {
  0% {
    transform: translateX(100%); /* Начинаем справа */
  }
  100% {
    transform: translateX(-100%); /* Заканчиваем слева */
  }
}





.popup {
  display: none;
  position: fixed;
  top: 0;
  right: -300px; /* Изначально скрыто справа */
  width: 300px;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  transition: right 0.3s ease-in-out; /* Плавное появление */
  z-index: 10000000000;
  cursor: pointer;
}

.popup-content {
  background: white;
  padding: 20px;
  height: 100%;
  font-weight: 600;
  font-family: "PP Neue Montreal";
  position: fixed;
}

.part3 {
    position: relative;
    width: 100%;
    height: 1000px; /* Убедитесь, что есть достаточно места для прокрутки */
    background: #FFF;
    overflow: visible;
}




.clients {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 3rem;
       height: auto; /* Убираем жесткую высоту */
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 2;
    gap: 550px; /* Расстояние между элементами */
    top: 500px;
margin: 0;
padding: 0;
  
}

.client {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #FFF; /* Обычный цвет */
    transition: color 0.3s ease-in-out;
    margin: 0;
padding: 0;
font-weight: bold;


}

.client.active {
    margin: 0;
padding: 0;
}

.client-logo {
    position: absolute;
    width: 500px; /* Размер логотипа */
    height: auto;
    opacity: 0; /* Скрываем логотип по умолчанию */
    transition: opacity 0.3s ease-in-out;
    z-index: -1; /* Отправляем логотип назад */
    margin: 0;
padding: 0;
    pointer-events: none; /* Блокируем события */
border: 5px solid rgba(225, 227, 227, 0.5); /* Легкая размытия рамка */
    border-radius: 15px; /* Скругленные углы рамки */
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.15), 8px 8px 20px rgba(0, 0, 0, 0.1); /* Тени вокруг рамки */
    filter: blur(0.1px); /* Очень легкое размытие самого изображения */
 

}

.client.active .client-logo {
    opacity: 1; /* Делаем логотип видимым только когда текст активен */
    margin: 0;
padding: 0;
    pointer-events: none; /* Блокируем события */

}

.text6 h1{
    position: absolute;
    top: 100px;
    left: 10%;
    font-weight: 900;
    font-size: 80px;
    margin: 0;
    padding: 0;
z-index: 10;
}



.client img {
    pointer-events: none; /* чтобы изображения не активировали выделение */
}

.clients, .client {
    user-select: none;
}




.videoo-container {
            width: 200px;
            height: 120px;
            overflow: hidden;
            cursor: pointer;
            position: fixed;
            z-index: 10000000000000000000000000000000000000000000000000000000000;

        }

        .poster {
            width: 90%;
            height: 90%;
            object-fit: cover;
            position: absolute;
            top: 3%;
            left: 10%;
            transition: opacity 0.3s ease;
        }

        .videoo-container video {
            width: 90%;
            height: 90%;
            object-fit: cover;
            position: absolute;
            top: 3%;
            left: 10%;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .videoo-container:hover .poster {
            opacity: 0;
        }

        .videoo-container:hover video {
            opacity: 1;
        }



        .videooo-containerr {
            width: 200px;
            height: 120px;
            overflow: hidden;
            cursor: pointer;
            position: fixed;
            top: 88%;
            left: 90%;
            z-index: 100000000000000000000000000000000000000000000000000000000000;

        }

        .posterr {
            width: 60%;
            height: 60%;
            object-fit: cover;
            position: absolute;
            transition: opacity 0.3s ease;
            top: 15%;
            left: 15%;
            
        }

        .videooo-containerr video {
            width: 90%;
            height: 90%;
            object-fit: cover;
            position: absolute;
            opacity: 0;
            transition: opacity 0.3s ease;
            
        }
        

        .videooo-containerr:hover .posterr {
            opacity: 0;
        }

        .videooo-containerr:hover video {
            opacity: 1;

        }




        .part4{
width: 100%; /* Контейнер занимает всю доступную ширину */
    height: 100%; /* Контейнер занимает всю доступную высоту */
    position: relative; /* Позиционирование для контейнера */
    overflow: hidden; /* Скрыть лишнее, если видео выходит за пределы */
margin: 0; /* Убираем отступы */
    padding: 0; /* Убираем внутренние отступы */

}

.part4 video{
   width: 100%; /* Контейнер занимает всю доступную ширину */
    height: 100%; /* Контейнер занимает всю доступную высоту */
    position: relative; /* Позиционирование для контейнера */
    overflow: hidden; /* Скрыть лишнее, если видео выходит за пределы */
        display: block; /* Убираем возможные отступы снизу */

}

.text-container {
    position: absolute; /* Абсолютное позиционирование для текста */
    top: 50%; /* Центрируем текст по вертикали */
    left: 50%; /* Центрируем текст по горизонтали */
    transform: translate(-50%, -50%); /* Идеальное центрирование текста */
    text-align: center; /* Выравнивание текста по центру */
    color: white; /* Белый цвет текста */
    font-size: 3rem; /* Размер шрифта */
    font-weight: bold; /* Жирный шрифт */
    z-index: 2; /* Текст будет сверху видео */
}

.text-container .subtitle {
    font-size: 5rem; /* Меньший размер шрифта для подзаголовка */
    margin-top: 20px; /* Отступ сверху для подзаголовка */
}


.circle {

    position: fixed; /* Зафиксировать круг относительно окна */
    width: 50px; /* Диаметр круга */
    height: 50px; /* Диаметр круга */
    border: 1px solid black; /* Черная обводка */
    border-radius: 50%; /* Округлые края для создания круга */
    background-color: transparent; /* Без заливки внутри */
    pointer-events: none; /* Убираем влияние на события мыши */
    z-index: 10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000;
}


.main-text a{
    text-decoration: none;
    color: white;
}

.postervideo{
    position: relative;
    z-index: 10000;
    width: 470px;
    height: 300px;
    left: 36%;
    top: 20%;
    border-radius: 20px;
}

.postervideo video{
    width: 470px;
    height: auto;
    object-fit: cover;
border-radius: 5px;

}

@media (min-width: 1081px){
    html, body{
        width: 100%;
        overflow-x: hidden;
    }
}


@media (max-width: 1080px){
    body, html{
        overflow-x: hidden;
        width: 100%;
    }
}


@media(min-width: 320px){
    body, html{
        overflow-x: hidden;
        width: 100%;
    }
}

@media(max-width: 1440px){
    body, html{
        overflow-x: hidden;
        width: 100%;
    }

     .video-box{
    width: 650px;
    height: 500px;
    border-radius: 5px;
    top: 5%;

}

.video-box video{
    width: 100%;
    height: 100%;
    border-radius: 5px;

}

.video-box2{
    width: 650px;
    height: 500px;
    border-radius: 5px;
    top: 7%;
    

}

.video-box2 video{
   width: 100%;
    height: 100%;
    border-radius: 5px;

}

.video-box3{
   width: 650px;
    height: 500px;
    border-radius: 5px;
    top: 9%;

}

.video-box3 video{
    width: 100%;
    height: 100%;
    border-radius: 5px;

}

.video-box4{
  width: 650px;
    height: 500px;
    border-radius: 5px;
    top: 11%;
    

}

.video-box4 video{
   width: 100%;
    height: 100%;
    border-radius: 5px;

}

.video-container{
    left: 60%;
    transform: translate(-60%, -0%);
    top: 2900px;
}
}

@media(max-width: 1340px){
   

    .header-text h1{
        font-size: 45px;
    }
    .header-text h2{
        font-size: 20px;
    }
    .text1 h1{
font-size: 55px;
top: 1000px;
left: 250px;
    }
    .text1 h2{
        font-size: 30px;
    }
    .rectangle2{
        width: 70px;
        height: 62px;
        top: 1450px;
    }
    .reitangle {
    top: 1412px;
    left: 843px;

    }
    .text1 h3{
        
        top: 1512px;
    }
    .fade-in p{
        font-size: 55px;
    }
    .fade-inn p{
        font-size: 50px !important;
        
    }
    .part1{
      height:  2600px;
    }
.video2{
    opacity: 0 !important;
}
.text5 p{
   font-size: 38px;
   top: 345px;
   left: 96px; 
}
.postervideo{
    width: 400px;
    height: 300px;
    left: 30%;
    top: 23%;
}

.hover-area, .hover-areaa{
    pointer-events: none;
}
.hover-areaa{
    opacity: 0;
}
.video1{
    width: 100vw !important;
}
.text5 h2{
    font-size: 25px;
   top: 330px;
   left: 96px; 
   opacity: 1;
}
.text4 h2{
    opacity: 1;
}
.part2{
    height: 4450px;
}
.text6 h1{
    font-size: 50px;
}
.client{
    width: 50%;
    height: 50%;

}
.clients{
    gap: 50px;
}
.client-logo{
    width: 90%;
}
.main-text{
    font-size: 2rem;
}
.text-container .subtitle{
    font-size: 3rem;
}
.part4 .video{
    height: 885px;
    width: unset;

}
}

@media(max-width: 1210px){
   .menu-button{
        top: 20px;
        left: unset;  /* Убираем левый отступ */
    right: 20px;
    }
  
        .menu{
    width: 250px;
    height: 425px;
}
.menu ul li {
            font-size: 15px;
            font-weight: bold;
            list-style: none;
            text-align: center;
            padding: 15px 15px 15px 0px;
        }
  .nav, .navtext{
    opacity: 0;
    pointer-events: none;
  }

  .header-text h1{
    font-size: 40px;
  }  
  .header-text h2{
    font-size: 20px;
  }
  .text1 h1{
   top: 1000px;
    left: 200px;
  }
  .text1 h2{
    font-size: 25px;
    left: 650px;
  }
  .rectangle2{
left: 650px;

  }
  .reitangle{
    left: 680px;
  }
  .text1 h3{
    left: 750px;
  }
  .header-text h1{
    font-size: 35px;
    top: 140px;
    left: 40px;
  }  
  .header-text h2{
    font-size: 25px;
    left: 40px;
    top: 150px;
  }

   
}

@media(max-width: 768px){
    .text1 h2{
        left: 400px;
    }
    .rectangle2{
        left: 400px;
    }
    .reitangle{
        left: 430px;
    }
    .text1 h3{
        left: 500px;
    }
    .fade-inn {
        left: 50px !important;
        
    }
    .circle{
        opacity: 0;
    }

}

@media(min-width: 320px) and (max-width: 767px){

.text1 h1{
    top: 1000px;
        left: 40px;
        font-size: 10vw;
    }
    .text1 h2{
        left: 40px;
        font-size: 5vw;
    }
    .rectangle2{
        left: 40px;
    }
     .reitangle{
        left: 70px;
    }
    .text1 h3{
        left: 125px;
    }
    .menu-button{
        top: 20px;
        left: unset;  /* Убираем левый отступ */
    right: 25px;
    }
    .fade-inn{
    top: 3000px;
}
.fade-in{
    left: 10px;
    font-size: 20px;

}
.postervideo{
    width: 310px;
    height: 200px;
    top: 20%;
    left: 5px;
}

.postervideo video{
        width: 310px;
    height: 200px;
    top: 20%;
    left: 5px;
}
.scroll-container{
    top: 100px;
    position: relative;
}

.clients{
    flex-direction: column;
    gap: 170px;
}
.video-box{
     width: 85vw;
    height: 500px;
    border-radius: 5px;
    top: 5%;

}

.video-box video{
    width: 100%;
    height: 100%;
    border-radius: 5px;

}

.video-box2{
      width: 85vw;
    height: 500px;
    border-radius: 5px;
    top: 7%;
    

}

.video-box2 video{
   width: 100%;
    height: 100%;
    border-radius: 5px;

}

.video-box3{
   width: 85vw;
    height: 500px;
    border-radius: 5px;
    top: 9%;

}

.video-box3 video{
    width: 100%;
    height: 100%;
    border-radius: 5px;

}

.video-box4{
  width: 85vw;
    height: 500px;
    border-radius: 5px;
    top: 11%;
    

}

.video-box4 video{
   width: 100%;
    height: 100%;
    border-radius: 5px;

}

}




@media(max-width: 321px){
    .video-box{
    width: 280px;
    height: 320px;
    border-radius: 5px;
    top: 5%;

}

.video-box video{
    width: 100%;
    height: 100%;
    border-radius: 5px;

}

.video-box2{
    width: 280px;
    height: 320px;
    border-radius: 5px;
    top: 7%;
    

}

.video-box2 video{
   width: 100%;
    height: 100%;
    border-radius: 5px;

}

.video-box3{
   width: 280px;
    height: 320px;
    border-radius: 5px;
    top: 9%;

}

.video-box3 video{
    width: 100%;
    height: 100%;
    border-radius: 5px;

}

.video-box4{
  width: 280px;
    height: 320px;
    border-radius: 5px;
    top: 11%;
    

}

.video-box4 video{
   width: 100%;
    height: 100%;
    border-radius: 5px;

}
.video-container{
    left: 60%;

}

}

@media(min-width: 769px) and (max-width: 1000px){
    .text1 h2{
        left: 460px;
    }
    .rectangle2{
        left: 460px;
    }
    .reitangle{
        left: 490px;
    }
    .text1 h3{
        left: 550px;
    }
}

@media(min-width: 372px) and (max-width: 766px){
    .clients{
        gap: 450px;
    }
    .client{
        width: 65%;
        height: 65%;
    }
.part3{
    height: 1700px;
}
.text1 h1{
        top: 1000px;
    }
}

@media(min-width: 1344px) and (max-width: 1441px){
    .video-container{
        top: 3550px;
    }
    .text1 h1{
        top: 1000px;
    }
}

@media(min-width: 1344px) and (max-width: 1466px){
    .hover-area{
        width: 500px;
    }
    .video1{
        width: 50vw;
    }
    .hover-areaa{
        left: 66%;
        width: 500px;
    }
    .video2{
        width: 55vw;
    }
    .text5 p{
        left: 80%;
        top: 1025px;
    }
    .text5 h2{
        left: 80%;
    }
}

@media(max-width: 320px){
    .text1 h1{
        top: 1000px;
    }
}

@media(min-width: 375px){
    .text1 h1{
        top: 900px;
    }
}

@media(min-width: 1467px){
    .text5 p{
        left: 80%;
        top: 1015px;
    }
    .text5 h2{
        left: 80%;
    }
}

@media(min-width: 1866px){
    .hover-areaa{
        width: 50vw;
    }
   
}
  @media(max-width: 1584px){
            .videooo-containerr{
                left: 85vw;
            }
        }
           @media(max-width: 1024px){
            .videooo-containerr{
                left: 80vw;
            }
        }
          @media(max-width: 768px){
            .videooo-containerr{
                left: 70vw;
            }
        }
         @media(max-width: 500px){
            .videooo-containerr{
                left: 65vw;
            }
        }
          @media(max-width: 425px){
            .videooo-containerr{
                left: 60vw;
            }
        }
         @media(max-width: 375px){
            .videooo-containerr{
                left: 55vw;
            }
        }
        @media(max-width: 320px){
            .videooo-containerr{
                left: 50vw;
            }
        }
        
      
        