

html {
  background-color: hsl(236, 33%, 92%);
}

body {
  height: 100vh;
  width: 100vw;
  font-family: Josefin Sans;
  background-image: url("images/bg-desktop-light.jpg");
  background-size: 100% 40%;
  background-repeat: no-repeat;
  overflow: hidden;
}
.secondbody {
  height: 100vh;
  width: 100vw;
  font-family: Josefin Sans;
  background-image: url("images/bg-desktop-dark.jpg");
  background-size: 100% 40%;
  background-repeat: no-repeat; 
}
.secondhtml {
  background-color: hsl(235, 21%, 11%);
}

.bodyy {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.main-body {
  width: 40%;
}
.hidden {
  display: none !important;
  visibility: hidden !important;
}
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
h1 {
  letter-spacing: 16px;
}
.theme {
  width: 40px;
  height: 40px;
  background-image: url("images/icon-moon.svg");
  background-repeat: no-repeat;
  background-color: transparent;
  border: none;
}
.theme2 {
  width: 40px;
  height: 40px;
  background-image: url("images/icon-sun.svg");
  background-repeat: no-repeat;
  background-color: transparent;
  border: none;
  html {
    background-color: hsl(235, 21%, 11%);
  }
  body {
    height: 100vh;
    width: 100vw;
    font-family: Josefin Sans;
    background-image: url("images/bg-desktop-dark.jpg");
    background-size: 100% 40%;
    background-repeat: no-repeat; 
  }
}
.sub-heading {
  border: 1px solid none;
  display: flex;
  column-gap: 20px;
  background-color: white;
  padding: 3%;
  border-radius: 5px;
  margin-bottom: 30px;
  .input-header {
    color: hsl(235, 19%, 35%);
    border: none !important;
    outline: none;
    width: 400px;
    background-color: transparent !important;;
    font-size: 18px;
  }
}
.circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid hsl(240, 1%, 52%);
}
.circle:hover {
  background-image: url("images/icon-check.svg"), linear-gradient(60deg,  hsl(192, 100%, 67%), hsl(280, 87%, 65%));
  background-repeat: no-repeat;
  background-position: center;
}
.check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-image: linear-gradient(to right, hsl(192, 100%, 67%), hsl(280, 87%, 65%));
  text-align: center;
}
.containerlist {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
  margin-top: 30px;
}
.labellist {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 20px;
}
li {
  list-style: none;
  position: relative;
  left: -40px;
  width: 96.5%;
  padding-left: 60px;
  padding-bottom: 20px;
  border-bottom: 1px solid hsl(240, 1%, 38%);
}
span {
  background-image: url("images/icon-cross.svg");
  background-repeat: no-repeat;
  background-position: center;
  right: 20px;
  width: 30px;
  height: 30px;
  position: absolute; 
}
.done {
  font-weight: 900;
}
span:hover {
  background-color: hsl(240, 4%, 78%);
  border-radius: 50%;
}
.activelink {
  color:  hsl(235, 81%, 38%) !important;
  font-weight: 700;
}
.bttn {
  color: gray;
  background-color: transparent !important;
}

.checked {
  text-decoration: line-through;
  color: hsl(240, 1%, 52%);
}

li.checked::before {
  background-image: url("images/icon-check.svg"), linear-gradient(60deg,  hsl(192, 100%, 67%), hsl(280, 87%, 65%));
  background-repeat: no-repeat;
  background-position: center;
}
.bttn {
  border: none !important;
  background: transparent !important;
}
  
li::before {
  content: "";
  left: 3%;
  position: absolute;
  width: 20px;
  height: 20px;
  border: 1px solid hsl(240, 1%, 38%);
  border-radius: 50%;
}
li:hover::before {
  border: 1px solid hsl(280, 87%, 65%);
}
 
.todolist {
  color: hsl(235, 19%, 35%);
  display: flex;
  flex-direction: column;
  width: 100%;
  background-color: white;
  border-radius: 5px;
  span {
    img {
      width: 15px;
      height: 15px;
    }
  }
}
.footer {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  color: hsl(240, 2%, 65%);
  a {
    text-decoration: none;
    color: hsl(233, 11%, 84%);
  }
  a:hover {
    color: hsl(240, 1%, 52%);
  }
  small {
    font-size: 16px;
  }
}
@media screen and (max-width: 500px) {
  .main-body {
    width: 85%;
  }
  .bodyy {
    width: 100vw !important;
  }
  li::before {
    width: 15px;
    height: 15px;
  }
  span, .circle {
    width: 15px;
    height: 15px;
  }
  li {
    width: 92%;
  }
  .footer {
    justify-content: space-between;
    position: relative;
    padding-left: 10%;
    padding-right: 10%; 
    .links {
      display: flex;
      justify-content: center;
      align-items: center;
      position: absolute;
      background-color: white;
      width: 100%;
      height: 40px;
      left: 0px;
      top: 140%
      /* border-radius: 10px; */
    }
  }
}