body{
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
     background: radial-gradient(circle at top, #1e293b, #020617);
     position: relative;
}
.container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid black;
    width: 400px;
    height: auto;
    border-radius: 10px;
}
.addtask{
    background:radial-gradient(circle at top, #1e293b, #441e4c);
    border: 2px solid black;
    margin: 10px;
    padding: 10px;
    border-radius: 10px;
    font-size: 18px;

    
}
.input{
    margin: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.taketask{
    padding: 2px 25px 2px 5px;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    flex : 1;
    min-width: 0;
}
.addbtn{
    font-size: 18px;
    padding: 2px 5px;
    border: none;
    border-radius: 5px;
    white-space :nowrap;
}
.addbtn:hover{
    cursor: pointer;
}
.alltasks{
    font-size: 18px;
    border: 2px solid black;
    border-radius: 5px;
    padding: 10px;
    margin: 10px;
}
.addtask,
.alltasks {
  min-width: 90%;
  max-width: 90%;
}
.tasks li {
    list-style-position: inside;
    margin: 2px;
    padding: 5px;
    background: linear-gradient(135deg, #1c2433, #111827);
    color: #e5e7eb;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 5px;
    font: 18px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    display: flex;
    justify-content: space-between;
    overflow: auto;
}
li:hover {
  background: linear-gradient(135deg, #24304a, #182036);
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.25);
}
li::marker {
  color: #a855f7;   
}
.tasks button {
    background-color: #3f0e0e;
    color: lightpink;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    max-height: 20px;
}
.clear{
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 18px;
    border-radius: 5px;
    border: none;
    background-color: red;
    cursor: pointer;
}
.remove-all {
  background-color: #e53935;   
  color: #ffffff;              
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-weight: 600;
  cursor: pointer;
}
.remove-all:hover {
  background-color: #d32f2f;  
}
body {
  font-family: "Poppins", "Segoe UI", sans-serif;
}

@media (max-width: 480px) {
  .input {
    gap: 6px;
  }

  .addbtn {
    padding: 6px 10px;
    font-size: 14px;
  }
}


