/* Reset & Base Styles */

body {
  font-size: 0.85rem;
  margin: 0;
  padding: 0.5rem;
  background-color: #0d0d0d;
  font-family: 'Share Tech Mono', monospace;
  color: #f5f5f5;
}

/* Slide Layout */

/* Starfield Canvas */
#starfield {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;              /* behind everything */
  pointer-events: none;    /* clicks pass through */
}

/* Make sure your slides sit above the stars */
.reveal {
  position: relative;
  z-index: 1;
}

.reveal {
  font-size: 100%;
  max-width: 100vw;
  max-height: 100vh;
  overflow: visible !important;
}

.slides {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 95vh;
  padding-bottom: 2rem;
}

/* Slide Titles */
.reveal h1, .reveal h2 {
  font-size: 2.1rem;
  margin: 0.2rem 0 0.5rem;
  color: #ff66cc;
  text-shadow: 0 0 8px #ff66cc;
}

/* Slide Paragraphs */
.reveal p {
  font-size: 0.75rem;
  line-height: 1.5;
  max-width: 180%;
  margin: 0.8rem auto;
  color: #ffffff;
  text-shadow: 0 0 4px #00ffff;
}

/* Hero Image (only the first slide) */
.intro-img {
  width: 100%;
  max-width: 400px;
  max-height: 45vh;
  height: auto;
  image-orientation: center;
  display: block;
  margin: 2rem auto 3rem auto;
  border: 2px solid #00ffff;
  border-radius: 12px;
  box-shadow: 0 0 10px #ff66cc;
}

/* Comic Page Images (slide content) */
.hero-img {
  width: 80%;
  max-width: 300px;
  max-height: 35vh;
  image-orientation: center;
  text-align: center;
  height: auto;
  display: block;
  margin: 2rem auto 3rem auto;
  border: 2px solid #00ffff;
  border-radius: 12px;
  box-shadow: 0 0 10px #ff66cc;
}

/* Fullscreen Button */
#fullscreen-btn {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1002;
  padding: 0.4rem 1rem;
  font-size: 1rem;
  background: #00ffff;
  border: none;
  border-radius: 8px;
  color: #111;
  cursor: pointer;
  box-shadow: 0 0 10px #ff66cc;
}

#fullscreen-btn:hover {
  background: #ff66cc;
  color: #fff;
  box-shadow: 0 0 12px #00ffff;
}

/* Navigation Buttons */
.navigate-left,
.navigate-right {
  position: fixed !important;
  bottom: 3.5rem !important;
  font-size: 1.1rem !important;
  width: 1.3rem !important;
  height: 1.3rem !important;
  color: #ffe100 !important;
  text-shadow: 0 0 8px #ffcc00;
  transition: text-shadow 0.3s;
  pointer-events: auto;
  z-index: 1001;
}

/* Position left arrow on the left side */
.navigate-left {
  left: 2rem !important;
}

/* Position right arrow on the right side */
.navigate-right {
  right: 2rem !important;
}

/* Glowing effect on hover */
.navigate-left:hover,
.navigate-right:hover {
  color: #ffffff !important;
  text-shadow: 0 0 15px #ffcc00;
}

footer {
  position: fixed;
  bottom: 0.3rem;
  width: 100%;
  text-align: center;
  font-size: 1.1rem;            
  color: #ffffff;
  text-shadow: 0 0 15px #ff66cc;  
  z-index: 1001;
}

@media screen and (max-width: 768px) {
  .reveal p {
    font-size: 2rem;    
    line-height: 1.6;   
    max-width: 80%;
    margin: 1rem auto;  
}
