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

body {
  background-image: linear-gradient(120deg, #f6d365, #fda085);
  color: rgb(146, 74, 26);
  font-family: "Poppins" ,sans-serif;
  min-height: 100vh;
}

header {
  font-size: 20px;
}

header,form{
  min-height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

form input,
form button {
  padding: 8px;
  font-size: 30px;
  border: none;
  background: white;
}

form button{
  color :#d88771;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
}
form button:hover{
  color :white;
  background:#d88771 ;
}

.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.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.todo li {
  flex: 1;
}

.delete-btn,
.complete-btn{
  background: #d26243;
  color: white;
  border: none;
  padding: 1rem;
  cursor: pointer;
  font-size: 1rem;
}
.complete-btn{
  background: rgb(106, 222, 106);
}

.todo-item {
  padding: 0px 8px;
}

.fa-trash,
.fa-check{
  pointer-events: none;
}

.completed{
  text-decoration: line-through;
  opacity: 0.5;
}

.fall {
  transform: translateY(8rem) rotateZ(20deg);
  opacity: 0;
}