input{
    border: none;
    border-radius: 20px;
    padding: 2px 15px;
    transition: all 0.2s ease;
}
input:focus{
    outline: none;
    background-color: gray;
    color: white;   
}
input:focus::placeholder{
    color: white;
}
li{
    display: flex;
    align-items: center; 
    animation: add 0.5s;
}
ul{
    margin: auto;
}
body{
    font-family: Arial;
    font-size: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: linear-gradient(rgb(170, 178, 214), rgb(140, 175, 153));
    background-repeat: no-repeat;
    min-height: 100vh;
    background-attachment: fixed;
}


button{
    border: none;
    border-radius: 20px;
    background-color: gray;
    color: white;
    padding: 2px 15px;
    transition: all 0.2s ease;
    margin: 5px;
}
button:hover{
    transform: scale(1.1) translateY(3px);
}

/*Animações*/

@keyframes error{
    30%{
        transform: translateX(10px);
    }
    70%{
        transform: translateX(-10px);
    }
    100%{
        transform: translateX(0px);
    }
}



@keyframes add{
    0%{
        opacity: 0;
        transform: translateY(10px);
    }
    100%{
        opacity: 1;
        transform: translateY(0);
    }


}

@keyframes remove{
    0%{
        opacity: 1;
        transform: translateY(0px);
    }
    100%{
        opacity: 0;
        transform: translateY(-10px);
    }
}


.error{
    animation: error 0.5s;
}

.remove_anim{
    animation: remove 0.5s;
}


