.spinner-parent.hide-elements {
  display: none;
  background-color: white;

}

.spinner {
  position: fixed;
  display: none;
  width: 100px;
  height: 100px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.spinner::before,
.spinner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.3);
}

.spinner::before {
  border-top-color: #e7810b;
  border-left-color: transparent;
}

.spinner::after {
  border-right-color: #e7810b;
  border-bottom-color: transparent;
}

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