body {
  margin: 0;
  padding: 0;
  font-family: 'Cormorant Garamond', serif;
  background-color: #fdf6e3;
  color: #6b5a4a;
  min-height: 100vh;
}

.container {
  display: flex;
  min-height: 100vh;
  flex-direction: row-reverse;
}

.image-section {
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  position: sticky;
  top: 0;
  aspect-ratio: 1024/1536;
}

.main-image {
  height: 100%;
  width: auto;
  object-fit: contain;
  object-position: right;
}

.text-section {
  flex: 1;
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
}

.letter {
  max-width: 600px;
  font-size: 1.4rem;
  line-height: 1.6;
  padding: 0 2rem;
  margin: 0;
}

.letter h1 {
  font-size: 2.8rem;
  margin-bottom: 2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.letter p {
  margin-bottom: 1.5rem;
}

.letter p:last-child {
  margin-top: 2.5rem;
  font-style: italic;
}

/* Mobile and iPad Portrait styles */
@media (max-width: 900px) {
  .container {
    flex-direction: column;
  }

  .image-section {
    width: 100%;
    height: auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    aspect-ratio: 1024/1536;
  }

  .main-image {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: cover;
  }

  .text-section {
    width: 100%;
    padding: 2rem;
    min-height: 50vh;
    box-sizing: border-box;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .letter {
    max-width: 100%;
    padding: 0 1.5rem;
    margin: 0;
    box-sizing: border-box;
    font-size: 1.3rem;
  }

  .letter h1 {
    font-size: 2.4rem;
  }
}

.notification-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

.notification-button {
  background-color: #4CAF50;
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 4px;
  font-family: 'Cormorant Garamond', serif;
  transition: background-color 0.3s ease;
}

.notification-button:hover {
  background-color: #45a049;
}

.notification-button:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}