* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgb(213, 209, 164);
  font-family: sans-serif;
  padding: 20px;
  flex-direction: column;
}

.todo-container {
  background: rgb(218, 229, 251);
  padding: 30px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 800px;
}

h1 {
  text-align: center;
  margin-bottom: 60px;
  margin-top: 60px;
  font-size: 40px;
  color: #333;
}

h2 {
  text-align: center;
  margin-bottom: 20px;
  margin-top: 25px;
  font-size: 30px;
  color: #333;
}

h3 {
  text-align: left;
  margin-bottom: 7px;
  margin-top: 10px;
  font-size: 18px;
  color: #333;
}

#type-input, #local-input, #date-input, #complemento-input {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 18px;
}

.btn {
  width: 100%;
  padding: 10px;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

#add-task-btn {
  background: #af4c4c;
  margin-bottom: 50px;
}
#add-task-btn:hover {
  background: #890606;
}

#save-tasks-btn {
  background: #4caf50;
}
#save-tasks-btn:hover {
  background: #036406;
}

#task-list {
  list-style: none;
  margin-top: 20px;
}

#task-list li {
  background: #e3e3e3;
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
  cursor: pointer;
}

#task-list li:hover {
  background: #f1f1f1;
}

.done {
  text-decoration: line-through;
  color: rgb(255, 172, 172);
}

.delete-btn {
  background: #ff4d4d;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s;
}

.delete-btn:hover {
  background: #e60000;
}

.inative-btn {
  background: #ffda36;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s;
}

.inative-btn:hover {
  background: #e6c000;
}