#loading-screen {
  width: 100%;
  height: 100%;
  background-color: #000;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

#loading-screen .content {
  display: flex;
  align-items: center;
  flex-direction: column;
}

#loading-screen .content .logo {
  width: 30vh;
}

#loading-screen .content .logo img {
  width: 100%;
}

#loading-screen .content .loading {
  position: relative;
  transform: scale(1.5);
  width: 69px;
  height: 118px;
}

#loading-screen .content .loading span {
  position: absolute;
  bottom: 0;
  width: 15px;
  height: 18px;
  background: #fff;
  border-radius: 50px;
  left: 0;
  animation: bounce 1s infinite;
}

#loading-screen .content .loading span:nth-child(2) {
  animation-delay: 0.15s;
  left: 18px;
}

#loading-screen .content .loading span:nth-child(3) {
  animation-delay: 0.3s;
  left: 36px;
}

#loading-screen .content .loading span:nth-child(4) {
  animation-delay: 0.45s;
  left: 54px;
}

@keyframes bounce {
  0% {
    bottom: 0;
  }

  5% {
    bottom: 18px;
  }

  15% {
    bottom: 20px;
    height: 40px;
  }

  30% {
    bottom: 20px;
  }

  50% {
    height: 18px;
  }

  60% {
    bottom: 0px;
  }

  65% {
    bottom: 3px;
  }

  70% {
    bottom: -1px;
  }

  75% {
    bottom: 0px;
  }

  100% {
    height: 18px;
    bottom: 0px;
  }
}

#loading-screen.flat {
  left: 0;
  top: 0;
  z-index: 5;
  background: rgba(0, 0, 0, 0.7);
}

#loading-screen.flat .content .loading {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 4vw;
  height: 5vw;
}

#loading-screen.flat .content .loading {
  box-sizing: border-box;
  width: 4vw;
  height: 4vw;
  border-radius: 100%;
  border: 0.7rem solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  animation: spin 0.8s infinite linear;
  transform: none;
}



@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}
