@font-face{
    font-family: Architect;
    src: url(../ArchitectsDaughter-Regular.ttf);
}
@font-face{
    font-family: Clicker;
    src: url(../ClickerScript-Regular.ttf);
}
body{
    background-image: url(/backgrounds/kodama.webp);
    background-repeat: no-repeat;
    background-color: black;
    margin: 0;
}
h1{
    color: lightgrey;
    font-size: 40px;
    font-family: "Architect";
}
h2{
    font-family: Georgia, 'Times New Roman', Times, serif;
    color: white;
}
h3{
    color: white;
    font-family: "Architect";
    font-size: 25px;
    text-decoration: underline;
}
p{
    color: white;
    font-family: "Architect";
    font-size: 20px;
}
a{
    text-decoration: underline dotted;
    font-family: "Architect";
    font-size: 25px;
    color: white;
    margin: 8px;
}

/* Gallery grid */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, 200px);
  gap: 1.5rem;
  padding: 2rem;
  justify-content: center;
}

/* Thumbnails */
.gallery img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  cursor: pointer;

  /* Frame */
  border: 5px dotted white;
  border-radius: 25px;
  background: rgba(0, 0, 0, 0);

  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.03);
}

/* Lightbox overlay */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none; /* hidden by default */
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

/* Lightbox content */
.lightbox-content {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 2rem;
  width: 85%;
  max-width: 1200px;
  background: #111;
  padding: 2rem;
}

/* Large image */
.lightbox-content img {
  width: 100%;
  height: auto;
  border: 4px solid #eee;
}

/* Description panel */
.description {
  color: white;
  font-size: 1rem;
  line-height: 1.5;
  font-family: Architect;
}

/* Close button */
.close-btn {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 2rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}