/* From Uiverse.io by Ratinax */
.container {
  width: 100%; /* changed to 100% to fit the screen */
  height: 100vh; /* changed to 100vh to fit the screen height */
  background: #ff7e86;
  background-image: linear-gradient(45deg, #fc5762, transparent 90%),
    /* From Uiverse.io by ayman-ashine */ 

  width: 100%;
  height: 100%;
  /* Add your background pattern here */
  --color: rgb(255, 50, 50, 0.8);
  background-color: rgb(0, 0, 0);
  background-size: 40px 40px;
  background-image: linear-gradient(45deg, var(--color), transparent 40%),
    linear-gradient(-90deg, var(--color), transparent 20%);


  background-size: 4em 4em;
  display: flex;
  justify-content: center;
  align-items: center;
  
}

.love-message {
  background-color: #ffe6f2; /* soft pink background */
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  position: relative; /* added for gift box positioning */
}

.love-message h1 {
  font-size: 24px;
  font-weight: bold;
  color: #333;
}

.love-message p {
  font-size: 18px;
  color: #666;
}

#love-button {
  background-color: #f44336; /* red button */
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#love-button:hover {
  background-color: #e91e63; /* darker red on hover */
}

.gift-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  display: none; /* hide initially */
}

.ring {
  width: 20px;
  height: 20px;
  background-color: #fff;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: ring-emerge 2s forwards; /* animation will be defined later */
  display: none; /* hide initially */
}

@keyframes ring-emerge {
  0% {
    transform: translate(-50%, -50%) scale(0);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}