body {
  margin: 0;
  height: 100vh;
  background: #0f0f0f;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ball-container {
  position: relative;
  width: 100px;
  height: 300px;
}

.ball {
  width: 50px;
  height: 50px;
  background: radial-gradient(circle at 50% 50%, #ff5f6d, #ffc371);
  border-radius: 50%;
  position: absolute;
  left: 25px;
  animation: bounce 1s infinite ease-in-out;
}

.shadow {
  width: 60px;
  height: 8px;
  background: rgba( 255, 255, 255, 0.7);
  border-radius: 50%;
  position: absolute;
  bottom: 0;
  left: 20px;
  animation: shadowScale 1s infinite ease-in-out;
}

@keyframes bounce {
  0% {
    transform: translateY(0) scaleY(1);
  }
  30% {
    transform: translateY(180px) scaleY(1.2);
  }
  50% {
    transform: translateY(200px) scaleY(0.9);
  }
  70% {
    transform: translateY(180px) scaleY(1.05);
  }
  100%{
    transform: translate(0) scaleY(1);
  }
}

@keyframes shadowScale {
  0%, 100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.7);
    opacity: 0.1;
  }
 
  
}
