/* Matrix digital-rain backdrop for infosecstreamers.com.
   Pure-black page with a fixed full-viewport <canvas> behind all content.
   Content keeps its existing look but sits on a subtly translucent panel so
   text stays readable while the rain shows through the page margins. */

/* html paints the black backstop; body must stay transparent or it would paint
   over the z-index:-1 canvas and hide the rain. */
html {
  background: #000 !important;
}
body {
  background: transparent !important;
}

/* the falling-glyph canvas, pinned behind everything */
#matrix-rain {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  display: block;
  background: #000;
  pointer-events: none;
}

/* readable panel for the main column; rain bleeds in from the side margins */
#main_content {
  background: rgba(0, 0, 0, 0.72);
  padding: 20px 22px;
  border: 1px solid rgba(181, 232, 83, 0.12);
  border-radius: 4px;
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(1px);
}

/* header blends onto the rain rather than hiding it */
header {
  background: rgba(0, 0, 0, 0.45) !important;
}

/* keep the fixed language menu legible over the rain */
.language-button,
.language-menu {
  background: rgba(10, 10, 10, 0.92) !important;
}

/* respect reduced-motion: dim the (static) backdrop so it isn't distracting */
@media (prefers-reduced-motion: reduce) {
  #matrix-rain { opacity: 0.5; }
}
