/* Import font */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: linear-gradient(135deg, #74abe2, #5563de);
}

.todo-container {
  background-color: #fff;
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  padding: 30px 20px;
}

.title {
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
}

.input-section {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.todo-input {
  flex: 1;
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s;
}

.todo-input:focus {
  border-color: #5563de;
}

.add-btn {
  padding: 12px 20px;
  background-color: #5563de;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s;
}

.add-btn:hover {
  background-color: #4350b5;
}

.todo-list {
  list-style: none;
}

.todo-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  margin-bottom: 10px;
  background-color: #f7f7f7;
  border-radius: 8px;
  transition: background-color 0.3s;
}

.todo-item span {
  font-size: 1rem;
  color: #333;
}

.todo-item:hover {
  background-color: #e0e0e0;
}

.delete-btn {
  background-color: transparent;
  border: none;
  color: #ff4d4f;
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform 0.2s;
}

.delete-btn:hover {
  transform: scale(1.2);
}
