@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

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

body {
  background-color: #fdfefe;
  font-family: "Poppins", sans-serif;
}

.container {
  width: 80%;
  max-width: 600px;
  margin: 20px auto;
  padding: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  background-color: #d4e6f1;
}

.container h1 {
  text-align: center;
  margin-bottom: 15px;
}

.input-box {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.todo-input {
  width: 75%;
  max-width: 500px;
  padding: 10px;
  margin-right: 10px;
  font-size: 20px;
  flex-grow: 1;
  border-radius: 5px;
}

.todo-input:focus {
  outline: 1px solid #2e86c1;
}

.add-btn {
  width: 20%;
  padding: 10px;
  font-size: 20px;
  font-weight: 600;
  background-color: #00a2ff;
  color: #fff;
  cursor: pointer;
  border-radius: 5px;
}

.add-btn:hover {
  background-color: #2e86c1;
}

.todo-list {
  list-style-type: none;
  padding-left: 0;
}

.todo-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fdfefe;
  padding: 0 10px;
  margin: 10px 0;
  max-height: 40px;
  border-radius: 5px;
  cursor: pointer;
}
.todo-text {
  font-size: 18px;
  flex-grow: 1;
}

.todo-text:focus {
  outline: 1px solid #bfc9ca;
  padding: 5px;
  border-radius: 5px;
  cursor: auto;
}

.todo-list img {
  margin-left: 10px;
  height: 30px;
  width: 30px;
  margin-top: 5px;
}

@keyframes bounce {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

.todo-list img:hover {
  animation: bounce 0.5s;
}
