@font-face {
  font-family: 'Ledlight';
  src: url('Ledlight-qXZx.otf') format('opentype');
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: #000;
  color: #d3d3ffd0;
  font-family: 'Courier New', monospace;
  min-height: 100vh;
  padding: 40px;
  position: relative;
}

/* Fixed pseudo-element (not background-attachment: fixed, which is buggy on
   mobile Safari) so the background stays put behind scrolling gallery content. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: url('staticbackground.png') center center no-repeat;
  background-size: cover;
  z-index: -1;
}

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.back-link {
  font-family: 'Courier New', monospace;
  font-size: 18px;
  letter-spacing: 2px;
  color: #8888aa;
  text-decoration: none;
  text-shadow: 0 0 6px rgba(0, 10, 29, 0.93);
  transition: color 0.2s;
}
.back-link:hover {
  color: #6464ff;
}

h1 {
  font-family: 'Ledlight';
  font-size: 42px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #d3d3ff;
  text-shadow: 0 0 6px rgba(0, 85, 255, 0.639), 0 0 15px rgba(255, 44, 192, 0.595);
  margin-bottom: 30px;
}

main {
  max-width: 900px;
  margin: 0 auto;
}

p {
  line-height: 1.7;
  margin-bottom: 20px;
  font-size: 16px;
}

p strong {
  color: #ff427b;
}

a {
  color: #6464ff;
  transition: color 0.2s;
}
a:hover {
  color: #ff427b;
}

.about-photo {
  max-width: 320px;
  width: 100%;
  display: block;
  margin: 0 auto 30px;
  border-radius: 4px;
  box-shadow: 0 0 20px rgba(100, 100, 255, 0.3);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  max-width: 1400px;
  margin: 0 auto;
}
.photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 2px;
  cursor: zoom-in;
}

@media (max-width: 768px) {
  body {
    padding: 20px;
  }
  .photo-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
}

/* --- Lightbox (click a gallery image for a larger preview) --- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s;
  z-index: 1000;
  cursor: zoom-out;
}
.lightbox-overlay.open {
  opacity: 1;
  visibility: visible;
}
.lightbox-overlay img {
  max-width: 95vw;
  max-height: 95vh;
  border-radius: 4px;
  box-shadow: 0 0 40px rgba(100, 100, 255, 0.4);
}
