@keyframes spinner {
  0% {
    background: #ff9100;
  }

  12.5% {
    background: #ff9100;
  }

  12.625% {
    background: #3f51b5;
  }

  100% {
    background: #3f51b5;
  }
}

.spinner div {
  position: absolute;
  width: 40px;
  height: 40px;
  background: #3f51b5;
  animation: spinner 1s linear infinite;
}

.spinner-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #ffffff;
}

.spinner {
  width: 200px;
  height: 160px;
  position: relative;
  transform: translateZ(0) scale(1);
  backface-visibility: hidden;
  transform-origin: center center;
}

.spinner div {
  box-sizing: content-box;
}

#cancel-spinner {
  margin-top: 24px;
  padding: 10px 24px;
  background-color: #ff9100;
  color: white;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  font-family: 'Roboto', sans-serif;
  letter-spacing: 0.0125em;
  text-transform: uppercase;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.14), 0 3px 4px rgba(0, 0, 0, 0.12), 0 1px 5px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#cancel-spinner:hover {
  background-color: #fb8c00;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.14), 0 6px 8px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.2);
}

#cancel-spinner:active {
  background-color: #e65100;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.14), 0 12px 16px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.2);
}
