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

a {
  all: unset;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
}

.main {
  max-width: 800px;
  margin: 30px auto 30px auto;
  padding: 20px;
  box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.2);
}

.additem {
  margin: 20px 0px;
}

.newitem {
  width: 100%;
  padding: 5px;
  font-size: 1.5rem;
  outline: none;
  margin-bottom: 5px;
}

.btn {
  width: 100%;
  background-color: blue;
  color: white;
  font-size: 1.5rem;
  padding: 5px;
  border: 0px;
  border-radius: 5px;
  cursor: pointer;
  border: 2px solid blue;
}

.item {
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  align-items: center;
  grid-gap: 10px;
  padding: 10px;
  margin: 10px 0px;
  border-radius: 5px;
  background-color: white;
  box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.2);
}

.delete {
  width: 36px;
  height: 36px;
  background-color: red;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1.5rem;
  cursor: pointer;
}

.checked,
.unchecked {
  width: 36px;
  height: 36px;
  padding: 0;
  color: white;
  background-color: white;
  border-radius: 5px;
  font-size: 1.5rem;
  cursor: pointer;
}

.checked {
  border: 2px solid lightgray;
  color: lightgray;
}

.unchecked {
  border: 2px solid black;
}

.spanChecked {
  color: lightgray;
  text-decoration: line-through;
}

.tab {
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
}

/* Style the buttons that are used top open the tab content */
.tab a {
  text-decoration: none;
  font-size: 1.5rem;
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
}

/* Change background color of buttons on hover */
.tab a:hover {
  background-color: #ddd;
}

/* Create an active/current tablink class */
.tab a.active {
  background-color: #ccc;
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-top: none;
}
