@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  display: grid;
  place-content: center;
  min-height: 100vh;
  margin: 0;
  font-family: Poppins, sans-serif;
  background-color: rebeccapurple;
}

.btn {
  padding: 1rem;
  font-family: inherit;
  font-weight: bold;
  color: rebeccapurple;
  background-color: #fff;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  &:focus {
    outline: none;
  }
  &:active {
    transform: scale(0.98);
  }
}

.toasts {
  list-style: none;
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.toast {
  padding: 1rem 2rem;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 5px;
  &.info {
    color: rebeccapurple;
  }
  &.success {
    color: green;
  }
  &.error {
    color: red;
  }
  &.alert {
    color: orange;
  }
}
