* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
    background-color: white;
    font-family: Georgia, serif;
    color: black;
}

.main-nav{
    background-color: white;
    text-align: center;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 30px;
    color: black;
    letter-spacing: -1px;
    display: flex;
    justify-content: center; /* horizontal */
    align-items: center;     /* vertical */
    height: 50px;           /* full viewport height */
    padding-top: 30px;
}

.main-title{
    background-color: white;
    text-align: center;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 25px;
    color: black;
    letter-spacing: -1px;
    display: flex;
    justify-content: center; /* horizontal */
    align-items: center;
    height: 40px;
    padding-top: 10px;   
}       

.main-text{
    background-color: white;
    text-align: justify;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 18px;
    color: black;
    letter-spacing: -1px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* height: 200px; */
    width: 800px;
    padding-top: 30px;
    margin: 0 auto;
}

.divider{
    background-color: white;
    text-align: center;
    display: flex;
    justify-content: center;
    padding-top: 30px;
    width: 800px;
    margin: 0 auto;
}

a {
  color: black;
  text-decoration: none;
  transition: font-size 0.2s ease, text-shadow 0.2s ease;
}

a:hover {
  font-size: 1.2em;
  text-shadow: 0 0 8px rgba(170, 170, 170, 0.8),
               0 0 2px rgba(170, 170, 170, 0.8);
}

.roll-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  width: 75vw;
  padding-top: 30px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 auto;
}

.photo-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.photo-wrap {
  position: relative;
  overflow: hidden;
  background: #f5f0e0;
  border: 6px solid #fff;
  outline: 1px solid #d0c8a8;
  aspect-ratio: 1;
  cursor: pointer;
}

.photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.photo-wrap:hover img {
  transform: scale(1.04);
}

.photo-hover {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 254, 247, 0.92);
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 14px;
  color: black;
  padding: 6px 8px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.2s ease;
  border-top: 1px dashed #b5c99a;
}

.photo-wrap:hover .photo-hover {
  opacity: 1;
}

.photo-note {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 14px;
  color: black;
  line-height: 1.4;
}