.loader {
  position: fixed;  
  width: 100%;
  height: 100vh;
  top: 0;
  background-color: #000e1a;
  /* background-image: url(../assets/svg/dark-sky-bg.svg);
  background-size: cover;
  background-repeat:  no-repeat; */
  z-index: 10;
}

.rockets {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  opacity: 1;
}

.rocket {
  opacity: 0;
  position: relative;
  background-size: cover;
  margin: 0 20px;
  width: 100px;
  height: 100px;
  background-image: url('../assets/svg/fly-rocket.svg');
}

.rocket.animate {
  animation: bounce 3000ms alternate 1 ease-out;
}

@keyframes bounce {
  0% {
    opacity: 0.8;
    transform: translateX(-80vw);
  }
  20% {
    opacity: 1;
    transform: translateX(80px);
  }
  40% {
    transform: translateX(-20px);
  }
  60% {
    transform: translateX(60px);
  }
  80% { 
    opacity: 1;   
    transform: translateX(-10px);
  }
  100% {
    opacity: 0.8;
    transform: translateX(150vw);
  }
}

.rocket:nth-child(2) {
  animation-delay: 0.2s;
}

.rocket:nth-child(3) {
  animation-delay: 0.3s;
}

@media (max-width: 768px) {
  .loader .rocket {
    width: 50px;
    height: 50px;
  }
}