html, body {
  zoom: 1.04;
  width: 100%;
  margin: 0;
  color: #1f3d2b;
  background-image: url(phssitebg.png);
  font-family: Verdana, Arial, Helvetica, sans-serif;
  text-align: center;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-font-smoothing: antialiased;
}

section {
  margin: 20px auto;
  width: 740px;
  background-color: #f2eadb;
  background-image:  repeating-linear-gradient(
      0deg,
      rgba(0,0,0,0.045),
      rgba(0,0,0,0.045) 1px,
      transparent 1px,
      transparent 2px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(0,0,0,0.045),
      rgba(0,0,0,0.045) 1px,
      transparent 1px,
      transparent 2px
    ),
    repeating-linear-gradient(
      45deg,
      rgba(0,0,0,0.02),
      rgba(0,0,0,0.02) 1px,
      transparent 1px,
      transparent 4px
    );
  border: 1px solid rgb(0, 87, 25);
  padding: 12px 16px;
   box-shadow:
    -3px 3px 0 rgb(0, 87, 25),
    -6px 6px 0 rgba(0, 87, 25, 0.35);
    outline: 1px solid #caa72a;
  outline-offset: -4px;
  position: relative;
  border-style: dashed;
  z-index: 1;
}



footer {
  margin-top: 64px;
  font-size: 0.85rem;
  color: #f2eadb;
  text-align: center;
  text-shadow: -1px -1px 0 rgb(44, 44, 44), 1px -1px 0 rgb(44, 44, 44), -1px 1px 0 rgb(44, 44, 44), 1px 1px 0 rgb(44, 44, 44);
  clear: both;
  position: relative;
  z-index: 1;
}

section h1:first-child,
section h2:first-child {
  margin-top: 0;
}
h1, h2 {
  margin:0;
}

h1 {
  margin: 6px 0 4px;
  font-size: 2.8rem;
  margin-bottom: 4px;
  line-height: 1.05;
}

h2 {
  margin-bottom: 6px;
  font-size: 1.2rem;
  line-height: 1.1;
  margin: 6px 0 4px;
  font-style: italic;
  letter-spacing: 1px;
}

section.primary {
  border-style: dashed;
}

section.secondary {
  border-style: dashed;
}

.small {
  font-size: 0.85rem;
  color: #4a6b57;
}

mark {
  background: #d8b23a;
  color: #1f3d2b;
  padding: 0 4px;
}

.divider {
  height: 2px;
  background: #caa72a;
  margin: 8px 0;
}

a {
  color: #2f6f4f;
  text-decoration: none;
  border-bottom: 1px dashed #2f6f4f;
}

a:hover {
  color: #caa72a;
  border-bottom-color: #caa72a;
}

hr {
  border: none;
  height: 2px;
  background-color: #d8b23a;
  margin: 8px 0;
}

.note {
  position: absolute;
  left: -140px;
  top: 24px;
  width: 120px;
  font-size: 0.8rem;
  color: #4a6b57;
}

.italic{
  font-style: italic;
}

.polaroid {
  width: 160px;
  padding: 6px;
  background: #f3f0e8;
  border: 1px solid #aaa;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.25);
  position: absolute;
  z-index: 10;
  pointer-events: none;
}

.polaroid.left {
  left: 50%;
  bottom: -120px;
  transform: rotate(-3deg) translateX(-460px) rotate(-3deg);

}

.polaroid.right {
  left: 50%;
  bottom: 20px;
  transform: translateX(300px) rotate(2deg);
}

.page {
  position: relative;
}

/* this is just empty space */ 
.float-clear {
  height: 30px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 180px));
  grid-auto-rows: auto;   /* natural row height */
  gap: 10px;
  justify-content: center;
}

.photo-grid img {
  width: 100%;
  height: auto;           /* scale naturally */
  object-fit: cover;
}

.photo-large, .photo-tall {
  height: auto;           /* remove 100% */
}

.photo-section {
  position: relative;
  margin-bottom: 40px;    /* pushes footer down */
}

/* Remove float-clear, use margin-bottom on sections */
section {
  margin-bottom: 30px;
}

.photo-grid img:nth-child(odd){
  transform: rotate(-1deg);
}

.photo-grid img:nth-child(even){
  transform: rotate(1deg);
}