body, html {
  margin: 0;
  padding: 0;
  height: 100%;
}
body {
  min-height: 100vh;
  font-family: 'Delius', 'Arial', sans-serif;
}
.container {
  display: flex;
  height: 100vh;
  min-height: 0;
  overflow: hidden;
}

/* Left: Image */
.image-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #222;
  position: relative;
  z-index: 1;
}
.image-section img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  display: block;
}

/* Right: Buttons and header */
.content-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  min-height: 0;
  max-height: 100vh;
  overflow-y: auto;
  position: relative;
  z-index: 2;
  padding: 2em 0;
  justify-content: flex-start;
}

/* Header text section */
.header-subsection {
  text-align: center;
}
.header-subsection h1 {
  margin: 0 0 0.5em 0;
  font-size: 4em;
  color: #222;
}
.header-subsection p {
  margin: 0;
  color: #555;
  font-size: 1.1em;
  margin-top: 1.5em;
}

/* Buttons */
.registry-links {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.registry-links a {
  width: 70%;
  padding: 1em;
  margin: 1em 0;
  font-size: 1.2em;
  border: none;
  border-radius: 4px;
  background: #feffaa;
  color: #000;
  cursor: pointer;
  transition: background 0.2s;
  text-align: center;
  text-decoration: none;
}
.registry-links a:hover {
  background: #d7d88e;
}

/* Baby Fund Links */
.baby-fund-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.baby-fund-link {
  max-width: 200px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  margin-bottom: 1.5rem;
}

.baby-fund-img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.baby-fund-name {
  margin-top: 0.5rem;
  color: #222;
  font-size: 1.1rem;
  font-family: 'Delius', cursive;
}

/* Responsive mobile layout */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    height: auto;
    min-height: 100vh;
    overflow: visible;
  }
  .image-section, .content-section, .registry-links {
    flex: none;
    width: 100%;
  }
  .image-section img {
    height: auto;
    max-height: 40vh;
    object-position: 20% 20%;
  }
  .content-section {
    padding: 2em 0;
    height: auto;
    max-height: none;
    overflow-y: visible;
    justify-content: flex-start;
  }
}
