/* full-screen background */
body {
  margin: 0;
  height: 100vh;
  background: 
    linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
    url("images/phographer.png") no-repeat center center fixed;
  background-size: cover;

  display: flex;
  align-items: center;
  justify-content: center;

  font-family: monospace;
  color: #eee;
}

/* info box */
.overlay {
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid #888;
  padding: 24px 32px;
  max-width: 320px;
  text-align: left;
  box-shadow: 0 0 20px rgba(0,0,0,0.8);
}

/* text styling */
h1 {
  font-size: 1.4em;
  letter-spacing: 2px;
  margin-top: 0;
}

p {
  font-size: 0.9em;
  line-height: 1.5;
}

a {
  color: #ccc;
  text-decoration: none;
}

a:hover {
  color: #fff;
  text-decoration: underline;
}
#gallery {
  max-width: 700px;
  margin: 40px auto;
}

.entry {
  border: 1px solid #666;
  padding: 16px;
  margin-bottom: 32px;
  background: rgba(0,0,0,0.6);
}

.entry img {
  width: 100%;
  display: block;
  margin-bottom: 12px;
}

.entry pre {
  font-family: monospace;
  font-size: 0.85em;
  white-space: pre-wrap;
  color: #ccc;
}
.archive-page {
  display: block;          /* cancel flex */
  height: auto;            /* allow scrolling */
  min-height: 100vh;
  padding: 40px 0;
}

/* optional: center gallery content nicely */
.archive-page h1 {
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: 2px;
}

.nav-box {
  position: fixed;          /* stays in place while scrolling */
  top: 20px;                /* distance from top */
  right: 20px;              /* distance from right */
  background: rgba(0,0,0,0.75);
  border: 1px solid #888;
  padding: 16px 20px;
  max-width: 200px;
  text-align: left;
  box-shadow: 0 0 20px rgba(0,0,0,0.8);
  z-index: 1000;            /* ensures it floats above gallery entries */
}

.nav-box a {
  color: #ccc;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
}

.nav-box a:hover {
  color: #fff;
  text-decoration: underline;
}
