#toaster {
  position: fixed;
  display: flex;
  flex-direction: column;
  bottom: 24px;
  right: 24px;
  background-color: transparent;
  padding: 10px;
  width: 250px;
  z-index: 1000000;
}

#toaster .toast {
  align-items: center;
  background-color: #202020;
  border-radius: 8px;
  border: 2px solid black;
  color: black;
  display: flex;
  flex: 1 1 auto;
  font-size: 0.8rem;
  font-weight: bold;
  justify-content: center;
  margin-top: 15px;
  opacity: 1;
  padding: 8px;
  padding-right: calc(16px + 1rem);
  position: relative;
  text-shadow: 0 0 6px white;
  transition: opacity 2s;
  white-space: pre-line;
}

#toaster .toast-success {
  background-color: #a4e487;
  box-shadow: 1.5px 1.5px 6px rgba(0, 0, 0, 0.6), inset 0 0 16px rgba(0, 255, 0, 0.2);
}

#toaster .toast-error {
  background-color: #e08d8d;
  box-shadow: 1.5px 1.5px 6px rgba(0, 0, 0, 0.6), inset 0 0 16px rgba(255, 0, 0, 0.2);
}

#toaster .toast-warning {
  background-color: #f0ee91;
  box-shadow: 1.5px 1.5px 6px rgba(0, 0, 0, 0.6), inset 0 0 16px rgba(255, 255, 0, 0.2);
}

#toaster .toast-info {
  background-color: #b1d6db;
  box-shadow: 1.5px 1.5px 6px rgba(0, 0, 0, 0.6), inset 0 0 16px rgba(0, 128, 255, 0.2);
}

#toaster .toast-close {
  background-color: white;
  border: 2px solid black;
  border-radius: 16px;
  box-shadow: 0 0 3px white;
  color: black;
  font-size: .9rem;
  height: 1rem;
  margin-top: -1px;
  padding-top: 1px;
  position: absolute;
  right: 8px;
  text-align: center;
  top: 6px;
  vertical-align: middle;
  width: 1rem;
}

#toaster .toast-close:hover {
  cursor: pointer;
  transform: scale(1.2);
}

