/* Make the page fill the viewport and center content */
html, body {
  height: 100%;
  margin: 0;
}
.center {
  min-height: 100vh;              /* full screen */
  display: flex;
  flex-direction: column;         /* stack image then text */
  justify-content: center;        /* vertical center */
  align-items: center;            /* horizontal center */
  gap: 1rem;                      /* space between image and caption */
  padding: 1rem;
  box-sizing: border-box;
  text-align: center;
  font-family: system-ui, sans-serif;
}

/* Make the image responsive and constrained */
.hero {
  max-width: 90%;
  width: 650px;     /* preferred max width */
  height: auto;
  border-radius: 8px; /* optional */
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* Caption styling */
.caption {
  margin: 0;
  color: #333;
  font-size: 1.2rem;
  font-weight: bold;
}
