@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
::selection {
  color: #ffff;
  background: rgb(142, 73, 232);
}
.main_content {
  width: 100%;
  height: 100vh;
  /* overflow: hidden; */
  padding: 10px;
  background: linear-gradient(150deg, #2be2a9 50%, #212531 50%);
}
.wrapper {
  background: #ffffff;
  max-width: 400px;
  width: 100%;
  margin: 120px auto;
  padding: 25px;
  border-radius: 5px;
  box-shadow: 0px 20px 25px rgba(0, 0, 0, 0.1);
}
.wrapper header {
  font-size: 30px;
  font-weight: 600;
}
.wrapper .inputField {
  margin: 20px 0;
  width: 100%;
  display: flex;
  height: 45px;
}
.inputField input {
  width: 85%;
  height: 100%;
  outline: none;
  border-radius: 3px;
  border: 1px solid #ccc;
  font-size: 17px;
  padding-left: 15px;
  transition: all 0.3s ease;
}
.inputField input:focus {
  border-color: #8e49e8;
}
.inputField button {
  width: 50px;
  height: 100%;
  border: none;
  color: #fff;
  margin-left: 5px;
  font-size: 21px;
  outline: none;
  background: #f37f13;
  cursor: pointer;
  border-radius: 3px;
  opacity: 0.65;
  /* pointer-events: none; */
  transition: all 0.3s ease;
}
.inputField button:hover,
.footer button:hover {
  background: #ec6307;
}
.inputField button.active {
  opacity: 1;
  pointer-events: auto;
}
.wrapper .todoList {
  max-height: 250px;
  overflow-y: auto;
}
.todoList li {
  position: relative;
  list-style: none;
  height: 45px;
  line-height: 45px;
  margin-bottom: 8px;
  background: #f2f2f2;
  border-radius: 3px;
  padding: 0 15px;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.todoList .li-true {
  background: #d8d7d7;
}

.todoList li p.strikeText-true {
  text-decoration: line-through;
}

.todoList li button {
  font-size: 1.2em;
  border: none;
  background-color: transparent;
}

.todoList li:hover .icon {
  right: 0px;
}
.wrapper .footer {
  display: flex;
  width: 100%;
  margin-top: 20px;
  align-items: center;
  justify-content: space-between;
}
.footer button {
  padding: 6px 10px;
  border-radius: 3px;
  border: none;
  outline: none;
  color: #fff;
  font-weight: 400;
  font-size: 16px;
  margin-left: 5px;
  background: #f37f13;
  cursor: pointer;
  user-select: none;
  opacity: 0.65;
  /* pointer-events: none; */
  transition: all 0.3s ease;
}
.footer button.active {
  opacity: 1;
  pointer-events: auto;
}

/* Animations */

li.ng-enter {
  transition: 0.25s linear all;
  opacity: 0;
  transform: translateY(-60px);
}
li.ng-enter.ng-enter-active {
  opacity: 1;
  transform: translateY(0px);
}

li.ng-leave {
  transition: 0.25s linear all;
  opacity: 1;
  transform: translateX(0px);
}
li.ng-leave.ng-leave-active {
  opacity: 0;
  transform: translateX(-100%);
}

/* ScrollBar */
.wrapper .todoList::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
.wrapper .todoList::-webkit-scrollbar-track {
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.1);
}
.wrapper .todoList::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.2);
}
.wrapper .todoList::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.4);
}
.wrapper .todoList::-webkit-scrollbar-thumb:active {
  background: rgba(0, 0, 0, 0.9);
}
