
body {
  background-color: #ffe6f0;
  font-family: 'Patrick Hand', cursive;
  text-align: center;
  padding: 0;
  margin: 0;
  overflow-x: hidden;
  position: relative;
}

.background-decor {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -1;
  top: 0;
  left: 0;
  overflow: hidden;
}
.bg-decor {
  position: absolute;
  opacity: 0.2;
}
.balloon { top: 20px; left: 10%; width: 100px; }
.flowers { bottom: 10px; right: 5%; width: 120px; }
.cat { bottom: 20px; left: 5%; width: 80px; }

#envelope {
  background: #ffc0cb;
  height: 100vh;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  cursor: pointer;
}
.flap {
  width: 0;
  height: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-bottom: 50px solid #ff69b4;
}
.letterText {
  margin-top: 20px;
  font-size: 28px;
  font-weight: bold;
}

.slide {
  display: none;
  padding: 20px;
}
.slide.hidden {
  display: none;
}
.slide:not(.hidden) {
  display: block;
  animation: fadeIn 1s ease-in-out;
}

.flower-img, .smile-photo, .polaroid img {
  width: 250px;
  border-radius: 12px;
  margin-top: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.subtext {
  font-size: 14px;
  margin-top: 10px;
}
button {
  margin-top: 20px;
  background-color: #ff69b4;
  border: none;
  color: white;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
}
button:hover {
  background-color: #e94f9c;
}

.letter {
  max-width: 600px;
  margin: 0 auto;
  font-size: 18px;
  background: #fff0f5;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media screen and (max-width: 600px) {
  .flower-img, .smile-photo, .polaroid img {
    width: 90%;
  }
  .letter {
    font-size: 16px;
    padding: 15px;
  }
}
