*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* border: 1px solid red; */
}

body {
  background-color: rgb(248, 245, 245);
}

.container {
  width: max-content;
  max-height: 100vh;
  overflow-y: auto;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.096);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* border: 1px solid red; */
  padding: 30px;
}

h1 {
  text-transform: uppercase;
  margin-bottom: 10px;
}

ul {
  margin-left: 20px;
  line-height: 1.5;
  /* border: 1px solid red; */
}

input {
  padding: 8px 10px;
  width: 100%;
  border: 1px solid black;
  margin-bottom: 10px;
  border-radius: 5px;
  font-size: 18px;
}

.btn {
  /* background-color: none; */
  border: none;
  background-color: rgba(0, 128, 0, 0.63);
  padding: 8px 8px;
  font-size: 18px;
  width: 100%;
  cursor: pointer;
}

.add-task-container {
  margin-bottom: 20px;
}

.completed {
  /* text-decoration: line-through; */
  opacity: 0.4;
  position: relative;
}

.completed::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  height: 1px;
  background-color: black;
  z-index: 1;
}

.jsbtn {
  margin-left: 5px;
  padding: 3px 5px;
  font-size: 16px;
}

li {
  margin-top: 15px;
  display: block;
  width: max-content;
}

.task-text {
  font-size: 18px;
}
