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

body {
  background-image: linear-gradient(45deg, #4390d8, #87acdd);
  color: #eeeeee;
  font-family: "Fira Sans", sans-serif;
  min-height: 100vh;
}

header {
  font-size: 1.25rem;
  text-align: center;
  padding-top: 2rem;
}

/* header, */
form {
  min-height: 12vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

form input,
form button {
  padding: 0.5rem;
  font-size: 2rem;
  background: #eeeeee;
  border: none;
  font-family: "Fira Sans", sans-serif;
}

input {
  min-width: 40%;
  margin-left: 3%;
}

.todo-input {
  border-radius: 5px 0 0 5px;
}

form button {
  color: #2043dd;
  background: #eeeeee;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-right: 3%;
  border-radius: 0 5px 5px 0;
}
form button:hover {
  background: #2043dd;
  color: #eeeeee;
}

.todo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2vh;
}

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

.todo {
  margin: 0.5rem;
  background: #eeeeee;
  color: #111111;
  font-size: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.5s ease;
  border-radius: 5px;
}

.todo li {
  flex: 1;
  padding: 0rem 0.5rem;
}

.delBtn,
.doneBtn {
  background: #c23d18;
  color: #eeeeee;
  border: none;
  padding: 1rem;
  cursor: pointer;
  font-size: 1rem;
}

.delBtn {
  border-radius: 0 5px 5px 0;
}

.doneBtn {
  background: rgb(11, 158, 11);
}

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

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

.away {
  transform: translateY(8rem) rotateZ(15deg);
  opacity: 0;
}

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

.select {
  margin: 1rem;
  position: relative;
  overflow: hidden;
}

select {
  color: #2043dd;
  width: 12rem;
  cursor: pointer;
  padding: 1rem;
}

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

.select:hover::after {
  background: white;
  color: #2043dd;
}
