/* Original source: https://loading.io/css/ */
/* License: MIT License */

.loadingSpinner,
.loadingSpinner:after {
  box-sizing: border-box;
}
.loadingSpinner {
  display: inline-block;
  width: 100%;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.loadingSpinner:after {
  content: " ";
  display: block;
  width: 64px;
  height: 64px;
  margin: 8px;
  border-radius: 50%;
  border: 6.4px solid currentColor;
  border-color: currentColor transparent currentColor transparent;
  animation: loadingSpinner 1.5s linear infinite;
}
@keyframes loadingSpinner {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.noResults {
  display: inline-block;
  width: 100%;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  opacity: 0;
  animation: fadeInOut 1s ease-in-out forwards;
}

.noResults::before,
.noResults::after {
  content: "";
  position: absolute;
  width: 64px;
  height: 6px;
  background-color: currentColor;
  border-radius: 3px;
}

.noResults::before {
  transform: rotate(45deg);
}

.noResults::after {
  transform: rotate(-45deg);
}

@keyframes fadeInOut {
  50% {
    opacity: 0;
    transform: scale(0.5);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
