html {
  min-height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  background-color: #000000;                 /* fallback color while image loads */
  background: url('../assets/images/cats-eye-nebula.webp') no-repeat;
  background-size: cover;
  background-attachment: fixed; /* keeps it pinned while scrolling */
}


/* Daily Light content container */
.light-container {
  max-width: 600px;
  margin: 40px auto;
  background: rgba(0,0,0,0.65);
  padding: 20px 30px 60px; /* extra bottom padding for footer */
  box-shadow: 0 8px 30px rgba(0,0,0,0.75);
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
}

.light-container h1 {
  font-size: 2.1rem;
  color: #eec01b;
  margin-bottom: 20px;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.8);
}
.light-container h2 {
  font-size:1.7rem;
  color: #ffffff;
  text-shadow: 4px 4px 5px rgba(0,0,0,0.8);
}
.light-container h3 {
  font-size:1.1rem;
  color: #b99100;
  text-shadow: 4px 4px 5px rgba(0,0,0,0.8);
}
/* targets <div id="LightContent"> */
#LightContent {
  color: #ffffff;
  line-height: 1.5;
  font-size: 1rem;
  /*text shadows */
  color: #fff;
  text-shadow:
    0 2px 4px rgba(0,0,0,0.75),   /* small directional shadow (increased) */
    0 -2px 4px rgba(0,0,0,0.6),
    2px 0 4px rgba(0,0,0,0.6),
    -2px 0 4px rgba(0,0,0,0.6),
    0 0 12px rgba(0,0,0,0.45),    /* larger soft halo (was 6px) */
    0 0 22px rgba(0,0,0,0.25);    /* extra outer glow */
  -webkit-font-smoothing: antialiased;
  -webkit-text-stroke: 0.15px rgba(0,0,0,0.45);
}
/* Daily Light commentary styling */
.daily-light-commentary {
  font-size: 1.05rem;
  color: #e0e0e0;
  margin-top: 12px;
  line-height: 1.5;
  text-align: left;
  /*text shadows */
  color: #fff;
  text-shadow:
    0 2px 4px rgba(0,0,0,0.75),   /* small directional shadow (increased) */
    0 -2px 4px rgba(0,0,0,0.6),
    2px 0 4px rgba(0,0,0,0.6),
    -2px 0 4px rgba(0,0,0,0.6),
    0 0 12px rgba(0,0,0,0.45),    /* larger soft halo (was 6px) */
    0 0 22px rgba(0,0,0,0.25);    /* extra outer glow */
  -webkit-font-smoothing: antialiased;
  -webkit-text-stroke: 0.15px rgba(0,0,0,0.45);
}

/* Daily Light image */
.daily-light-image {
  margin-top: 20px;
  max-width: 100%;
  border: 2px solid #000000;
}
/* expandable image and overlay -------------------------------------------*/
.daily-light-extra { width:40vw; max-width:100%; height:auto; display:block; margin:0 auto; }
/* When .light-extra images live inside .images-row, let the row layout control their size */
/* Overlay */
.img-overlay {
  position: fixed;
  inset: 0; /* top/right/bottom/left: 0 */
  background: rgba(0,0,0,0.85); /* dark background */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  cursor: zoom-out; /* clicking anywhere closes */
  transition: opacity .18s ease;
  -webkit-tap-highlight-color: transparent;
}

/* Image wrapper / image styling */
.img-overlay img {
  max-width: 100vw;
  max-height: 100vh;
  width: auto;
  height: auto;
  display: block;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  border-radius: 6px;
  object-fit: contain;
}

/* Optional: fade-in -------------------------------------------------------*/
.img-overlay.hidden { opacity: 0; pointer-events: none; }
/* Footer */
footer {
  position: relative; 
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 12px 16px;
  margin-top: 20px;
  margin-bottom: 0px;
  line-height: 1.5;
  z-index: 9999;
  box-sizing: border-box;
}
footer p {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.80rem;
}

