body {
  height: 100vh;
  background: url(codingImg.jpg) no-repeat center center/cover;
  display: flex;
  /* justify-content: center; */
  align-items: center;
  font-family: Helvetica, sans-serif;
  flex-direction: column;
  overflow: hidden;
}

.overlay {
  position: absolute;
  inset: 0;
  height: 110vh;
  z-index: -1;
  background-size: cover;
  background-color: rgba(0, 0, 0, 0.5);
}

.container {
  max-width: 400px;
}

p {
  font-size: 40px;
  color: rgb(255, 255, 255);
  text-decoration: 4px underline rgb(73, 166, 206);
  text-underline-offset: 30px;
  font-weight: 900;
}

#add-task-container {
  max-width: 400px;
  background: #fff;
  padding: 20px 20px;
  box-shadow: 0 0 3px;
  position: relative;
  display: flex;
  margin-bottom: 5px;
}

input {
  flex: 5;
  margin-right: 10px;
  font-size: 1.2rem;
  padding: 5px 10px;
  outline: none;
  border: 1.5px solid rgb(73, 166, 206);
}

#add-task {
  font-size: 1.2rem;
  padding: 5px 10px;
  flex: 1;
  background: white;
  transition: 0.3s;
  /* border: 1.5px solid rgb(73, 166, 206) ; */
  border: none;
  color: white;
  outline: none;
  background-color: rgb(73, 166, 206);
}

#add-task:hover {
  background: cadetblue;
  color: white;
  cursor: pointer;
}

/* styling for value */
.task {
  max-width: 400px;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  background-color: white;
  max-width: 400px;
  list-style: none;
  margin-bottom: 5px;
  display: flex;
  justify-content: space-between;
  overflow: hidden;
  box-shadow: 0 0 5px;
}
.task li {
  max-width: 400px;
  list-style: none;
  flex: 4;

  flex-wrap: wrap;
  display: flex;
  padding: 10px 15px;
}

.task button {
  flex: 1;
  background-color: #fff;
  cursor: pointer;
}

.task .checkTask {
  background-color: rgb(61, 255, 47);
  /* border: 1.5px solid rgb(73, 166, 206); */
  border: none;
  color: white;
  width: 50px;
  height: 50px;
  display: block;
  margin: auto;
  margin-right: 5px;
}

.task .deleteTask {
  background-color: rgb(255, 154, 47);
  border: none;
  color: white;
  width: 50px;
  height: 50px;
  justify-content: center;
  align-items: center;
  margin: auto;
  margin-right: 5px;
}

@media (max-width: 768px) {
  body {
    background: url(codingImg.jpg) no-repeat center center/cover;
  }
  p {
    top: 100px;
    font-size: 40px;
  }
}

@media (max-width: 400px) {
  input {
    max-width: 180px;
    flex: 5;
    margin-right: 10px;
    font-size: 1.2rem;

    outline: none;
    border: 1.5px solid rgb(73, 166, 206);
  }
  body {
    background: url(codingImg.jpg) no-repeat center center/cover;
  }
}
