body {
  font-family: 'Poppins', sans-serif;
}

html {
  scroll-behavior: smooth; /* Enables smooth scrolling */
}

/* scrollbar */
/* ===== Custom Scrollbar (WebKit only) ===== */

/* Applies to all scrollbars */
::-webkit-scrollbar {
  height: 4px;       /* horizontal scrollbars */
  width: 3px;         /* vertical scrollbars */
}

/* Track background */
::-webkit-scrollbar-track {
  background: #f3e5fb;
 
}

/* Scrollbar thumb (the draggable part) */
::-webkit-scrollbar-thumb {
  background: #9b4cc9;
 
}

/* On hover */
::-webkit-scrollbar-thumb:hover {
  background: #6d1d8e;
}


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



@keyframes shine {
  0% {
    bottom: -100%;
    left: -100%;
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    bottom: 400%;
    left: 50%;
    opacity: 0;
  }
}

.project_hover {
  /* @apply relative overflow-hidden cursor-pointer rounded-xl shadow-lg; */
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 0.75rem;;
}

.project_hover::before {
  content: "";
  position: absolute;
  width: 300%;
  height: 30%;
  background: rgba(255, 255, 255, 0.25);
  transform: rotate(45deg);
  z-index: 2;
  bottom: -106%;
  left: -124%;
  opacity: 0;
  pointer-events: none;
}

.project_hover:hover::before {
  animation: shine 2s ease-in-out;
}

.project_hover img {
  transition: transform 0.7s ease-in-out;
}

.project_hover:hover img {
  transform: scale(1.1);
}



/* custom cursor css */
 #cursor {
    position: fixed;
    left: 0;
    top: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    font-size: 32px; /* size of the heart */
  }

  .heart {
    display: inline-block;
  }


  /* Beating animation */
  @keyframes beat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
  }

  .beating {
    animation: beat 0.8s infinite;
  }

/* Hide on small screens (phones & tablets) */
@media (max-width: 1024px) {
  #cursor {
    display: none !important;
  }
}
