:root {
  --color-primary: red;
  --color-bg: linear-gradient(120deg, #e2c35d, #d88771);
  --font-family: "Poppins", sans-serif;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  color: #fff;
  background-image: var(--color-bg);
  font-family: var(--font-family);
  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-color: #fff;
}

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

.todo-container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.todo-list {
  min-width: 30%;
  list-style: none;
}
.todo {
  margin: 0.5rem;
  background-color: #fff;
  color: #000;
  font-size: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all .3s ease;
}
.todo li {
  flex: 1;
  padding: 0 .5rem;
}
.trash-btn,
.complete-btn {
  background-color: #ff6f47;
  color: #fff;
  border: none;
  padding: 1rem;
  cursor: pointer;
  font-size: 1rem;
}
.complete-btn {
  background-color: #21c02e;
}
/* to be able to click 'through' the icon */
.fa-trash,
.fa-check {
  pointer-events: none;
}

.completed {
  text-decoration: line-through;
  opacity: .6;
}
.fall {
  transform: translateY(8rem) rotateZ(20deg);
  opacity: 0;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: none;
  border: none;
}
.select {
  margin: 1rem;
  position: relative;
  overflow: hidden;
}
select {
  color: #d88771;
  width: 11rem;
  cursor: pointer;
  padding: 1rem;
  font-size: 1rem;
}
.select::after {
  /* Add the arrow back */
  content: "\25BC";
  position: absolute;
  background-color: #d88771;
  top: 0;
  right: 0;
  padding: 1rem;
  /* to be able to click 'through' the icon */
  pointer-events: none;
  transition: .3s all ease;
}
.select:hover::after {
  color: #d88771;
  background-color: #fff;
}