@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&family=Open+Sans:wght@400;700&family=Lato:wght@400;700&display=swap');

* {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', 'Open Sans', 'Lato', Arial, sans-serif;
  box-sizing: border-box;
}
.main {
  width: 100%;
  min-height: 100vh;
  /* background: linear-gradient(45deg, #9796f0, #fbc7d4); */
  background: url(image/bg3.jpg);
  background-size: cover;
  padding: 10px;
}
.todobox {
  width: 100%;
  max-width: 500px;
  background-color: rgba(115, 0, 255, 0.2);
  margin: 50px auto 20px;
  padding: 40px 20px 30px;
  border-radius: 20px;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.todobox h2 {
  color: rgba(0, 0, 139, 0.9);
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  -webkit-user-select: none;
}
.todobox h2 img {
  width: 30px;
  margin-left: 12px;
}
.typebox {
  background-color: rgba(240, 128, 128, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  border-radius: 30px;
  margin-bottom: 10px;
  -webkit-user-select: none;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.inputpriority{
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px;
}
.inputpriority select{
  background: transparent;
  border: none;
  outline: none;
  padding: 10px;
  border-radius: 30px;
  font-size: 18px;
  margin-right: 5px;
  /* flex: 1; */
}
.inputpriority input {
  background: transparent;
  border: none;
  outline: none;
  padding: 10px;
  border-radius: 30px;
  font-size: 18px;
  width: 100%;
}
.typebox button {
  background: rgba(255, 105, 180, 0.9);
  border: none;
  outline: none;
  border-radius: 40px;
  padding: 12px 30px;
  /* color: whitesmoke; */
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  cursor: pointer;
  width: 100%;
}
.typebox button:hover {
  background: rgba(0, 255, 0, 0.8);
  font-size: 20px;
  padding: 11px 28px;
}

.typebox select {
  background: transparent;
  border: none;
  outline: none;
  padding: 10px;
  border-radius: 30px;
  font-size: 18px;
}
ul li {
  padding: 10px 30px 10px 45px;
  margin-bottom: 7px;
  font-size: 20px;
  cursor: pointer;
  background-color: rgba(211, 211, 211, 0.9);
  border-radius: 20px;
  position: relative;
  list-style: none;
  -webkit-user-select: none;
  word-wrap: break-word;
}
ul li::before {
  content: "";
  height: 25px;
  width: 25px;
  top: 8px;
  left: 12px;
  border-radius: 50%;
  position: absolute;
  background-image: url(image/uncheck.png);
  background-size: cover;
  background-position: center;
}
ul li.ticked {
  color: rgba(169, 169, 169, 0.5);
  text-decoration: line-through;
}
ul li.ticked::before {
  background-image: url(image/tick.png);
}
ul li span img {
  position: absolute;
  border-radius: 50%;
  right: 5px;
  top: 7px;
  height: 28px;
  width: 28px;
}
ul li span img:hover {
  top: 5px;
  height: 33px;
  width: 33px;
}
select.focused {
  background-color: rgba(211, 211, 211, 0.9);
}

/* Media Query */
@media only screen and (max-width: 767px) {
  .main {
    background: url(image/mobile\ background.jpg);
    background-size: cover;
    background-position: center center;
  }
  .todobox {
    max-width: 90%;
    padding: 20px;
  }
  .todobox h2 {
    font-size: 24px;
  }
  .inputpriority input {
    font-size: 16px;
  }
  .typebox button {
    font-size: 16px;
  }
  ul li {
    font-size: 16px;
  }
}
@media only screen and (min-width: 768px) and (max-width: 1023px) {
  .todobox {
    max-width: 80%;
    padding: 30px;
  }
  .todobox h2 {
    font-size: 28px;
  }
  .inputpriority input {
    font-size: 18px;
  }
  .typebox button {
    font-size: 18px;
  }
  ul li {
    font-size: 18px;
  }
}