/* Background and text colors */
body {
  background-color: #f8f4f0; /* Cream background */
  background-image: url('https://www.transparenttextures.com/patterns/paper-fibers.png');
  color: #2b2b2b; /* Deep grey text */
  font-family: "Georgia", serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

/* Header */
header {
  background-color: #5a1f28; /* Dark burgundy */
  padding: 20px;
  text-align: center;
}

header h1 {
  color: #f8f4f0; /* Cream */
  margin: 0;
  font-size: 2rem;
}

nav a {
  color: #f8f4f0; /* Cream */
  margin: 0 10px;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  color: #8b2e3d; /* Rich burgundy */
}

/* Main Content */
main {
  max-width: 800px;
  margin: auto;
  padding: 20px;
}

/* Footer */
footer {
  background-color: #3b141a; /* Almost black burgundy */
  padding: 10px;
  text-align: center;
  color: #f8f4f0; /* Cream */
  font-size: 0.9rem;
}

/* Links */
a {
  color: #8b2e3d; /* Rich burgundy */
}

a:hover {
  text-decoration: underline;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f8f4f0; /* Cream background */
}

::-webkit-scrollbar-thumb {
  background-color: #8b2e3d; /* Rich burgundy */
  border-radius: 5px;
  border: 2px solid #f8f4f0; /* Cream border */
}

::-webkit-scrollbar-thumb:hover {
  background-color: #a74251; /* Lighter burgundy */
}

/* ===== To-Do List Styles ===== */

.todo-container {
  background: #fff7f6; /* Soft pinky cream */
  border: 2px solid #8b2e3d; /* Rich burgundy */
  border-radius: 10px;
  padding: 20px;
  max-width: 500px;
  margin: 30px auto;
  box-shadow: 4px 4px 8px rgba(139, 46, 61, 0.3);
}

.todo-container h3 {
  color: #5a1f28; /* Dark burgundy */
  margin-bottom: 15px;
  font-size: 1.5rem;
  text-align: center;
  font-family: "Georgia", serif;
}

#todo-input {
  width: 70%;
  padding: 10px;
  border: 2px solid #8b2e3d; /* Rich burgundy */
  border-radius: 5px;
  font-size: 1rem;
  font-family: "Georgia", serif;
  margin-right: 10px;
  outline: none;
}

#todo-input:focus {
  border-color: #a74251; /* Lighter burgundy */
}

#add-btn {
  background-color: #8b2e3d; /* Rich burgundy */
  color: #f8f4f0; /* Cream */
  border: none;
  padding: 11px 20px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-family: "Georgia", serif;
}

#add-btn:hover {
  background-color: #a74251; /* Lighter burgundy */
}

#todo-list {
  list-style: none;
  padding-left: 0;
  margin-top: 20px;
  font-family: "Georgia", serif;
}

#todo-list li {
  background: #f9e8e8; /* Pale pink cream */
  color: #5a1f28; /* Dark burgundy */
  border-left: 5px solid #8b2e3d; /* Rich burgundy */
  margin-bottom: 12px;
  padding: 10px 15px;
  border-radius: 5px;
  font-size: 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#todo-list li button {
  background: transparent;
  border: none;
  color: #5a1f28; /* Dark burgundy */
  font-size: 1.2rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

#todo-list li button:hover {
  color: #a74251; /* Lighter burgundy */
}