.button {
  border: none;
  outline: none;
  border-radius: 10px;
  font-family: 'Poppins-Medium';
  font-weight: 500;
  cursor: pointer;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-sizing: border-box;
}

.primary {
  background-color: white;
  color: black;
}

.secondary {
  background-color: rgb(189, 45, 45);
  color: white;
}

.secondary:hover {
  background-color: rgba(244, 10, 10, 0.852) !important;
  color: black !important;
}

.button:hover {
  background-color: rgba(161, 161, 245, 0.358);
  color: white;
}

.sm {
  padding: 0.3rem 1.5rem;
  font-size: 15px;
}

.md {
  padding: 0.5rem 2rem;
  font-size: 18px;
}

.lg {
  padding: 0.7rem 3rem;
  font-size: 22px;
}

.loader {
  width: 20px;
  height: 20px;
  display: inline-block;
  border: 2px solid rgba(159, 159, 159, 0.582);
  border-radius: 50%;
  border-top: 2px solid rgb(51, 51, 221);
  animation: rotate 0.5s linear infinite;
}

.loader-sm {
  width: 10px;
  height: 10px;
}

.loader-md {
  width: 15px;
  height: 15px;
}

.loader-lg {
  width: 20px;
  height: 20px;
}

.disabled {
  background-color: rgb(168, 166, 166);
  opacity: 0.5;
  color: white;
  pointer-events: none;
}

.disabled:hover {
  background-color: rgba(168, 166, 166, 0.214);
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}
