/*style css*/
body{
    background-color:bisque
}

.card{
    background-color: pink;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 15px;
}

.list-group{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.completed{
    text-decoration: line-through;
    color:olivedrab;
}

.btn{
    color:wheat;
    cursor: pointer;
    
}


.list-group {
  width: 100%;
}

.list-group-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  border-radius: 10px;
  margin-top: 10px;
  background-color: #fff;
}

.card {
  background-color: #ffc8d0;
  border-radius: 20px;
  max-width: 600px;
  width: 100%;
  margin: 20px auto;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/*.card {
  background-color: #ffc8d0;
  border-radius: 20px;
  max-width: 600px;
  margin: auto;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}*/
#taskList {
  margin-top: 15px;
}

/* For small screens like phones */
@media (max-width: 576px) {
  h2 {
    font-size: 1.4rem;
  }

  #taskInput {
    font-size: 0.9rem;
    padding: 0.6rem;
  }

  .btn {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  .list-group-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .list-group-item div {
    margin-top: 8px;
  }
}
