
.wrapper{
  position: fixed;
  bottom: 50px;
  right: 30px;
  animation: show_toast 1s ease forwards;
}
@keyframes show_toast {
  0%{
    transform: translatey(100%);
  }
  40%{
    transform: translatey(10%);
  }
  80%, 100%{
    transform: translatey(20px);
  }
}
.wrapper.hide{
  animation: hide_toast 1s ease forwards;
}
@keyframes hide_toast {
  0%{
    transform: translatey(20px);
  }
  40%{
    transform: translatey(10%);
  }
  80%, 100%{
    opacity: 0;
    transform: translatey(100%);
  }
}
.wrapper .toast{
  background: #6900e9;
  padding: 15px 25px 15px 15px ;
  border-radius: 0px;
  box-shadow: 1px 7px 14px -5px rgba(0,0,0,0.15);
  width: 320px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wrapper .toast.offline{
  border-color: #ccc;
}
.toast .content{
  display: flex;
  align-items: center;
}
.content .icon{
  font-size: 0px;
  color: #fff;
  height: 0px;
  width: 0px;
  text-align: center;
  line-height: 0px;
  border-radius: 0%;
  background:;
}
.toast.offline .content .icon{
  background: #ccc;
}
.content .details{
  margin-left: 15px;
}
.details span{
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}
.details p{
  color: #fff;
  font-size: 14px;
  line-height: 22px;
    cursor: pointer; 
    margin-bottom: 14px;
}

.details a{
  color: #fff;
  font-size: 14px;
  line-height: 16px;
  font-weight: 600;
}

.toast .close-icon{
  color: #878787;
  font-size: 0px;
  cursor: pointer;
  height: 0px;
  width: 0px;
  text-align: center;
  line-height: 0px;
  border-radius: 50%;
  background: #f2f2f2;
  transition: all 0.3s ease;
}
.close-icon:hover{
  background: #efefef;
}



@media (max-width: 768px) {
  .wrapper {
    display: none;
  }
}
