*
{
    margin:0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background: linear-gradient(120deg,rgb(101, 221, 97),dodgerblue);
    color: white;
    font-family: 'Montserrat', sans-serif;
    min-height: 100vh;/*the body is of 20vh*/
    
}
header{
    font-size: 1.5rem;
}

header,form{
    min-height: 20vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
form input, form button{
    padding: 0.5rem;
    font-size: 2rem;
    border: none;
    background: white;
  
}

form button{
    color:#d88771;
    cursor: pointer;
    background: white;
    transition: all 0.3s ease;
}
form button :hover{
    background:#d88771;
    color: white;
}
.todo-container
{
display: flex;
justify-content: center;
align-items: center;
}
.todo-list
{
  
    min-width: 30%;
    list-style: none;
}

.todo
{
    background-color: white;
    color: black;
    margin: 0.5rem;
    font-size: 1.5rem;
    display:flex;
    justify-content: space-between;
    align-items: center;

}
.todo li{
    flex: 1;
}

.trash-btn, .completed-btn
{
    background:#ff6f47;
    color: white;
    border: none;
    padding: 1rem;
    cursor:pointer;
    font-size: 1rem;
}
.completed-btn
{
    background-color: rgb(73,204,73);
}
.todo-item
{
    padding:0rem 0.5rem;
}
.fa-trash,
.fa-check
{
    pointer-events: none;/*means that the kuch bhi karle click toh nhi karne dunga on the icon */
}
.completed
{
    background-color: rgba(255,255,255,0.4);
}