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

body {
  background-image: linear-gradient(120deg, #f0e96ed5, #ff6f47);
  color: white;
  font-family: "Poppins", sans-serif;
  min-height: 100vh;
}

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;
  outline: none;
  border-radius: 8px;
  margin-right: 5px;
}

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

form button:hover {
  color: white;
  background: #f0a747;
}

form button:active {
  opacity: 0.2;
  color: #f0a747;
}

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

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

.todo {
  margin: 0.3rem 0.5rem;
  background: white;
  color: black;
  display: flex;
  font-size: 1.2rem;
  justify-content: space-between;
  align-items: center;
  border-radius: 8px;
}

.todo li {
  flex: 1;
}

.trash-btn,
.complete-btn {
  background: #f38f0b;
  color: white;
  border-style: solid;
  border-width: 1px;
  cursor: pointer;
  font-size: 1rem;
  padding: 0.6rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  margin-right: 0.5rem;
}
.trash-btn {
  border-color: #f38f0b;
  transition: all 0.3s ease;
}

.trash-btn:hover {
  background-color: white;
  color: #f38f0b;
}
.trash-btn:active {
  opacity: 0.3;
}

.complete-btn {
  background-color: rgb(96, 179, 58);
  border-color: rgb(96, 179, 58);
}

.complete-btn:hover {
  color: rgb(69, 138, 36);
  background-color: white;
  border: 1px;
  border-style: solid;
  transition: all 0.3s ease;
}
.complete-btn:active {
  opacity: 0.3;
  color: rgb(69, 138, 36);
}

.todo-item {
  padding: 0rem 0.5rem;
  min-width: 350px;
  margin: 0.4rem;
}

.checked {
  color: black;
  text-decoration-line: line-through;
  opacity: 0.6;
  transition: all 0.3s ease;
}

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

.fall {
  transform: translateY(8rem) rotateZ(20deg);
  opacity: 0;
  transition: all 0.5s ease;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: none;
  border: none;
}

.select {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

select {
  color: #f38f0b;
  width: 10rem;
  cursor: pointer;
  padding: 1rem;
}

.select::after {
  content: "\25BC";
  position: absolute;
  background: #f38f0b;
  top: -4px;
  right: -2px;
  padding: 1rem;
  pointer-events: none;
  transition: all 0.3s ease;
  border-radius: 10px;
}

.select:hover::after {
  background: white;
  color: #f38f0b;
}
.select:active {
  opacity: 0.8;
}

.final-div {
  min-width: 45%;
  background-color: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.wrong-input {
  border-style: solid;
  border-color: red;
}

.wrong-entry-div {
  display: flex;
  justify-content: center;
  color: red;
}
