/* The custom font to be used within the toast library */
@import url("https://fonts.googleapis.com/css2?family=Tektur:wght@600&display=swap");

/* Styling for the toast element */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: rgb(92, 242, 222);
  padding: 0 30px;
  border-radius: 25px;
  border: 4px dashed rgb(236, 244, 132);
}

/* Styling for the heading inside the toast */
.toast h4 {
  font-size: 2.2rem;
  color: #333;
  font-family: "Tektur", sans-serif;
  font-weight: 600;
}

/* The class containing the animation to be applied near the end of the toast */
.toast.out-effect {
  animation: anim 1s ease-in-out forwards;
  animation-iteration-count: 1;
}

/* The animation to be played when the toast disapears */
@keyframes anim {
  0% {
    border-color: rgb(236, 244, 132);
    color: #333;
    background-color: rgb(92, 242, 222);
    transform: scale(1) translateY(0);
  }

  70% {
    transform: scale(0.25) translateY(0);
  }

  100% {
    background-color: black;
    color: white;
    border-color: white;
    transform: scale(0.1) translate(2250px, 1250px);
  }
}
