*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

}
body{
    background-color: #f2f2f2;
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.button{
    padding: 12px 24px;
    border: none;
    outline: 0;
    background-color: #06be59;
    color: #f2f2f2;
    font-size: 18px;
    font-weight: 500;
    border-radius: 15px;
    cursor: pointer;
}
.toast{
    position: absolute;
    top: 25px;
    right: 20px;
    display: flex;
    align-items: center;
    border-radius: 12px;
    background-color: #fff;
    padding: 20px 35px 20px 25px;
    border-left: 6px solid #4070f4;
    box-shadow: 0px 5px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transform: translateX(calc(100% + 30px));
    transition: all 0.5s cubic-bezier(0.68, -0.55, 2.65, 1.35);
}
.toast.active{
    transform: translateX(0%);
}
.toast .toast-content{
    display: flex;
    align-items: center;
    
}
.toast-content .fa-check{
    width: 35px;
    height: 35px;
    background-color: #4070f4;
    border-radius: 50%;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    
}
.toast .progress{
    position: absolute;
    background-color: #ddd;
    bottom: 0;
    width: 100%;
    height: 3px;
    left: 0;
}
.toast .progress:before{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    right: 0;
    background-color: #4070f4;
}
.progress.active:before{
    animation: progress 5s linear forwards;
}
@keyframes progress {
    100%{
        right: 100%;
    }
}
.message{
    display: flex;
    flex-direction: column;
    margin: 0 20px;
}
.toast .fa-xmark{
    color: #333;
    position: absolute;
    top: 10px;
    right: 15px;
    padding: 5px;
    cursor: pointer;
    opacity: 0.7;
}
.toast .fa-xmark:hover{
    opacity: 1;
}
.message .text{
    font-size: 17px;
    font-weight: 500;
}