@tailwind base;
@tailwind components;
@tailwind utilities;

body,
html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  scroll-behavior: smooth;
}

canvas#gridPatternCanvas {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
}

@layer utilities {
  .circle-2 {
    box-shadow: 0 0 20px rgb(17 24 39);
    filter: blur();
  }

  .pop-on-hover {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  }

  .pop-on-hover:hover {
      transform: scale(1.05);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  }
  @keyframes slideInLeft {
    from {
      opacity: 0;
      transform: translateX(-100%);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes slideInRight {
    from {
      opacity: 0;
      transform: translateX(100%);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  .div-animation {
    opacity: 1;
  }

  .div-animation.slide-in-left {
    animation: slideInLeft 1s forwards;
  }

  .div-animation.slide-in-right {
    animation: slideInRight 1s forwards;
  }
}

