:root {
  /* Color variables */
  --rich-black: #04080f;
  --cyan-azure: #507dbc;
  --baby-blue: #a1c6ea;
  --pale-aqua: #bbd1ea;
  --platinum: #dae3e5;
  
  /* Light theme (default) */
  --bg-color: var(--platinum);
  --text-color: var(--rich-black);
  --header-bg: var(--pale-aqua);
  --footer-border: var(--cyan-azure);
  --lightbox-bg: rgba(4, 8, 15, 0.8);
}

[data-theme="dark"] {
  --bg-color: var(--rich-black);
  --text-color: var(--platinum);
  --header-bg: #1a1a1a;
  --footer-border: var(--baby-blue);
  --lightbox-bg: rgba(218, 227, 229, 0.8);
}
[data-theme="dark"] #lightbox {
  background: rgba(255, 255, 255, 0.2) !important; /* Lighter semi-transparent background for dark mode */
  backdrop-filter: blur(8px) !important; /* Same blur effect for dark mode */
}

/* rich black #04080f
 * cyan azure #507dbc
 * baby blue eyes #a1c6ea
 * pale aqua #bbd1ea
 * platinum #dae3e5
 **/

* {
  margin: 0;
  padding: 0;
  color: var(--text-color);
  font-family: "Lucida Console", Monaco, monospace;
}

body {
  background-color: var(--bg-color);
  font-family: "Lucida Console", Monaco, monospace;
  color: var(--text-color);
}

/* Header and logo styles */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  width: 100%;
  box-sizing: border-box;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 1rem;
}

.logo img {
  height: 64px;
  width: auto;
}

.ascii-art {
  font-family: monospace;
  white-space: pre;
  color: var(--text-color);
  opacity: 0.7;
  font-size: 0.8rem;
  line-height: 1.2;
}

.tagline {
  font-style: italic;
  color: var(--text-color);
  opacity: 0.8;
  font-size: 0.9rem;
}

.headerbg {
  background-color: var(--header-bg);
  height: 50px;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

div.body {
  max-width: 1400px;
  padding: 40px 20px;
  margin: 0 auto;
  font-family: "Lucida Console", Monaco, monospace;
}

footer {
  width: 95%;
  max-width: 1340px;
  padding: 10px 0;
  margin: 0 auto;
  border-top: 1px solid var(--footer-border);
  font-size: 11px;
  font-family: "Lucida Console", Monaco, monospace;
}
p {
	font-family: "Lucida Console", Monaco, monospace;
}

.centered {
  display: block;
  text-align: center;
}

.message {
  margin-bottom: 30px;
  font-family: "Lucida Console", Monaco, monospace;
}

.single_message{
	font-family: "Lucida Console", Monaco, monospace;
}

.track_spectrals {
  display: flex;
  flex-flow: horizontal nowrap;
}

.full_spectral_image {
  width: 86%;
}

.zoom_spectral_image {
  width: 13.85%;
  margin-left: 0.15%;
}

.full_spectral_image img, .zoom_spectral_image img, #lightbox img {
  max-width: 100%;
  max-height: 100%;
}

#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5) !important; /* Semi-transparent background */
  backdrop-filter: blur(8px) !important; /* Stronger blur effect */
  transition: all 0.2s linear;
}

#lightbox img {
  display: block;
  max-height: 90vh;
  max-width: 90%;
  margin: 5vh auto;
}

/* Theme toggle button */
.theme-toggle {
  padding: 0.5rem 1rem;
  background: var(--cyan-azure);
  color: var(--platinum);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: center;
}

.theme-toggle:hover {
  opacity: 0.9;
}

