.wrapper {
  width: 100%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  /* transform: rotate(-15deg) scale(1.3); */
}
.rocketWrap {
  transform: rotate(90deg);
  z-index: 2;
  position: relative;
  left: -100%;
}
.rocketWrap.flying {
  animation: swoosh 3s linear forwards;
}
@keyframes swoosh {
  0% {
    left: -65%;
  }
  100% {
    left: 65%;
  }
}
.rocket {
  display: inline-block;
  width: 240px;
  animation: float 3s ease-in-out infinite;
  position: relative;
}
.rocket img {
  max-width: 100%;
  display: block;
}
.rocketFlame {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-image: url('../assets/rocket-flame.svg');
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  height: 0;
  padding-bottom: 25%;
  width: 25%;
  animation: burn 0.3s ease-in-out infinite;
}
@keyframes float {
  0% {
    top: 0;
  }
  50% {
    top: -30px;
  }
  100% {
    top: 0;
  }
}
@keyframes burn {
  0% {
    padding-bottom: 35%;
  }
  50% {
    padding-bottom: 15%;
  }
  100% {
    padding-bottom: 35%;
  }
}
.stars {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  padding-bottom: 25%;
  background: url('../assets/stars.svg') repeat-x;
  background-position-x: -100%;
  background-size: contain;
  animation: flyby 10s linear infinite;
  z-index: 1;
}
.speed-line {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  padding-bottom: 12%;
  background-color: #3F1587;
}
.speed-line.two {
  background-color: #4629A7;
  padding-bottom: 15%;
}
.spaceclouds,
.spacecloudsTop {
  position: absolute;
  left: 0;
  right: 0;
  padding-bottom: 20%;
  background: url('../assets/spaceclouds.svg') repeat-x;
  background-position-x: -100%;
  background-size: auto 100%;
  animation: flyby 20s linear infinite;
}
.spaceclouds {
  bottom: 0;
}
.spacecloudsTop {
  top: 0;
  background: url('../assets/spaceclouds-top.svg') repeat-x;
  background-position-x: -100%;
  background-size: auto 100%;
  animation: flyby 20s linear infinite;
}
@keyframes flyby {
  0% {
    background-position-x: 0;
  }
  100% {
    background-position-x: -1000%;
  }
}
.rocket-btn {
  position: fixed;
  bottom: 60px;
  right: 60px;
  background: #fff;
  color: #000;
  border-radius: 10px;
  padding: 10px 20px;
  z-index: 2;
}
.rocket-btn:hover {
  cursor: pointer;
  background: #eee;
}
