:host {
  position: fixed;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;

  opacity: 0;
}

:host(.in) {
  transition: opacity 300ms;
  opacity: 1;
}

:host(.out) {
  transition: opacity 1s;
  opacity: 0;
}

.wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toast {
  font-family: -apple-system, system-ui, "Helvetica Neue", Roboto, sans-serif;
  background-color: #eee;
  color: black;
  border-radius: 5px;
  padding: 10px 15px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.20);
}