.loading {
  display: flex;
  flex-direction: column-reverse;
}

.loading-notice {
  margin-top: 24px;
  display: flex;
  align-items: center;
  padding: 16px;
  font-size: 15px;
  border-radius: 6px;
  background-color: #fff;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.12);
}

.loading-notice p {
  margin: 0;
}

.loading-notice img {
  margin-right: 16px;
}

.loading-notice a {
  font-weight: 700;
}

.loading-instructions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  flex-direction: column-reverse;
}

.instruction-steps {
  width: 330px;
  text-align: center;
}

.instruction-steps button {
  margin: auto;
  margin-top: 40px;
}

.instruction-step {
  transition: all 0.4s;
  color: #949494;
  filter: grayscale(1);
}

.instruction-step p {
  font-size: 19px;
}

.instruction-step img {
  margin: auto;
}

.instruction-step.active {
  color: #000;
  filter: grayscale(0);
}

.animation-container {
  margin-bottom: 16px;
  width: 300px;
  height: 300px;
  flex-shrink: 0;
  background-color: #fff;
  clip-path: circle(150px at center);
}

/* Loading dots */

.dots {
  justify-content: center;
  display: flex;
  box-sizing: content-box;
  height: 16px;
}

.dot {
  height: 8px;
  width: 8px;
  margin: 0 4px;
  opacity: 0.6;
  animation-duration: 0.8s;
  border-radius: 100% 100% 100% 100%;
  align-self: flex-end;
  animation-iteration-count: infinite;
  transform-origin: bottom;
  background: #e0f6ff;
}

.bounce {
  animation-timing-function: ease-in-out;
  animation-name: bounce;
}

.bounce-1 {
  -webkit-animation-delay: -0.2s;
  animation-delay: -0.2s;
}

.bounce-2 {
  -webkit-animation-delay: -0.4s;
  animation-delay: -0.4s;
}

@keyframes bounce {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-100%);
    opacity: 1;
  }
  100% {
    transform: translateY(0px);
  }
}

/* Desktop styles */

@media (min-width: 769px) {
  .loading {
    display: flex;
    flex-direction: column;
    width: 740px;
  }

  .loading-instructions {
    justify-content: space-between;
    padding-top: 80px;
    flex-direction: row;
  }

  .loading-notice {
    margin-top: 0;
  }

  .animation-container {
    margin: 0;
  }
}
