html, body {
  overflow-x: hidden;
}

body {
  background: #FFC0CB;
  max-height: 100vh;
  margin: 0;
  display: flex;
  padding: 1rem;
  font-family: monospace;
  color: #5C4033;
}

.heart{
  width: 30vw;
  max-width: 200px;
  position: absolute;
  opacity: 0.2;
  margin: 0;
  transform-origin: center;
  user-select: none;
  -webkit-user-drag: none; /* prevents dragging in Safari/Chrome */
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE/Edge */
  pointer-events: none;
}

.heart1 {
  top: 5vh;
  right: 2rem;
  transform: rotate(15deg);
}

.heart2 {
  bottom: 20vh;
  left: 28vw;
  transform: rotate(-45deg);
}


.typewriter {
  max-width: 90vw;
  font-size: 0.7rem;
  line-height: 1.2;
}

.typewriter h1 {
  margin: 0;
  white-space: pre-wrap;
  letter-spacing: 0.025em;
  font-family: monospace;
  color: #5C4033;
}

#cursor {
  display: inline-block;
  width: 0.1em;
  height: 1em;
  background-color: #5C4033;
  vertical-align: bottom;
  animation: blink-caret 1s step-end infinite;
}

/* Blinking cursor */
.typewriter h1.caret {
  animation: blink-caret 1s step-end infinite;
}


@keyframes blink-caret {
  0%, 100% { background-color: transparent; }
  50% { background-color: #5C4033; }
}