*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-image: url("todo.jpg");
  background-repeat:  no-repeat;
  background-color: #cccccc;
  
}

body{
  
   font-family: 'Roboto', sans-serif;
   min-height: 1rem;
}

header{
  color: white;
  font-size: 1.5rem;
  font-family: 'Dancing Script', cursive;
  
}

header,
form{
  min-height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 25px;
}

form input{
  padding: 6px;
  font-size: 1.5rem;
  border:none;
  background: white;
  
}

form button{
  padding: 6px;
  font-size: 1.5rem;
  color: coral;
  background: rgb(255, 255, 255);
  cursor: pointer;
  transition:all 0.3s ease;
  border:none;
}

form button:hover{
  background: coral;
  color: white;
}

.todo-container{
  display: flex;
  justify-content: center;
  align-items: center;
}

.todo-list{
  min-width: 30%;
  list-style: none;
}

.todo{
  margin: 0.5rem;
  background: white;
  color: black;
  font-size: 1.25rem;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.5s ease;
  width: 23rem;
}
.todo li{
  flex:1;
}

.delete-btn{
  
  color: rgb(0, 0, 0);
  border: none;
  padding: 8px;
  cursor: pointer;
  font-size: 10px;
  background-color: white;
}

.update-btn{
  color: rgb(0, 0, 0);
  border: none;
  padding: 8px;
  cursor: pointer;
  font-size: 10px;
  background-color: white;
}

.todo-item{
  padding: 0rem 0.5rem;
}

.fa-check,
.fa-trash,.fa-edit{
  pointer-events: none;
}
@media (min-width: 320px) and (max-width: 480px) {
  
  form input{
    margin-left:15px;
    width:75%;
  }
  .deleteallbtn{
    margin-right: 15px;
  }
  .todo{
    width: 20rem;
  }
}
