 * {
  box-sizing: border-box; /* Применяем ко всем элементам */
}
body{
    margin: 0;
    font-family: "Just Dance Bold";
}
@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: '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-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;
}
/* Стили для кнопки меню */
 .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; /* Скругление углов */
   
}

.circle {

    position: fixed; /* Зафиксировать круг относительно окна */
    width: 50px; /* Диаметр круга */
    height: 50px; /* Диаметр круга */
    border: 1px solid black; /* Черная обводка */
    border-radius: 50%; /* Округлые края для создания круга */
    background-color: transparent; /* Без заливки внутри */
    pointer-events: none; /* Убираем влияние на события мыши */
    z-index: 10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000;
}

.part1{
max-width: 1920px; /* Контейнер занимает всю доступную ширину */
 max-height: 1080px; /* Контейнер занимает всю доступную высоту */
    position: relative; /* Позиционирование для контейнера */
    overflow: hidden; /* Скрыть лишнее, если видео выходит за пределы */
margin: 0; /* Убираем отступы */
    padding: 0; /* Убираем внутренние отступы */

}
.part1 video{
  max-width: 1920px; /* Контейнер занимает всю доступную ширину */
    max-height: 1080px; /* Контейнер занимает всю доступную высоту */
    position: relative; /* Позиционирование для контейнера */
    overflow: hidden; /* Скрыть лишнее, если видео выходит за пределы */
        display: block; /* Убираем возможные отступы снизу */

}

.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;
        }


        .header{
     justify-content: flex-end;
     display: flex;
}
.header-text h1{
    top: 0px;
    left: 322px;
    display: flex;
    position: absolute;
    font-weight: bold;
    font-size: 64px;
    text-transform: uppercase;
    color: black;

}
.header-text h2{
    top: 190px;
    left: 322px;
    display: flex;
    position: absolute;
    font-weight: 400;
    font-size: 36px;

}
.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;
    font-weight: 400;
}

/* Линия под текстом */
.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%;
}

.text-container {
    position: absolute; /* Абсолютное позиционирование для текста */
    top: 10%; /* Центрируем текст по вертикали */
    left: 50%; /* Центрируем текст по горизонтали */
    transform: translate(-50%, -50%); /* Идеальное центрирование текста */
    color: white; /* Белый цвет текста */
    font-size: 3rem; /* Размер шрифта */
    font-weight: bold; /* Жирный шрифт */
    z-index: 2; /* Текст будет сверху видео */
}

.text-container .subtitle {
    font-size: 5rem; /* Меньший размер шрифта для подзаголовка */
    margin-top: 20px; /* Отступ сверху для подзаголовка */
}

@keyframes fadeInText {
    0% {
        opacity: 0;
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        
        filter: blur(0px);
    }
}

.animated-text {
    opacity: 1; /* Изначально текст скрыт */
    animation: fadeInText 1s ease-out forwards;

}


.contacttext{
    position: absolute;
    top: 350px;
    text-align: center;
    left: 40%;
    z-index: 100000000000000;
    display: flex;
    flex-direction: column;
    color: white;
}

.contacttext h1{
    font-weight: bold;
    font-size: 30px;
}

.contacttext h2{
    font-size: 30px;
    font-weight: 600;
}
.contacttext h3{
    font-size: 25px;
    font-weight: 600;
}


@media(max-width: 768px){
    .circle{
        opacity: 0 !important; 
    }

}

@media(max-width: 870px){
    .nav, .navtext{
        opacity: 0;
        pointer-events: none;
    }
    .menu-button{
        top: 20px;
        left: unset;  /* Убираем левый отступ */
    right: 25px;
    }
    .videoo-container {
            width: 115px;
            height: 90px;
            transition: all 0.3s ease;
        }

        .poster {
            width: 100%;
            height: 100%;
            transition: all 0.3s ease;
        }

        .videoo-container video {
            width: 100%;
            height: 100%;
            transition: all 0.3s ease;
        }
}


@media(min-width: 320px){
    body, html{
        overflow-x: hidden;
        width: 100%;
    }
    .text-container .subtitle{
        font-size: 3rem;

    }

    .contacttext h1{
        font-size: 20px;
    }
}

@media(max-width: 360px){
    .contacttext{
        left: 0;
    }
}

@media(max-width: 620px){
    .contacttext{
        left: 0;
    }
}
