/* General Styles */
body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  background-color: #f5f7fa;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.App {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}

.container {
  background-color: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  max-width: 450px;
  width: 100%;
  box-sizing: border-box;
  transition: transform 0.3s ease;
}

/* Hover Effect on Container */
.container:hover {
  transform: scale(1.03);
}

/* Title */
.title {
  font-size: 2.5rem;
  color: #333;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 600;
}

/* Form */
.add-task {
  display: flex;
  gap: 10px;
}

.input {
  flex: 1;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.input:focus {
  border-color: #4caf50;
  outline: none;
}

.add-button {
  background-color: #4caf50;
  color: white;
  border: none;
  padding: 15px 20px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.add-button:hover {
  background-color: #45a049;
  transform: scale(1.05);
}

/* Task List */
.task-list {
  list-style-type: none;
  padding: 0;
  margin-top: 30px;
}

.task-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  border-radius: 10px;
  margin-bottom: 15px;
  background-color: #fafbfc;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.task-item:hover {
  background-color: #f1f3f5;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.task {
  font-size: 1.1rem;
  cursor: pointer;
  color: #333;
  transition: color 0.3s ease;
}

.task-completed {
  text-decoration: line-through;
  color: #999;
}

.task:hover {
  color: #4caf50;
}

/* Delete Button */
.delete-button {
  background-color: transparent;
  color: #ff6b6b;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 5px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.delete-button:hover {
  color: #ff3b3b;
  transform: scale(1.2);
}
