body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to right, #ff6b6b, #ff8e8e);
  font-family: Arial, sans-serif;
}

.container {
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  max-width: 90%;
  margin: 20px;
}

h1 {
  color: #ff4d4d;
  margin-bottom: 2rem;
  font-size: 2rem;
}
.name {
  margin-bottom: 0.1rem;
}

.gif-container {
  margin: 2rem 0;
}

.gif-container img {
  max-width: 200px;
  border-radius: 10px;
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

button {
  padding: 10px 20px;
  font-size: 1.2rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

#yesButton {
  background-color: #4caf50;
  color: white;
}

#noButton {
  background-color: #ff4d4d;
  color: white;
}

#yesButton:hover {
  transform: scale(1.1);
  background-color: #45a049;
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
  }

  button {
    font-size: 1rem;
    padding: 8px 16px;
  }

  .gif-container img {
    max-width: 150px;
  }
}

.scroll-message {
  margin: 2rem 0;
  animation: bounce 2s infinite;
  color: #ff4d4d;
}

.love-letter {
  margin-top: 3rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(255, 77, 77, 0.2);
}

.message {
  line-height: 1.8;
  font-size: 1.1rem;
  color: #333;
  margin: 1.5rem 0;
}

.signature {
  text-align: right;
  font-style: italic;
  color: #ff4d4d;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}
.slideshow img {
  transition: opacity 0.5s ease-in-out;
}
/* .floating-heart {
  position: fixed;
  font-size: 20px;
  animation: float 4s linear infinite;
  z-index: 999;
}

@keyframes float {
  0% {
    transform: translateY(100vh) translateX(0);
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) translateX(100px);
    opacity: 0;
  }
} */

.floating-heart {
  position: fixed;
  font-size: 20px;
  animation: float 4s linear forwards;
  z-index: 999;
}

@keyframes float {
  0% {
    transform: translate(0, 0);
    opacity: 1;
  }
  100% {
    transform: translate(var(--move-x), var(--move-y));
    opacity: 0;
  }
}

.message-container {
  min-height: 100px;
  margin: 20px 0;
  font-size: 1.2rem;
  color: #ff4d4d;
}
