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

#main-container {
  height: 100vh;
  width: 100%;
  background-image: url(bg-mobile-dark.jpg);
  background-repeat: no-repeat;
  background-color: hsl(235, 21%, 11%);
  display: flex;
  justify-content: center;
  align-items: center;
}

#dialog-box {
  height: 80%;
  width: 95%;
  display: flex;
  flex-direction: column;
}

.add-task {
  height: 20%;
  display: flex;
  justify-content: center;
  align-items: center;
  /* gap: 1rem; */
}

#task-container {
  height: 90%;
  background-color: hsl(233, 14%, 35%);
  gap: 1rem;
  overflow: auto;
  box-shadow: 3px 3px 10px hsl(235, 21%, 11%);
  border-radius: 5px;
}

/* Header styling */
header {
  font-size: 3rem;
  text-align: center;
  font-weight: 500;
  font-family: Roboto, sans-serif;
  color: white;
  letter-spacing: 0.2rem;
}

/* adding task styling */
input {
  height: 3.5rem;
  width: 70%;
  border: 2px solid black;
}

input[placeholder] {
  font-size: 1.1rem;
  font-family: Roboto, sans-serif;
  font-weight: 500;
}

button {
  border: none;
  padding: 1rem 0.5rem 1rem 0.5rem;
  background-color: black;
  color: white;
  font-size: 1.1rem;
  font-family: Roboto;
  margin-left: 0.3rem;
  font-weight: 600;
}

.task {
  width: 100%;
  height: 15%;
  display: flex;
}

ul {
  list-style: disc;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  width: 100%;
}

.task li {
  padding-left: 1rem;
  background-color: white;
  font-family: Roboto, sans-serif;
  font-size: 1.3rem;
  font-weight: 500;
  width: 100%;
}

@media (min-width: 720px) {
  #main-container {
    background-image: url(bg-desktop-dark.jpg);
  }

  #dialog-box {
    height: 95%;
    width: 30%;
  }

  #task-container {
    border-radius: 5px;
  }
}
