/* General Styles */
body {
  background-color: #f8f9fa; /* Light background for the whole page */
  font-family: Arial, sans-serif; /* Clean and modern font */
}

/* Container Styles */
.container {
  max-width: 600px; /* Limit the container width */
  margin: 0 auto; /* Center the container */
}

/* Todo Input Section */
#todoinputclass {
  border: 1px solid #dee2e6; /* Light border around input section */
  border-radius: 0.375rem; /* Rounded corners */
  padding: 1rem; /* Add padding */
  background-color: #ffffff; /* White background */
}

/* Todo Container */
.todo-container {
  border: 1px solid #6f42c1; /* Border color */
  background-color: #ffffff; /* Background color */
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1); /* Light shadow for depth */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for hover effect */
  animation: fadeIn 0.5s ease; /* Animation for adding todos */
}

/* Animation for adding todos */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hover effect for todo items */
.todo-container:hover {
  transform: translateY(-5px); /* Lift the item */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); /* Increase shadow on hover */
}

/* Todo Text */
.todotext {
  flex: 1; /* Allows text to take available space */
  font-size: 1.125rem; /* Larger font size for better readability */
  margin-right: 1rem; /* Space between text and button */
}

/* Delete Button */
.delete-btn {
  font-size: 1rem; /* Adjust font size for better fit */
  border: none; /* Remove default border */
  background-color: #dc3545; /* Red background */
  color: #ffffff; /* White text color */
  border-radius: 0.375rem; /* Rounded corners */
  padding: 0.5rem 1rem; /* Padding for better click area */
  transition: background-color 0.3s ease, transform 0.3s ease; /* Smooth transition for hover effect */
}

/* Hover effect for delete button */
.delete-btn:hover {
  background-color: #c82333; /* Darker red on hover */
  transform: scale(1.1); /* Slightly enlarge the button */
}
