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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(to bottom right, #e0f7fa, #e6e6fa);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
  color: #333;
}

h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
}

input[type="text"] {
  padding: 12px 14px;
  width: 260px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  outline: none;
  background-color: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  margin-right: 10px;
}

button {
  padding: 12px 18px;
  margin-top: 25px;
  background-color: #6a0dad;
  color: white;
  font-size: 15px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease;
  box-shadow: 0 4px 12px rgba(106, 13, 173, 0.2);
}

button:hover {
  background-color: #5b00b3;
}

ul {
  list-style-type: none;
  margin-top: 30px;
  width: 100%;
  max-width: 400px;
  padding: 0;
}

li {
  background-color: white;
  padding: 14px 16px;
  margin-bottom: 15px;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.2s ease;
   word-break: break-word;
  overflow-wrap: break-word;
}

li:hover {
  transform: scale(1.01);
}

.delete {
  background-color: #ff4d4d;
  color: white;
  font-size: 13px;
  padding: 6px 10px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s ease;
  box-shadow: 0 2px 8px rgba(255, 77, 77, 0.3);
}

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

footer {
  margin-top: 60px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.3);
  width: 100%;
  text-align: center;
  font-size: 14px;
  color: #444;
  backdrop-filter: blur(6px);
  margin-top: 150px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

footer a {
  text-decoration: none;
  color: #6a0dad;
  margin: 0 8px;
  font-weight: 500;
}

footer a:hover {
  text-decoration: underline;
}
