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

body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #191970, #6a0dad);
  color: white;
  height: 100vh;
  display: flex;
  justify-content: center;
  padding-top: 30px;
}

.container {
  width: 90%;
  max-width: 1200px;
  text-align: center;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px #000;
}

form {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

input[type="text"] {
  width: 60%;
  padding: 12px;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
}

button[type="submit"] {
  padding: 12px 20px;
  background-color: #ff6ec4;
  border: none;
  border-radius: 10px;
  color: white;
  cursor: pointer;
  transition: 0.3s;
  font-size: 1rem;
}

button[type="submit"]:hover {
  background-color: #f94892;
}

.task-scroll-container {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 20px;
}

.scroll-btn {
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  padding: 10px;
}

.task-list {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding: 20px;
  scroll-behavior: smooth;
  width: 100%;
}

.task-card {
  background-color: rgba(255, 255, 255, 0.1);
  border: 2px solid #ffffff3a;
  color: white;
  padding: 15px 20px;
  border-radius: 15px;
  min-width: 200px;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s;
}

.task-card:hover {
  transform: scale(1.05);
}
