/* Лайтбокс контейнер */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
  }
  
  .lightbox video {
    max-width: 90%;
    max-height: 80%;
  }
  
  .lightbox .close {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #ffffff00;
    color: #8c8c8c;
    border: none;
    font-size: 20px;
    padding: 10px;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
    z-index: 1001;
  }
  .lightbox .close:hover {
    transform: scale(1.5);
    color: #ff9100;
  }
  
  /* Стили контейнера с видео */
  .container {
    column-count: 4;
    column-gap: 0;
    line-height: 0; /* убирает вертикальные отступы между видео */
  }
  
  .item {
    display: inline-block;
    width: 100%;
    margin: 0;
  }
  
  video {
    display: block;
    width: 100%;
    height: auto;
    cursor: pointer; /* Указатель на клик */
  }
  
  /* Адаптивные колонки */
  @media (max-width: 1200px) {
    .container {
      column-count: 3;
    }
  }
  
  @media (max-width: 800px) {
    .container {
      column-count: 2;
    }
  }
  
  @media (max-width: 480px) {
    .container {
      column-count: 1;
    }
  }

  #volumeSlider {
    width: 150%;
    transform: rotate(270deg);
    -webkit-appearance: none;
    appearance: none;
    background:#ffffff1d;
    border-radius: 4px;
  }
  
  /* Chrome, Safari, Edge */
  #volumeSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 12px;
    width: 12px;
    border-radius: 50%;
    background: #ff9100; /* Цвет кружка */
  
  }
/*-------------------------------- стрелки-----------------*/
/* Контейнер для стрелок */
.lightbox .controls-below {
  position: absolute;
  bottom: 20px; /* Отступ снизу */
  left: 50%; /* Центрирование по горизонтали */
  transform: translateX(-50%);  /* Центрируем контейнер */
  display: flex;
  justify-content: center;
  gap: 20px; /* Расстояние между стрелками */
  z-index: 10;
}

/* Стрелки */
.lightbox button.prev,
.lightbox button.next {
  font-size: 2em;  /* Размер стрелок */
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.43);
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease;
}

/* Левый стрелка (предыдущий) */
.lightbox button.prev {
  margin-right: 10px;
}

/* Правый стрелка (следующий) */
.lightbox button.next {
  margin-left: 10px;
}

/* Эффект нажатия на стрелки */
.lightbox button.prev:hover,
.lightbox button.next:hover {
  transform: scale(1.2);  /* Увеличиваем стрелки при наведении */
  color: #ff9100;  /* Меняем цвет при наведении */
}



