.containerpages {
    width: 100%;
    height: auto;
    background-color: #fff;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page {
    display: none;
    width: 100%;
    box-sizing: border-box;
    padding: 1em 0.5em 2em;
    box-sizing: border-box;
  }
  .page.active {
    display: block;
  }
  .navigation {
    display: flex;
    justify-content: center;
    gap: 20px;
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
  }



 .navigation button {
    padding: 5px 10px;
    font-size: 16px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    background-color: #d1fdff;
    color: #424242;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0.5em 0.5em 0.5em;
    box-sizing: border-box;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
  }

  .navigation button:disabled {
    background-color: #ffffff;
    cursor: not-allowed;
  }



  .subjudulgalery {
    width: 100%;
    height: auto;
  }

  .subjudulgalery h1 {
    font-size: 25px;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
  }

  .subjudulgalery span {
    font-size: 25px;
    font-weight: 800;
    color: #3232cb;
  }






  .gallery {
    width: 90%;
    max-width: 1400px;
    height: auto;
    margin: auto;
    display: grid;
    gap: 10px;
    padding: 2em 0em 4em;
    box-sizing: border-box;
  }

  .gallery img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    padding: 0.5em 0.5em 0.5em;
    box-sizing: border-box;
    background-color: #fff;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: rgba(255, 255, 255, 0) 0px 50px 100px -20px, rgba(252, 252, 252, 0) 0px 30px 60px -30px, rgba(87, 87, 87, 0.678) 0px -2px 6px 0px inset;
  }

  .gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    box-shadow: rgba(255, 255, 255, 0) 0px 50px 100px -20px, rgba(252, 252, 252, 0) 0px 30px 60px -30px, rgba(87, 87, 87, 0.678) 0px -2px 6px 0px inset;
  }

  /* Default grid for mobile (2 columns) */
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  /* 3 columns at min-width: 600px */
  @media (min-width: 600px) {
    .gallery {
      grid-template-columns: repeat(3, 1fr);
    }
  }

  /* 4 columns at min-width: 768px */
  @media (min-width: 768px) {
    .gallery {
      grid-template-columns: repeat(4, 1fr);
    }
  }

  /* 5 columns at min-width: 990px */
  @media (min-width: 990px) {
    .gallery {
      grid-template-columns: repeat(5, 1fr);
    }
  }

  /* 6 columns at min-width: 1200px */
  @media (min-width: 1200px) {
    .gallery {
      grid-template-columns: repeat(6, 1fr);
    }
  }

  /* Fullscreen modal styles */
  .modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 10000000;
  }

  .modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
  }






/* youtube */

  

.containerboxyoutube {
  width: 80%;
  max-width: 1000px;
  height: auto;
  margin: auto;
  padding: 3em 0em 5em;
  box-sizing: border-box;
}

.video-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

@media (min-width: 600px) {
  .video-container {
      grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 990px) {
  .video-container {
      grid-template-columns: repeat(3, 1fr);
  }
}
.videobox-frameyoutube {
  cursor: pointer;
  position: relative;
  text-align: center;
  padding: 1em 1em 0.5em;
  box-sizing: border-box;
  border-radius: 20px;
  margin-bottom: 20px;
  box-shadow: rgba(255, 255, 255, 0) 0px 50px 100px -20px, rgba(252, 252, 252, 0) 0px 30px 60px -30px, rgba(87, 87, 87, 0.678) 0px -2px 6px 0px inset;
}
.videobox-frameyoutube img {
  width: 100%;
  border-radius: 8px;
  transition: filter 0.3s ease; 
}
.videobox-frameyoutube img:hover {
  filter: brightness(1.4);
}
.video-title {
  font-size: 16px;
}
.videoku-modalyoutube {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 200000;
}
.videoku-modalyoutube iframe {
  width: 80%;
  height: 80%;
  border: none;
}
.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 30px;
  color: white;
  cursor: pointer;
}


