.font-script {
  font-family: 'Dancing Script', cursive;
}

/* Style minimalis untuk scrollbar */
.minimal-scroll {
  overflow-y: scroll;
}

.minimal-scroll::-webkit-scrollbar {
  width: 6px;
  /* Lebar scrollbar */
}

.minimal-scroll::-webkit-scrollbar-thumb {
  background-color: #c4c4c4;
  /* Warna thumb scrollbar */
  border-radius: 10px;
  /* Membuat ujung thumb bulat */
}

.minimal-scroll::-webkit-scrollbar-thumb:hover {
  background-color: #a1a1a1;
  /* Warna thumb saat hover */
}

.minimal-scroll::-webkit-scrollbar-track {
  background-color: #f4f4f4;
  /* Warna track scrollbar */
  border-radius: 10px;
  /* Membuat ujung track bulat */
}

.project-scrollbar {
  scrollbar-width: thin;
  scrollbar-color: rgba(99, 102, 241, 0.6) transparent;
}

.project-scrollbar::-webkit-scrollbar {
  height: 6px;
}

.project-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}

.project-scrollbar::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.8), rgba(139, 92, 246, 0.8));
  border-radius: 9999px;
}

.project-scrollbar::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, rgba(129, 140, 248, 0.9), rgba(167, 139, 250, 0.9));
}

#typingText {
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
  animation: blink 1s step-end infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(15px);
  }
}

.float-bounce {
  animation: float 4.5s ease-in-out infinite;
}

@keyframes float-reverse {
  0%,
  100% {
    transform: translateY(15px);
  }
  50% {
    transform: translateY(0);
  }
}

.float-bounce-reverse {
  animation: float-reverse 4.5s ease-in-out infinite;
}

.fade-out-bottom {
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 0%, black 80%, transparent 100%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.shine-effect {
  background: linear-gradient(120deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-20deg);
  width: 50%;
  height: 100%;
  position: absolute;
  top: 0;
  left: -75%;
  animation: shine 2s infinite;
}

@keyframes shine {
  0% {
    left: -75%;
  }
  100% {
    left: 125%;
  }
}

html {
  scroll-behavior: smooth;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}
.scrollbar-hide {
  -ms-overflow-style: none; /* IE & Edge */
  scrollbar-width: none; /* Firefox */
}

@keyframes float1 {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-10px, 0);
  }
  100% {
    transform: translate(0, 0);
  }
}

.triangle-float1 {
  animation: float1 5s infinite;
}

@keyframes float2 {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-5px, -5px);
  }
  100% {
    transform: translate(0, 0);
  }
}

.triangle-float2 {
  animation: float2 4s infinite;
}

@keyframes float3 {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(0, -10px);
  }
  100% {
    transform: translate(0, 0);
  }
}

.triangle-float3 {
  animation: float3 6s infinite;
}

@keyframes blink {
  0%,
  50% {
    border-color: #3730a3;
  } /* indigo-800 */
  51%,
  100% {
    border-color: transparent;
  }
}
#typingText {
  animation: blink 1s step-end infinite;
}

@keyframes marquee {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}
.marquee {
  display: inline-flex;
  animation: marquee 20s linear infinite;
}
/* Stop animasi di layar md ke atas */
@media (min-width: 768px) {
  .marquee {
    animation: none;
    transform: translateX(0); /* biar kembali normal */
    justify-content: center;
  }
}

.skill-content {
  animation: infinite-scroll 10s linear infinite;
  flex-shrink: 0;
}

@keyframes infinite-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}