body {
  font-family: 'Arial', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  background-color: #ffe6e6;
}

.opening-screen {
  text-align: center;
  position: relative;
  z-index: 1;
  animation: fadeIn 2s ease-in-out;
}

.opening-screen h1 {
  font-size: 2.5em;
  z-index: auto;
  position: relative;
  color: #ff4d4d;
  margin-bottom: 20px;
}

.opening-screen input {
  padding: 10px;
  font-size: 1.2em;
  border: 2px solid #ff4d4d;
  border-radius: 10px;
  outline: none;
  width: 80%;
  max-width: 300px;
  z-index: auto;
  position: relative;
}

.opening-screen button {
  z-index: auto;
  position: relative;
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 1.2em;
  color: #fff;
  background-color: #ff4d4d;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.opening-screen button:hover {
  background-color: #e60000;
  transform: scale(1.1);
}

.love-effect {
  position: fixed;
  top: 0;
  left: 0;
  width: -webkit-fill-available;
  height: -webkit-fill-available;
  overflow: hidden;
}

.love-effect span {
  position: fixed;
  display: block;
  font-size: 2em;
  animation: animate 5s linear infinite;
  bottom: -100px;
}

@keyframes animate {
  0% {
      transform: translateY(0) rotate(0deg);
      opacity: 1;
  }
  100% {
      transform: translateY(-1000px) rotate(720deg);
      opacity: 0;
  }
}

.container {
  text-align: center;
  animation: fadeIn 2s ease-in-out;
}

.animated-text {
  font-size: 2.5em;
  color: #ff4d4d;
  animation: fadeIn 2s ease-in-out;
}

@keyframes fadeIn {
  from {
      opacity: 0;
  }
  to {
      opacity: 1;
  }
}

.heart {
  width: 100px;
  height: 100px;
  background-color: #ff4d4d;
  position: relative;
  transform: rotate(-45deg);
  margin: 50px auto;
  animation: heartbeat 1.5s infinite;
}

.heart::before,
.heart::after {
  content: '';
  width: 100px;
  height: 100px;
  background-color: #ff4d4d;
  border-radius: 50%;
  position: absolute;
}

.heart::before {
  top: -50px;
  left: 0;
}

.heart::after {
  top: 0;
  left: 50px;
}

@keyframes heartbeat {
  0% {
      transform: scale(1) rotate(-45deg);
  }
  50% {
      transform: scale(1.1) rotate(-45deg);
  }
  100% {
      transform: scale(1) rotate(-45deg);
  }
}

.message {
  font-size: 1.5em;
  color: #333;
  margin-top: 20px;
  animation: slideIn 2s ease-in-out;
}

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

#nextPageButton {
  margin-top: 30px;
  padding: 15px 30px;
  font-size: 1.2em;
  color: #fff;
  background-color: #ff4d4d;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

#nextPageButton:hover {
  background-color: #e60000;
  transform: scale(1.1);
}

/* Button shake animation */
@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-10px); }
  50% { transform: translateX(10px); }
  75% { transform: translateX(-10px); }
  100% { transform: translateX(0); }
}

.shake {
  animation: shake 0.5s ease-in-out;
}