  

 /* Import Google font - Poppins */
 .toast:not(.show) {
    display: block;
}
.notifications {
  position: fixed;
  top: 35px;
  z-index: 999;
  right: 20px;
}
.notifications :where(.toast, .column) {
  display: flex;
  align-items: center;
}

 
.notifications .toast {
  width: 400px;
  position: relative;
  overflow: hidden;
  list-style: none;
  border-radius: 4px;
  padding: 16px 17px;
  margin-bottom: 10px;
  background: var(--light);
  justify-content: space-between;
  animation: show_toast 0.3s ease forwards;
  opacity: 1;
}
@keyframes show_toast {
  0% {
    transform: translateX(100%);
  }
  40% {
    transform: translateX(-5%);
  }
  80% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-10px);
  }
}
.notifications .toast.hide {
  animation: hide_toast 0.3s ease forwards;
}
@keyframes hide_toast {
  0% {
    transform: translateX(-10px);
  }
  40% {
    transform: translateX(0%);
  }
  80% {
    transform: translateX(-5%);
  }
  100% {
    transform: translateX(calc(100% + 20px));
  }
}
.toast::before {
  position: absolute;
  content: "";
  height: 3px;
  width: 100%;
  bottom: 0px;
  left: 0px;
  animation: progress 5s linear forwards;
}
@keyframes progress {
  100% {
    width: 0%;
  }

}

 
li.toast.success>.column>i, li.toast.warning>.column>i, li.toast.error>.column>i, li.toast.info>.column>i {
    color: white;
}


li.toast.success>.column>span, li.toast.warning>.column>span, li.toast.error>.column>span, li.toast.info>.column>span {
    color: white;
    /* font-weight: 600; */
}



.toast.warning {
  background: var(--warning);
}

.toast.success {
    background: #5cb85c;
}
 

.toast.error {
  background: var(--red);
}

.toast.info {
  background: var(--info);
}



.toast.success::before {
  background: var(--white);
}
.btn#success {
  background: var(--success);
}

.toast.error::before{
  background: var(--warning);
}
.btn#error {
  background: var(--red);
}
.toast.warning::before {
  background: var(--red);
}
.btn#warning {
  background: var(--warning);
}
.toast.info::before, .btn#info {
  background: var(--warning);
}


.toast .column i {
  font-size: 1.75rem;
}
 
 
.toast .column span {
  font-size: 1.07rem;
  margin-left: 12px;
}
.toast i:last-child {
  color: #aeb0d7;
  cursor: pointer;
}
.toast i:last-child:hover {
  color: var(--dark);
}
.buttons .btn {
  border: none;
  outline: none;
  cursor: pointer;
  margin: 0 5px;
  color: var(--light);
  font-size: 1.2rem;
  padding: 10px 20px;
  border-radius: 4px;
}

@media screen and (max-width: 530px) {
  .notifications {
    width: 95%;
  }
  .notifications .toast {
    width: 100%;
    font-size: 1rem;
    margin-left: 20px;
  }
  .buttons .btn {
    margin: 0 1px;
    font-size: 1.1rem;
    padding: 8px 15px;
  }
}
