/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  background-color: #68bdff;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
}

/* Container */
.container {
  background-color: #9ba7f3;
  border-radius: 8px;
  box-shadow: rgba(240, 46, 170, 0.4) 5px 5px, rgba(240, 46, 170, 0.3) 10px 10px,
    rgba(240, 46, 170, 0.2) 15px 15px, rgba(240, 46, 170, 0.1) 20px 20px,
    rgba(240, 46, 170, 0.05) 25px 25px;
  width: 400px;
  padding: 30px;
  text-align: center;
}

/* Header */
.todo-header h2 {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 20px;
}

/* Input Field and Button */
.todo-body {
  /* display: flex; */
  justify-content: space-between;
  margin-bottom: 20px;
}

.todo-input {
  width: 100%;
  padding: 12px;
  border-radius: 5px;
  border: 1px solid #ddd;
  font-size: 1rem;
  outline: none;
  margin-bottom: 10px;
}

.todo-input:focus {
  border-color: #007bff;
}

div button {
  width: 100%;
  padding: 12px;
  border-radius: 5px;
  background-color: #007bff;
  color: white;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #0056b3;
}
.btn1{
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  border-radius: 5px;
  background-color: #f95252;
  color: white;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}
.btn1 :hover{
  background-color: #fc0000;
}

/* List */
.list-items {
  list-style-type: none;
  padding-left: 0;
  margin-top: 20px;
}

.list-items li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f9f9f9;
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s;
}

.list-items li:hover {
  background-color: #f1f1f1;
}

/* Task Text */
.list-items li div {
  font-size: 1.1rem;
  color: #333;
}

/* Icons for Actions */
.list-items .btn {
  display: flex;
  gap: 15px;
  align-items: center;
}

.list-items .btn i {
  cursor: pointer;
  color: #007bff;
  font-size: 1.2rem;
  transition: color 0.3s;
}

.list-items .btn i:hover {
  color: #ff6347;
}

.list-items .btn i:first-child {
  color: #007bff;
}

.list-items .btn i:first-child:hover {
  color: #0056b3;
}

.list-items .btn i:last-child {
  color: #007bff;
}

.list-items .btn i:last-child:hover {
  color: #0056b3;
}

/* Mobile Responsiveness */
@media (max-width: 500px) {
  .container {
    width: 90%;
    padding: 20px;
  }

  .todo-body {
    flex-direction: column;
  }

  .todo-input {
    width: 100%;
    margin-bottom: 10px;
  }

  button {
    width: 100%;
  }
}
