* {
  margin: 0;
  padding: 0;
  border: none;
  box-sizing: border-box;
}

body {
  font-family: "Protest Riot", Arial, Helvetica, sans-serif;
  width: max-content;
  overflow-x: auto;
  background-color: #fff0f6;
}

.main-container {
  position: absolute;
  top: 37%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: max-content;
}

#text {
  font-size: 3rem;
  text-align: center;
  margin: 30px 0;
  color: #f53699;
}

.btn-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
}

button {
  background-color: #22C55E;
  border-radius: 10px;
  padding: 1rem;
  font-size: 1.5rem;
  color: #fff0f6;
  font-weight: bold;
}

button:hover {
  cursor: pointer;
}

#no-btn {
  background-color: #EF4444;
}

#yes-btn:hover {
  background-color: #15803D;
}

#no-btn:hover {
  background-color: #B91C1C;
}

#heart {
  display: none;
  content: '';
  height: 70px;
  aspect-ratio: 1;
  top: 70px;
  background-color: #f20044;
  position: relative;
  transform: rotate(-45deg);
  box-shadow: -10px 10px 90px #f20044;
  animation: heart 0.6s linear infinite;
}

#heart:before {
  content: '';
  height: 70px;
  aspect-ratio: 1;
  background-color: #f20044;
  position: absolute;
  top: -50%;
  border-radius: 50px;
  box-shadow: -10px -10px 90px #f20044;
}

#heart:after {
  content: '';
  height: 70px;
  aspect-ratio: 1;
  background-color: #f20044;
  position: absolute;
  right: -50%;
  border-radius: 50px;
  box-shadow: 10px 10px 90px #f20044;
}

@keyframes heart {
  0% {
    transform: rotate(-45deg) scale(1.07);
  }
  80% {
    transform: rotate(-45deg) scale(1.0);
  }
  100% {
    transform: rotate(-45deg) scale(0.8);
  }
}

.heart-rain {
  position: fixed;
  top: -1vh;
  left: 1vw;
  font-size: 1rem;
  transform: translate(0,0);
  animation: fallright 3s linear forwards;
}

@keyframes fallright {
  to {
    transform: translate(105vw, 500vh);
  }
}

.heart-rain-2 {
  position: fixed;
  top: -1vh;
  right: -1vw;
  font-size: 1rem;
  transform: translate(0, 0);
  animation: fallleft 3s linear forwards;
}

@keyframes fallleft {
  to {
    transform: translate(-105vw, 500vh);
  }
}

@media (min-width: 400px) {
  .heart-rain, .heart-rain-2 {
    font-size: 2rem;
  }
}