.loader-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 32px;
  color: var(--secondary-color);
  font-weight: 500;
  padding: 32px;
}
.loader {
  position: relative;
  display: flex;
  padding-top: 16px;
}
.loader:before,
.loader:after {
  content: "";
  width: 15px;
  height: 15px;
  display: inline-block;
  position: relative;
  margin: 0 5px;
  border-radius: 50%;
  color: var(--secondary-color);
  background: currentColor;
  box-shadow: 50px 0, -50px 0;
  animation: left 1s infinite ease-in-out;
}
.loader:after {
  color: var(--primary-color);
  animation: right 1.1s infinite ease-in-out;
}

@keyframes right {
  0%,
  100% {
    transform: translateY(-10px);
  }
  50% {
    transform: translateY(10px);
  }
}

@keyframes left {
  0%,
  100% {
    transform: translateY(10px);
  }
  50% {
    transform: translateY(-10px);
  }
}
