body {
  font-family: 'Poppins', sans-serif;
  background-color: #222429;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

.container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.btn-custom {
  border-radius: 10px;
  font-weight: 700;
  transition: transform 0.3s ease;
  border: none;
  outline: none;
  margin: 1rem;
  font-size: 1rem;
}

.btn-custom-small{
  background-image: linear-gradient(to right, #F09819 0%, #EDDE5D  51%, #F09819  100%);
  transition: 0.5s;
  background-size: 200% auto;
  color: white;            
  border-radius: 10px;
  display: block;
  border-radius: 10px;
  font-weight: 700;
  outline: none;
  border: none;
  margin: 1rem;
  font-size: 1rem;
}

.btn-custom-small:hover{
  background-position: right center; 
  color: #fff;
  text-decoration: none;
}

.btn-custom {
  width: 15rem;
  height: 6rem;
}

.btn-custom-small {
  background-color: #fff;
  width: 11rem;
  height: 4.5rem;
}

.btn-custom:hover, .btn-custom-small:hover {
  transition: transform 0.35s ease;
  transform: scale(1.08);
  background-color: #ffde34;
  color: #fff;
}

.btn-custom:active {
  transform: scale(1.05);
}

.btn-group, .btn-group-custom {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}

.btn-custom-small:focus {
  background-color: #ffde34;
  color: #fff;
  box-shadow: 0 0 12px 6px rgba(255, 255, 0, 0.8);
  transform: scale(1.1);
}

.btn-group img {
  text-align: center;
  border-radius: 8px;
  margin-right: -11px;
}

.btn-group button:focus img {
  box-shadow: 0 0 12px 6px rgba(255, 255, 0, 0.8);
  transform: scale(1.2);
}

.btn-group button:hover img {
  transform: scale(1.2);
  transition: transform 0.35s ease;
}

.btn-group button {
  outline: none;
  border: none;
  background-color: transparent;
  margin-right: 10px;
}

.img-fluid {
  cursor: pointer;
  align-items: center;
  display: block;
  margin: auto;
  max-width: 30rem;
  height: auto;
  margin-top: 10%;
  border-radius: 10px;
}

.hidden {
  display: none;
}

/* Gelombang SVG */
.svg-container {
  pointer-events: none;
  position: fixed;
  bottom: -35%;
  width: 100%;
  z-index: -1;
}

/* Menyesuaikan untuk tampilan pada perangkat seluler */
@media (max-width: 767px) {
  .svg-container {
  pointer-events: none;
    bottom: -43%;
  }
}

/* FAB */
.fab-container {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  user-select: none;
  position: fixed;
  bottom: 30px;
  right: 50px;

  &:hover {
    height: 100%;

    .sub-button:nth-child(2) {
      transform: translateY(-80px);
    }

    .sub-button:nth-child(3) {
      transform: translateY(-140px);
    }

    .sub-button:nth-child(4) {
      transform: translateY(-200px);
    }

    .sub-button:nth-child(5) {
      transform: translateY(-260px);
    }

    .sub-button:nth-child(6) {
      transform: translateY(-320px);
    }
  }

  .fab {
    position: relative;
    height: 65px;
    width: 65px;
    background-color: #282b2f;
    border-radius: 50%;
    z-index: 1;

    &::before {
      content: ' ';
      position: absolute;
      bottom: 0;
      right: 0;
      height: 35px;
      width: 35px;
      background-color: inherit;
      border-radius: 0 0 10px 0;
      z-index: -1;
    }

    .sub-buttons {
      display: none;
    }

    .fab-content {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 100%;
      width: 100%;
      border-radius: 50%;

      .material-icons {
        color: #f5c336;
        font-size: 48px;
      }
    }
  }

  .sub-button {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 10px;
    right: 10px;
    height: 50px;
    width: 50px;
    background-color: #282b2f;
    border-radius: 50%;
    transition: all 0.3s ease;

    &:hover {
      cursor: pointer;
    }

    .material-icons {
      color: #f5c336;
      padding-top: 6px;
    }
  }
}

@media (max-width: 767px) {
  .img-fluid {
    max-width: 90%;
  }
}

/* CSS untuk menata letak tombol prev dan next */
.image-container {
  position: relative;
}

.modal-header{
  border-bottom: none; 
}

.modal-content {
  background-color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  border: none;
}

.modal-body {
  max-height: 100%;
}

.modal-dialog {
  background-color: transparent;
  margin: 0;
  height: 100%;
  display: flex;
  align-items: center;
}

.modal-backdrop.show {
  opacity: 0.9;
  background-color: rgba(0, 0, 0, 0.9);
}

button:active {
  transform: scale(1.08);
  transition: transform 0.1s;
  outline: none;
}

/* CSS untuk membuat gambar memenuhi ukuran modal */
#modalImage {
  max-width: 35rem;
  max-height: 35rem;
  width: auto;
  height: auto;
  object-fit: contain; /* Membuat gambar menjadi lebih kecil sampai overflow tidak tampil lagi */
}

/* CSS responsif untuk modal */
@media (max-width: 767px) {
  .modal-content {
    height: 100vh;
  }

  .modal-body {
    max-height: 100%;
  }

  #modalImage {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
  }
}
