.monster {
  position: fixed;
  top: 55%;
  left: 50%;
  width: 500px;
  height: 500px;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  pointer-events: none;
}

.monster-text {
  position: absolute;
  top: -15% !important;
  left: 50%;
  font-size: 50px;
  font-family: 'Creepster', cursive;
  color: #7C0000;
  text-shadow: 1px 1px 4px #FF0000;
  white-space: nowrap;
  line-height: 1;
  z-index: 99999;
  transform: translateX(-50%) scale(0);
  pointer-events: none;
}

.monster-text.spin {
  animation: spin 1s ease-out forwards;
}

@keyframes spin {
  0% {
    transform: translateX(-50%) scale(0) rotate(0deg);
    opacity: 0;
  }

  100% {
    transform: translateX(-50%) scale(1) rotate(720deg);
    opacity: 1;
  }
}

.pumpkin {
  position: absolute;
  top: -10% !important;
  transform: translateY(-50%);
  font-size: 60px;
  opacity: 0;
  font-size: 50px;
  font-family: 'Creepster', cursive;
  color: #7C0000;
  text-shadow: 1px 1px 4px #FF0000;
  pointer-events: none;
}

.pumpkin.left {
  left: 50%;
  transform: translate(-150%, -50%);
  animation: moveLeft 3s ease-out forwards;
}

.pumpkin.right {
  left: 50%;
  transform: translate(150%, -50%);
  animation: moveRight 3s ease-out forwards;
}

@keyframes moveLeft {
  from {
    transform: translate(-2000%, -50%);
    opacity: 0;
  }
  to {
    transform: translate(-350%, -50%);
    opacity: 1;
  }
}

@keyframes moveRight {
  from {
    transform: translate(2000%, -50%);
    opacity: 0;
  }
  to {
    transform: translate(250%, -50%);
    opacity: 1;
  }
}