::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {      
  background: #aaaaaa;    
}

::-webkit-scrollbar-thumb {
  background: #05992a;
}

body {
  background-color: #4d4d4d;
  color: white;
}

.bg-body-costum {
  background-color: #3b3b3b;
}

.logo {
  width: 170px;
  height: 35px;
}

.items {
  margin-top: 60px;
}

.text-header {
  margin: 10px auto;
  max-width: 850px;
}

.text-header h1 {
  font-size: 32px;
  color: #1adb00;
}

.text-header p {
  font-size: 18px;
}

.block {
  position: relative;
  margin: auto;
  width: 125px;
  padding: 5px 10px;
  background: linear-gradient(0deg, #000, #272727);
  color: #fff;
  cursor: pointer;
  font-weight: bold;
  border-radius: 0;
}

.block:after,
.block:before {
  content: '';
  position: absolute;
  right: -3px;
  bottom: -3px;
  background: linear-gradient(45deg, #00fb0d, rgb(0, 121, 6), rgb(0, 73, 10), rgb(18, 110, 60), #10831a, #00fb00, rgb(4, 114, 0), rgb(0, 73, 30), rgb(29, 192, 102)), #0da10d;
  background-size: 400%;
  width: calc(100% + 6px);
  height: calc(100% + 6px);
  z-index: -1;
  animation: steam 60s linear infinite;
  border-radius: 0;
}

@keyframes steam {
  0% {
      background-position: 0 0
  }

  50% {
      background-position: 400% 0
  }

  100% {
      background-position: 0 0
  }
}

.card {
  background-color: #535353;
  max-height: 280px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.carousel-container {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.carousel-inner,
.carousel-item {
  height: 100%;
}

.carousel-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-item {
  position: relative;
  display: none;
  width: 100%;
  height: 220px;
  /* Atur sesuai tingginya container */
  transition: transform 0.6s ease-in-out;
}

.carousel-item.active {
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.carousel-item img,
.object-fit-cover {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  z-index: 1;
  transition: filter 0.4s ease; /* smooth blur transition */
}

.loading-blur {
  filter: blur(12px);
}

.loading-spinner {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  /* backdrop-filter: blur(10px); */
}

.dot {
  width: 20px;
  height: 20px;
  margin: 0 4px;
  border-radius: 50%;
  background-color: #1adb00;
  animation: bounce 0.6s infinite alternate;
}

.dot:nth-child(2) {
  animation-delay: 0.3s;
}

.dot:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes bounce {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-12px);
  }
}

.card-text {
  color: #fff;
}

.pagination .page-link {
  background-color: #343a40;
  color: white;
}

.pagination .page-link:hover {
  background-color: #495057;
}

.modal-img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
}

.btn-custom {
  background-color: #ffffff9d;
}

.carousel-control-prev,
.carousel-control-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  filter: invert(1);
  z-index: 15;
}

.fade-out {
  animation: fadeOut 0.4s forwards;
}

.fade-in {
  animation: fadeIn 0.4s ease-in;
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.fade-out, .fade-in {
  animation: none !important;
  opacity: 1 !important;
}

.icon-items a {
  text-decoration: none;
}