@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", serif;
}

body{
    background-color: rgb(104, 208, 237);
    
}

.container{
    display: flex;
    
}

.container button{
    margin: 30px 10px 10px 20px;
    
}

button{
    background: linear-gradient(312deg, rgb(0, 0, 0) 10%, rgb(122, 120, 120) 50%, rgb(244, 242, 242) 100%);
    color: azure;
    width: 150px;
    height: 7vh;
    font-size: 20px;
    font-weight: 500;
    padding: 5px;
    border: none;
    box-shadow: 10px 5px 10px   rgb(6, 6, 6, 0.6);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.8s;
}

button:hover{
    background: linear-gradient(320deg,rgb(24, 37, 134), rgb(44, 68, 250), rgb(126, 140, 241));
    border-radius: 10px;
    box-shadow: none;
    transition: all 0.8s;
}

#notification{
   position: fixed;
   display: flex;
   flex-direction: column;
   bottom: 10px;
   right: 30px;
   padding: 10px;
}

.notification{
    display: flex;
    align-items: center;
    justify-content: end;
    width: 400px;
    height: 10vh;
    padding: 10px 20px;
    box-shadow: 5px 7px 10px rgb(79, 87, 117);
    /* border: 2px solid white; */
    font-size: 16px;
    font-weight: 400;
    margin: 10px;
    border-radius: 5px;
    background-color: rgb(0, 0, 0, 0.7);
    color: white;
    position: relative;
    transform: translateX(100%);
    animation: moveleft 0.5s ease-out forwards;

}

@keyframes moveleft{
    100%{
        transform: translateX(0); 
    }
}

.notification i{
    position: absolute;
    left: 20px;
    font-size: 25px;
 }

 .notification::after{
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 5px;
    background: rgb(19, 224, 19);
    animation: anim 5s linear forwards;
 }

 @keyframes anim{
    100%{
        width: 0;
    }
 }

 .notification.error::after{
    background: red;
 }

 .notification.invalid::after{
    background: yellow;
 }