*,
*+* {
  font-family: Arial, sans-serif;
  font-weight: 700;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  color-scheme: dark light;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: #cdc5ff;
  margin: 0;
  position: relative;
}

main {
  position: relative;
  text-align: center;
  width: 300px;
  height: 200px;
}

h1 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #333;
}

button {
  padding: 10px 20px;
  font-size: 16px;
  margin: 10px;
  cursor: pointer;
  position: absolute;
  border-radius: 5px;
  border-color: black;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

#yesBtn {
  left: 50px;
  top: 80px;
  color: #da2430;
  transition: background-color 0.3s ease;
}

#noBtn {
  left: 170px;
  top: 80px;
  cursor: default;
}

#yesBtn:hover {
  color: white;
  background-color: #da2430;
}

#yesBtn::before,
#yesBtn::after {
  content: "❤";
  position: absolute;
  font-size: 2rem;
  color: rgba(255, 0, 0, 0.4);
  pointer-events: none;
  text-shadow: none;
}

#yesBtn::before {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 2s infinite;
}

#yesBtn::after {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgba(255, 0, 0, 0.6);
  animation: hearts 2s infinite;
}

img {
  width: 100%;
  border-radius: 10px;
  cursor: none;
}

#heart {
  position: absolute;
  top: 80%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 20rem;
  animation: hearts 2.5s;
  opacity: 0;
  cursor: none;
  color: rgba(255, 0, 0, 0.6);
}

footer {
  position: absolute;
  bottom: 5%;
}

.❤ {
  color: rgba(255, 0, 0, 0.6);
  text-decoration: none;
  animation: pulse 2s infinite;
}

p {
  text-shadow: 0 5px 15px rgba(0, 0, 0, 0.169);
  position: relative;
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0.5;
  }

  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}

@keyframes hearts {
  0% {
    transform: translate(-50%, -50%) scale(0) translateY(0);
    opacity: 1;
  }

  100% {
    transform: translate(-50%, -50%) scale(1) translateY(-80px);
    opacity: 0;
  }
}