/* Background gradient - warm, comforting tones */
body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to bottom, #fceabb, #f8b500, #ff8c42, #d76d77);
  overflow-x: hidden; /* prevents horizontal scroll */
}



.overlay {
  background-color: rgba(255, 255, 255, 0.85); /* keeps readability */
  min-height: 100vh;
  padding: 1em;
}

.container {
  max-width: 800px;
  margin: auto;
  padding: 1em;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}


h1 {
  font-size: 2em;
  color: #5c3d2e;
}

h2 {
  font-size: 3em;
  margin: 0.2em 0;
  color: #222;
}

.dates {
  font-size: 1.2em;
  color: #555;
  margin-bottom: 1em;
}

.quote {
  font-style: italic;
  font-size: 1.2em;
  color: #444;
  margin-bottom: 2em;
}

.main-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  margin-bottom: 2em;
}



.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1em;
  margin-top: 1em;
}

.gallery img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: transform 0.2s ease;
}

@media (max-width: 600px) {
  h1 { font-size: 1.5em; }
  h2 { font-size: 2em; }

  .gallery img {
    width: 80px;
    height: 80px;
  }

  .main-image img {
    max-width: 90%;
  }
}


.gallery img:hover {
  transform: scale(1.03);
}

@media (max-width: 600px) {
  .gallery img {
    width: 100px;
    height: 100px;
  }
}
