 .slide-container {
      width: 100%;
      height: 100vh;
      display: none;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      position: relative;
    }

    .slide {
      display: none;
      justify-content: center;
      align-items: center;
      width: 100%;
      height: 100%;
      position: relative;
    }

    .slide.active {
      display: flex;
    }

    video {
      max-width: 95%;
      max-height: 65%;
      border-radius: 100px;
      z-index: 1;
    }

    .nav-button {
      background-color: #007BFF;
      color: white;
      border: none;
      padding: 10px 20px;
      margin: 5px;
      border-radius: 5px;
      cursor: pointer;
      position: absolute;
      z-index: 2;
    }

    #up-button {
      top: 30%;
      left: 50%;
      transform: translateX(-50%);
    }

    #down-button {
      top: 110%;
      left: 50%;
      transform: translateX(-50%);
    }

    #left-button {
      left: 5%;
      top: 70%;
      transform: translateY(-50%);
    }

    #right-button {
      right: 5%;
      top: 70%;
      transform: translateY(-50%);
    }

    .speed-control {
      display: flex;
      justify-content: center;
      align-items: center;
      position: absolute;
      top: 100%;
      left: 50%;
      transform: translateX(-50%);
      z-index: 2;
    }

    .speed-control button {
      background-color: #4CAF50;
      color: white;
      border: none;
      padding: 10px 15px;
      margin: 0 10px;
      border-radius: 5px;
      cursor: pointer;
    }

    .nav-button:hover {
      background-color: #0056b3;
    }
/* Untuk menyembunyikan versi yang tidak aktif */
.versi {
  display: none;
}

.versi.aktif {
  display: block;
}

/* Tombol pemilih versi di tengah halaman */
.centered-version-buttons {
  position: absolute;               /* Atau fixed jika ingin tombol selalu tampil saat scroll */
  top: 22%;                        /* Jarak dari atas halaman */
  left: 50%;
  transform: translateX(-50%);
  display: flex;                    /* Supaya tombol sejajar */
  gap: 40px;                        /* Jarak antar tombol */
  z-index: 2;                    /* Di atas elemen lain */
}
.centered-version-buttons button {
  padding: 12px 24px;
  font-size: 12px;
  border-radius: 5px;
  background-color: #879db5; /* Default warna abu kebiruan */
  color: white;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

.centered-version-buttons button:hover {
  transform: scale(1.05);
}

.centered-version-buttons button.aktif-versi {
  background-color: #0bbf89; /* Warna hijau saat aktif */
}

.slide-container-kupu {
  width: 100%;
  height: 100vh;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.slide-kupu {
  display: none;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  position: relative;
}

.slide-kupu.active {
  display: flex;
}

video {
  max-width: 95%;
  max-height: 65%;
  border-radius: 100px;
  z-index: 1;
}

.nav-button-kupu {
  background-color: #007BFF;
  color: white;
  border: none;
  padding: 10px 20px;
  margin: 5px;
  border-radius: 5px;
  cursor: pointer;
  position: absolute;
  z-index: 2;
}

.nav-button-kupu:hover {
  background-color: #0056b3;
}

#up-kupu {
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
}

#down-kupu {
  top: 110%;
  left: 50%;
  transform: translateX(-50%);
}

#left-kupu {
  left: 5%;
  top: 70%;
  transform: translateY(-50%);
}

#right-kupu {
  right: 5%;
  top: 70%;
  transform: translateY(-50%);
}

.speed-control-kupu {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.speed-control-kupu button {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 10px 15px;
  margin: 0 10px;
  border-radius: 5px;
  cursor: pointer;
}

.speed-control-kupu button:hover {
  background-color: #388e3c;
}

.disabled-kupu {
      background-color: #999;
      cursor: not-allowed;
      opacity: 0.5;
      pointer-events: none;
}

/* Media Query: max-width 1200px */
@media (max-width: 1200px) {
  .centered-version-buttons {
    top: 25%;
    gap: 30px;
  }
  .centered-version-buttons button {
    font-size: 11px;
    padding: 10px 20px;
  }
  .speed-control, .speed-control-kupu {
    top: 105%;
  }
}

/* Media Query: max-width 991px */
@media (max-width: 991px) {
  .centered-version-buttons {
    top: 26%;
    gap: 25px;
  }
  .centered-version-buttons button {
    font-size: 10px;
    padding: 8px 16px;
  }

  .nav-button,
  .nav-button-kupu {
    padding: 8px 16px;
    font-size: 14px;
  }

  .speed-control button,
  .speed-control-kupu button {
    padding: 8px 12px;
    font-size: 14px;
  }
}

/* Media Query: max-width 786px */
@media (max-width: 786px) {
  video {
    max-width: 90%;
    max-height: 60%;
    border-radius: 80px;
  }

  .centered-version-buttons {
    top: 28%;
    gap: 20px;
  }

  .centered-version-buttons button {
    font-size: 10px;
    padding: 6px 14px;
  }

  .nav-button,
  .nav-button-kupu {
    padding: 7px 14px;
    font-size: 13px;
  }

  .speed-control,
  .speed-control-kupu {
    top: 108%;
  }

  .speed-control button,
  .speed-control-kupu button {
    padding: 8px 10px;
    font-size: 13px;
  }
}

/* Media Query: max-width 617px */
@media (max-width: 617px) {
  .centered-version-buttons {
    top: 30%;
    flex-direction: column;
    gap: 10px;
  }

  .centered-version-buttons button {
    font-size: 9px;
    padding: 6px 12px;
  }

  .nav-button,
  .nav-button-kupu {
    padding: 6px 12px;
    font-size: 12px;
  }

  .speed-control,
  .speed-control-kupu {
    flex-direction: column;
    gap: 8px;
    top: 110%;
  }

  .speed-control button,
  .speed-control-kupu button {
    font-size: 12px;
    padding: 6px 10px;
  }

  #up-button, #down-button, #up-kupu, #down-kupu {
    top: 100%;
  }
}

/* Media Query: max-width 450px */
@media (max-width: 450px) {
  .centered-version-buttons {
    top: 32%;
    gap: 8px;
  }

  .centered-version-buttons button {
    font-size: 8px;
    padding: 5px 10px;
  }

  .nav-button,
  .nav-button-kupu {
    font-size: 11px;
    padding: 5px 10px;
  }

  .speed-control,
  .speed-control-kupu {
    top: 115%;
  }

  .speed-control button,
  .speed-control-kupu button {
    font-size: 11px;
    padding: 5px 8px;
  }

  video {
    max-width: 90%;
    max-height: 55%;
    border-radius: 60px;
  }
}

@media (max-width: 617px) {
  /* Geser tombol up ke kiri */
  #up-button, #up-kupu {
    left: 35%;
    transform: translateX(-50%);
  }

  /* Geser tombol down ke kanan */
  #down-button, #down-kupu {
    left: 65%;
    transform: translateX(-50%);
  }
}

.video-detail-wrapper {
  margin-top: 1.5rem;
  width: 100%;
}

.btn-video-detail {
  background-color: #add8e6;
  color: #003366;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.btn-video-detail:hover {
  background-color: #90cce3;
  transform: scale(1.03);
}

.btn-video-detail i {
  font-size: 18px;
}

.video-detail-container {
  display: none;
  margin-top: 1rem;
  width: 100%;
}

.video-detail-container video {
  width: 100%;
  max-width: 700px;
  height: auto;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}
.video-detail-wrapper {
  margin-top: 1.5rem;
  width: 100%;
}

.btn-video-detail {
  background-color: #add8e6;
  color: #003366;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.btn-video-detail:hover {
  background-color: #90cce3;
  transform: scale(1.03);
}

.btn-video-detail i {
  font-size: 18px;
}

.video-detail-container {
  display: none;
  margin-top: 1rem;
  width: 100%;
}

.video-detail-container video {
  width: 100%;
  max-width: 700px;
  height: auto;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
  .video-detail-wrapper {
    margin-top: 1rem;
    padding: 0 1rem;
  }

  .btn-video-detail {
    width: 100%;
    font-size: 14px;
    padding: 10px 16px;
    border-radius: 10px;
    justify-content: center;
  }

  .btn-video-detail i {
    font-size: 16px;
  }

  .video-detail-container video {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
  }

  .video-detail-container {
    margin-top: 0.75rem;
    padding: 0;
  }
}
.long-text h2{
  font-size: 10 rem;
}
