@import url("https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap");

html,
body {
  width: 100%;
  height: 100%;
}

body {
  margin: 0;
  background: black;
  color: #fff;
  font-family: "Archivo Black", sans-serif;
  font-size: 3em;
  text-align: center;
  scrollbar-width: none;
  overflow: hidden;
}

#obal {
  position: relative;
  width: 100%;
  height: 100vh;
}

#c {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

#heart-name {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(24px, 6vw, 64px);
  font-family: "Great Vibes", cursive;
  letter-spacing: 0.02em;
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 60, 110, 0.35), 0 0 22px rgba(255, 40, 80, 0.25);
  animation: name-float 3.6s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}

.heart {
  fill: red;
  position: relative;
  top: 5px;
  width: 50px;
  animation: pulse 1s ease infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes name-float {
  0% {
    opacity: 0.95;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -54%) scale(1.02);
  }
  100% {
    opacity: 0.95;
    transform: translate(-50%, -50%) scale(1);
  }
}
#heart {
  position: relative;
  width: 100px;
  height: 90px;
  text-align: center;
  font-size: 16px;
  position: relative;
}

#heart span {
  width: 100%;
  display: block;
  top: 50%;
  z-index: 1;
}

#heart {
  width: 100px;
  height: 90px;
  text-align: center;
  font-size: 16px;
}

#heart span {
  width: 100%;
  display: block;
  left: 0;
  right: 0;
  z-index: 1;
}