@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

* {
  margin: 0;
  padding: 0;
  font-family: "poppins", sans-serif;
}

body {
  background: #ffff;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 100vh;
  width: 100vw;
}

.title {
  font-size: 30px;
  font-weight: 600;
  color: blue;
  letter-spacing: 1px;
  margin: 30px 0;
}

.todo-list {
  width: 500px;
  padding: 10px;
  box-shadow: 0 10px 40px black;
  border-radius: 5px;
  background-color: #ffff;
}

.list-head {
  display: grid;
  grid-template-columns: 4fr 1fr;
  gap: 20px;
}

.entered-list {
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 16px;
}

.add-list {
  border: none;
  border-radius: 10px;
  background-color: rgb(34, 6, 133);
  outline: none;
  font-size: 16px;
  color: #ccc;
  cursor: pointer;
  opacity: 0.6; /*bu elemtni xiraroq qilib ko'rsatadi*/
  pointer-events: none;
}

.add-list.active {
  opacity: 1;
  pointer-events: all;
}

.tasks {
  width: 100%;
  margin-top: 30px;
}

.item {
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 10px 30px rgb(0, 0, 0, 0.1);
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.item p {
  font-size: 16px;
  font-weight: 500;
  color: #111;
  letter-spacing: 1px;
}
.item.completed p {
  text-decoration: line-through;
  color: #11111180;
}

.item-btn {
  display: flex;
  align-items: center;
  gap: 10px;
}

.item-btn i {
  color: blue;
  font-size: 18px;
  cursor: pointer;
}
