/**
Author: felcon albaladejo
Version: 0.1 March 28, 2024
License: OpenSource Free
Credits: Animista for animation
Github: https://github.com/felconca/Toasty.git
*/
#toastyBox {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  text-align: center;
}

.toasty {
  display: flex;
  width: 320px;
  text-align: center;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans",
    "Helvetica Neue", sans-serif;
  background-color: #D70000;
  padding: 12px 15px;
  border-radius: 0.5rem;
  -webkit-box-shadow: 0px 14px 23px -13px rgba(0, 0, 0, 0.43);
  -moz-box-shadow: 0px 14px 23px -13px rgba(0, 0, 0, 0.43);
  box-shadow: 0px 14px 23px -13px rgba(0, 0, 0, 0.43);
  margin-bottom: 10px;
  -webkit-animation: toasty-in-top 0.3s ease-out both;
  animation: toasty-in-top 0.3s ease-out both;
  gap: 6px;
}

.toasty-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}

.toasty-container {
  width: 100%;
}

.toasty-title {
  width: 100%;
  font-weight: 500;
  color: #fff;

  font-size: 14px;
}

.toasty-text {
  font-size: 12px;
  color: yellow;
  /* margin-left: 23px; */
}

.toasty-close {
  border: 0px;
  color: #f1f1f1;
  cursor: pointer;
  font-size: 11px;
  background-color: transparent;
  border-radius: 8px;
  margin-right: -5px;
  margin-top: -8px;
}

.icon-container i {
  color: yellow;
  font-size: 16px;
}

.toasty-out-top {
  -webkit-animation: toasty-out-top 0.5s ease-in-out both;
  animation: toasty-out-top 0.5s ease-in-out both;
}

/**
    * ----------------------------------------
    * animation fade-in-top
    * ----------------------------------------
    */
@-webkit-keyframes toasty-in-top {
  0% {
    -webkit-transform: translateY(-50px);
    transform: translateY(-50px);
    opacity: 0;
  }

  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes toasty-in-top {
  0% {
    -webkit-transform: translateY(-50px);
    transform: translateY(-50px);
    opacity: 0;
  }

  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
}

/**
 * ----------------------------------------
 * animation fade-out-top
 * ----------------------------------------
 */
@-webkit-keyframes toasty-out-top {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }

  100% {
    -webkit-transform: translateY(-50px);
    transform: translateY(-50px);
    opacity: 0;
  }
}

@keyframes toasty-out-top {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }

  100% {
    -webkit-transform: translateY(-50px);
    transform: translateY(-50px);
    opacity: 0;
  }
}
