/* Reset */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

/* Background + overlay */
body {
  position: relative;
  min-height: 100vh;
  background: url('rain.gif') no-repeat center center fixed;
  background-size: cover;
  color: white;
  font-family: system-ui, sans-serif;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3); /* Lighter dark overlay */
  z-index: -1;
}

/* Optional stronger overlay for modal pages */
body.projects-page::after {
  background: rgba(0, 0, 0, 0.65);
}

/* --- Markdown Inline Fix: removes default blue/black colors --- */
#modal-content.prose * {
  color: inherit !important;
}

#modal-content.prose strong,
#modal-content.prose b,
#modal-content.prose em,
#modal-content.prose i {
  color: #fff !important;
  font-weight: 600;
}

#modal-content.prose h1,
#modal-content.prose h2,
#modal-content.prose h3,
#modal-content.prose h4,
#modal-content.prose h5 {
  color: #fff !important;
}

#modal-content.prose p,
#modal-content.prose li,
#modal-content.prose blockquote {
  color: rgba(255, 255, 255, 0.9) !important;
}

#modal-content.prose a {
  color: #c4b5fd !important;
  text-decoration: none !important;
}

#modal-content.prose a:hover {
  color: #ddd6fe !important;
}

#modal-content.prose img {
  border-radius: 0.5rem;
  border: 1px solid rgba(255,255,255,0.2);
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}



