:root {
  --mainColor: #eaeaea;
  --secondaryColor: #fff;

  --borderColor: #c1c1c1;

  --mainText: black;
  --secondaryText: #4b5156;

  --themeDotBorder: #24292e;
  --previewBg: #c1c1c1;
  --previewShadow: #f0ead6;

  --buttonColor: black;
}

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

body {
  /* background-image: linear-gradient(120deg, #f6d365, #f07c5d); */
  background-image: linear-gradient(
    120deg,
    var(--mainColor),
    var(--secondaryColor)
  );
  color: white;
  font-family: "Poppins", sans-serif;
  min-height: 100vh;
}

header {
  font-size: 1.5rem;
}

header,
form {
  min-height: 20vh;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
}

todo-input {
  min-width: 30%;
}

form input,
form button {
  padding: 0.5rem;
  font-size: 2rem;
  border: none;
}

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

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

.input-container {
  display: flex;
  flex-wrap: wrap;
}

.form-input {
  display: flex;
  flex-wrap: nowrap;
}
.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.4s ease;
}

.todo li {
  flex: 1;
}

.trash-btn,
.complete-btn {
  background: #ff6f47;
  color: white;
  border: none;
  padding: 1rem;
  font-size: 1rem;
  max-width: 3rem;
}

.complete-btn {
  background: rgb(73, 204, 79);
}

.trash-btn:hover {
  color: #ff6f47;
  background: white;
}

.complete-btn:hover {
  color: rgb(73, 204, 79);
  background: white;
}

.todo-item {
  padding: 0rem 0.5rem;
}

.fa-check,
.fa-trash {
  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;
  outline: none;
  border: none;
}

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

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

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

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

.notes p {
  text-align: center;
  color: var(--mainText);
}

.copyright {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem;
}

@media screen and (max-width: 800px) {
  header {
    min-height: 15vh;
  }
  form input,
  form button {
    padding: 0.5rem;
    font-size: 1.5rem;
    border: none;
  }

  .todo {
    font-size: 1.5rem;
  }
}
