
/* Hide and show */
div[hidden] {
  display: none;
}

.spinner-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--size-4);
}

.spinner {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  border: 3px solid transparent;
  border-top-color: var(--happy-primary);
  border-right-color: var(--happy-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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