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

body {
  background-color: #FBDA61;
background-image: linear-gradient(to right, #FBDA61 0%, #FF5ACD 100%);
  /* background-image: linear-gradient(to right, #f6d634, #fda085); */
  font-family: Poppins;
}

header {
  color: white;
  font-size: 64px;
  font-weight: 400;
}

form input,
form button {
  padding: 0.5rem;
  font-size: 2rem;
  border: none;
  background-color: white;
  cursor: pointer;
}

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

.todo-input {
  border-radius: 2px;
}

.todo-input:focus {
  outline: none;
}

.submit-button {
  position: relative;
  right: 2px;
  color: greenyellow;
  transition: all 0.3s linear;
}

.submit-button i {
  font-size: 27px;
}

.submit-button:hover {
  background-color: aquamarine;
  color: white;
}

.category {
  appearance: none;
}

.clear-button{
  opacity: 0.8;
  background-color: white;
  /* outline:none; */
  color:crimson;
  padding:5px;
}

.clear-button:hover{
  opacity:1;
  background-color:crimson;
  color:white;
  transition: all 0.3s linear;
}

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

.todo-items {
  list-style: none;
  min-width: 30%;
  padding: 0 1rem;
}

.todo {
  background-color: white;
  margin: 0.5rem;
  color: black;
  font-size: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.5s ease;
}

.todo li {
  flex: 1;
}

.complete-btn {
  font-size: 1.5rem;
  background-color: lightgreen;
  color: white;
  border: none;
  padding: 0.5rem;
}
.trash-btn {
  color: white;
  background-color: red;
  font-size: 1.5rem;
  border: none;
  padding: 0.5rem;
}

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

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

.clear-effect {
  opacity: 0;
}

select {
  appearance: none;
  border: none;
  outline: none;
  width: 10rem;
  cursor: pointer;
  color: #fda085;
  padding: 1rem;
}

.selection-menu {
  position: relative;
  margin: 1rem;
  overflow: hidden;
}

.selection-menu::after {
  color: white;
  background-color: #ff6f47;
  content: "\25BC";
  position: absolute;
  top: 0;
  right: 0;
  pointer-events: none;
  padding: 1rem;
  transition: all 0.3s linear;
}

.selection-menu:hover::after {
  background-color: white;
  color: lightgreen;
}
