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

.show {
  animation: scaleIn 0.3s ease-in-out forwards;
}
.hide {
  animation: scaleOut 0.3s ease-in-out forwards;
}

video[data-alt="threads"],
video[data-alt="push-notification"],
video[data-alt="jump-message"],
video[data-alt="notifiaction-tracks"],
video[data-alt="invite"],
video[data-alt="video-call"],
video[data-alt="channels"],
video[data-alt="server"] {
  opacity: 0;
  transform: scale(0);
}

html,
body,
:root {
  height: 100%;
  --font-righteous: "Righteous", sans-serif;
}
svg.lucide-x {
  display: none !important;
  background-color: aqua;
}
.ql-tooltip.ql-editing {
  left: 0 !important;
  top: 0 !important;
}
.ql-tooltip {
  left: 0 !important;
  top: 0 !important;
}
li[data-list="ordered"] {
  list-style-type: decimal;
  margin-left: 1rem;
}
li[data-list="bullet"] {
  list-style-type: disc;
  margin-left: 1rem;
  /* &::marker {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 11px;
  } */
}
@layer base {
  :root {
    --background: 0 0% 100%;
    --foreground: 20 14.3% 4.1%;
    --card: 0 0% 100%;
    --card-foreground: 20 14.3% 4.1%;
    --popover: 0 0% 100%;
    --popover-foreground: 20 14.3% 4.1%;
    --primary: 24 9.8% 10%;
    --primary-foreground: 60 9.1% 97.8%;
    --secondary: 60 4.8% 95.9%;
    --secondary-foreground: 24 9.8% 10%;
    --muted: 60 4.8% 95.9%;
    --muted-foreground: 25 5.3% 44.7%;
    --accent: 60 4.8% 95.9%;
    --accent-foreground: 24 9.8% 10%;
    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 60 9.1% 97.8%;
    --border: 20 5.9% 90%;
    --input: 20 5.9% 90%;
    --ring: 20 14.3% 4.1%;
    --chart-1: 12 76% 61%;
    --chart-2: 173 58% 39%;
    --chart-3: 197 37% 24%;
    --chart-4: 43 74% 66%;
    --chart-5: 27 87% 67%;
    --radius: 0.5rem;
  }
  .dark {
    --background: 20 14.3% 4.1%;
    --foreground: 60 9.1% 97.8%;
    --card: 20 14.3% 4.1%;
    --card-foreground: 60 9.1% 97.8%;
    --popover: 20 14.3% 4.1%;
    --popover-foreground: 60 9.1% 97.8%;
    --primary: 60 9.1% 97.8%;
    --primary-foreground: 24 9.8% 10%;
    --secondary: 12 6.5% 15.1%;
    --secondary-foreground: 60 9.1% 97.8%;
    --muted: 12 6.5% 15.1%;
    --muted-foreground: 24 5.4% 63.9%;
    --accent: 12 6.5% 15.1%;
    --accent-foreground: 60 9.1% 97.8%;
    --destructive: 0 62.8% 30.6%;
    --destructive-foreground: 60 9.1% 97.8%;
    --border: 12 6.5% 15.1%;
    --input: 12 6.5% 15.1%;
    --ring: 24 5.7% 82.9%;
    --chart-1: 220 70% 50%;
    --chart-2: 160 60% 45%;
    --chart-3: 30 80% 55%;
    --chart-4: 280 65% 60%;
    --chart-5: 340 75% 55%;
  }
}

@layer base {
  * {
    @apply border-border;
  }
  body {
    @apply bg-background text-foreground;
  }
}

@layer base {
  * {
    @apply border-border outline-ring/50;
  }
  body {
    @apply bg-background text-foreground;
  }
}

.scale-img {
  animation: autoscale 1.5s ease-in-out infinite;
}

@keyframes autoscale {
  0%,
  100% {
    transform: scale(0.3);
  }
  50% {
    transform: scale(1);
  }
}

.dots {
  display: flex;
  gap: 0.5rem;
  font-size: 2rem;
}

.dot {
  opacity: 0.2;
  animation: pulse 1s ease-in-out infinite;
}

/* Delay each dot to stagger the animation */
.dot1 {
  animation-delay: 0.3s;
}
.dot2 {
  animation-delay: 0.6s;
}
.dot3 {
  animation-delay: 0.9s;
}

/* Pulse animation */
@keyframes pulse {
  0%,
  100% {
    opacity: 0.2;
    transform: scale(1) translate(0%, 0%);
  }
  50% {
    opacity: 1;
    transform: scale(1.5) translate(-10%, -10%);
  }
}
@keyframes scaleIn {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes scaleOut {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    transform: scale(0);
    opacity: 0;
  }
}
