* {
  margin: 0;
  padding: 0;
  background-color: #d7caca17;
}


nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  gap: 0.5rem;
}

nav a {
  display: inline-block;
  min-width: 9rem;
  padding: 0.5rem;
  border-radius: 0.2rem;
  border: solid 1px rgb(22, 22, 22);
  text-align: center;
  text-decoration: none;
  background-color: rgb(135, 206, 235);
  color: #000;
}

nav a[aria-current='page'] {
  color: #000;
  background-color: #d4d4d4;
}

.title {
  text-align: center;
  padding: 10px;
  font-size: 50px;
  font-weight: 600;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-style: oblique;
}

.CreateTaskbtn {
  display: inline-block;
  min-width: 8rem;
  padding: 5px;
  border-radius: 10px;
  border: solid 1px rgb(22, 22, 22);
  text-align: center;
  background-color: rgb(135, 206, 235);
  color: #000;
}

.CreateTaskbtn:hover {
  cursor: pointer;
  background-color: beige;
  transition: .5s;
}

.CreationPane {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 10px 15px;
  background-color: #ebcdcd89;

}

.CreationPane div {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 10px 15px;
}

.CreationPane button,
.listofTasks button {
  padding: 5px 10px;
  border-radius: 10px;
  border: solid 1px rgb(22, 22, 22);
  text-align: center;
  background-color: rgb(135, 206, 235);
  color: #000;
}

.CreationPane button:hover,
.listofTasks button:hover {
  cursor: pointer;
  background-color: beige;
  transition: .5s;
}

main {
  padding: 0px 8px;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  row-gap: .4rem;
}

.tasks {
  background-color: #d7caca69;
  border-radius: 4px;
  padding-bottom: 10px;
}

.tasks h1 {
  padding: 10px;
  font-size: 30px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.listofTasks {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  padding: 0px 10px;
  row-gap: 0.5rem;
}

.listofTasks li {
  list-style-type: none;
}

.listofTasks div {
  border-radius: 4px;
  background-color: #d4d4d4;
  padding: 10px;
  display: flex;
  flex-wrap: wrap;
  row-gap: 1rem;
  gap: .5rem;
  justify-content: left;
  align-items: center;
}

.liitem input:checked+label {
  text-decoration: line-through;
}