* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background: linear-gradient(-45deg, #ee7752, #e73c7e, #08465c, #09725a);
  background-size: 400% 400%;
  animation: gradient 10s ease infinite;
  color: whitesmoke;
  font-family: "Poppins", sans-serif;
  min-height: 100vh;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}


header {
  font-size: 1rem;
  color: whitesmoke;
}

header,
form {
  min-height: 20vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
form input,
form button {
  padding: 13px 15px;
  font-size: 20px;
  font-style: italic;
  border: none;
  background: whitesmoke;
}

form button {
  color: black;
  background: whitesmoke;
  cursor: pointer;
  transition: all 0.5s ease;
}
form button:hover {
  color: whitesmoke;
  background: black;
}

.todo-container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.todo-list {
  list-style: none;
  min-width: 25%;
}
.todo-div {
  margin: 10px;
  background: whitesmoke;
  color: black;
  font-size: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.5s ease;
}
.todo-div li {
  flex: 1;
}

.completed-btn,
.trash-btn {
  padding: 13px 18px;
  background: red;
  color: whitesmoke;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.completed-btn {
  background:green;
}
.todo-item {
  padding: 0rem 0.5rem;
}
.fa-trash,
.fa-check {
  pointer-events: none;
}
.completed {
  text-decoration: line-through;
  opacity: 0.5;
}
.fall {
  transform: translateY(8rem) rotateZ(20deg);
  opacity: 0;
}

select{
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border:none;
  outline: none;
  color: black;
  width:10rem;
  cursor: pointer;
  padding: 0.5rem;
}
.select{
  margin: 1rem;
  position: relative;
  overflow: hidden;
}
.select::after{
  content: "\25BC";
  background: black;
  position:absolute;
  right: 0;
  padding-bottom: 0.5rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  padding-top: 0.4rem;;
  pointer-events: none;
  pointer-events: none;
  transition: all 0.3s ease;
}
.select:hover::after{
  background: whitesmoke;
  color: black;
}