/* Global styles for content used in web components */
:root {
  --paragraph-font: "Courier New", monospace;
  --paragraph-size: 1rem;
  --paragraph-line-height: 1.6;
  --paragraph-color: #e0e0e0;
  --text-shadow-color: rgba(0, 255, 255, 0.3);
}

/* Paragraph block styles that will be injected into components */
.paragraph-block {
  display: block;
  /* margin-bottom: 1.5em; */
  font-family: var(--paragraph-font);
  font-size: var(--paragraph-size);
  line-height: var(--paragraph-line-height);
  color: var(--paragraph-color);
  text-shadow: 0 0 5px var(--text-shadow-color);
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 0.6s ease forwards;
}

.paragraph-block:nth-child(2) {
  animation-delay: 0.1s;
}

.paragraph-block:nth-child(3) {
  animation-delay: 0.2s;
}

.paragraph-block:nth-child(4) {
  animation-delay: 0.3s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Glitch text effect utilities */
.glitch-text {
  position: relative;
  color: #ffffff;
  text-shadow: 0.05em 0 0 #ff00ff, -0.05em -0.025em 0 #00ffff, 0.025em 0.05em 0 #ffff00;
  animation: glitch-text 2s infinite;
}

@keyframes glitch-text {
  0%,
  100% {
    text-shadow: 0.05em 0 0 #ff00ff, -0.05em -0.025em 0 #00ffff, 0.025em 0.05em 0 #ffff00;
  }
  15% {
    text-shadow: 0.05em 0 0 #ff00ff, -0.05em -0.025em 0 #00ffff, 0.025em 0.05em 0 #ffff00;
  }
  16% {
    text-shadow: -0.05em -0.025em 0 #ff00ff, 0.025em 0.025em 0 #00ffff, -0.05em -0.05em 0 #ffff00;
  }
  49% {
    text-shadow: -0.05em -0.025em 0 #ff00ff, 0.025em 0.025em 0 #00ffff, -0.05em -0.05em 0 #ffff00;
  }
  50% {
    text-shadow: 0.025em 0.05em 0 #ff00ff, 0.05em 0 0 #00ffff, 0 -0.05em 0 #ffff00;
  }
  99% {
    text-shadow: 0.025em 0.05em 0 #ff00ff, 0.05em 0 0 #00ffff, 0 -0.05em 0 #ffff00;
  }
}
