* {
  padding: 0;
  margin: 0;
}

body {
  background-image: url(/To-Do-List/Picture/Background-My-Day.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  transition: all 600ms ease;
}

.web-container {
  display: flex;
  min-height: 100vh;
}

/* Sidebar*/
.sidebar {
  background-color: rgb(255, 255, 255);
  display: flex;
  box-sizing: border-box;
  width: 40px;
  height: 100vh;
  margin: 0;
  transition: all 600ms ease;
  justify-content: center;
}

.sidebar.dark {
  background-color: rgb(39, 39, 39);
  color: #ffffff;
}

.sidebar.open {
  width: 15vw;
}

.to-do-list-sidebar:hover {
  background-color: #cacaca;
}

.sidebar.dark .to-do-list-sidebar:hover {
  background-color: rgb(29, 29, 29);
}

.menu-container {
  margin-top: 3px;
  height: 5%;
  width: 40px;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-img {
  height: 25px;
  width: 25px;
  cursor: pointer;
}

.menu-button {
  background: transparent;
  border: none;
  margin-top: 40%;
}

.list-container {
  width: 100%;
  list-style: none;
  padding-top: 50px;
}

.to-do-list-sidebar {
  height: 5%;
  padding: 15px 0 15px 9px;
  display: flex;
  align-items: center;
}

.to-do-list-theme {
  height: 5%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 300px;
  margin-left: -0.45rem;
}

.appear {
  padding: 0 0 0 9px;
  display: none;
  transition: display 600ms ease 4s;
}

.appear.non {
  display: inline-flex;
}

.theme-container {
  margin-left: 10px;
  width: 50px;
  height: 24px;
  background-color: rgb(222, 222, 222);
  border-radius: 15px;
  transition: all 600ms ease;
}

.theme-container.dark {
  background-color: rgb(115, 115, 115);
}

.button-change-theme {
  width: 50px;
  height: 24px;
  background-color: transparent;
  border-radius: 15px;
  display: flex;
  align-items: center;
  cursor: pointer;
  border-color: transparent;
}

.theme-button {
  height: 15px;
  width: 15px;
  margin-left: 3px;
  background-color: rgb(255, 255, 255);
  border-radius: 50%;
  transition: all 600ms ease;
}

.theme-button.dark {
  background-color: rgb(81, 81, 81);
  transform: translateX(27px);
}

.appear-theme {
  display: none;
}

.appear-theme.non {
  display: inline-flex;
}

.list-img {
  transition: all 200ms ease;
}

.sidebar.dark .list-img,
.sidebar.dark .menu-img {
  fill: #ffffff;
}

/* sidebar Content*/
.onThis {
  width: 2%;
  height: 8%;
  opacity: 0;
  position: absolute;
}

.onThis.open {
  height: 8%;
  width: 14%;
}

/* List */
.list-todo {
  background-color: #ffffff;
  height: 3rem;
  padding-left: 1rem;
  padding-right: 1rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  margin-bottom: 0.3rem;
  margin-top: 0.3rem;
  font-size: 1rem;
  font-weight: 600;
  transition: all 600ms ease;
}

.list-todo span {
  padding-left: 25px;
}

.list-todo.dark {
  background-color: rgb(39, 39, 39);
  color: #ffffff;
}

.input-list {
  height: 3rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  border: transparent;
  padding-left: 1rem;
  padding-right: 1rem;
  margin-top: 1.4rem;
  opacity: 0.8;
  flex-shrink: 0;
}

.input-list.dark {
  background-color: rgb(39, 39, 39);
  color: #ffffff;
}

.container-list {
  width: 90%;
  display: flex;
  justify-content: flex-start;
  padding: 20px 0 30px 40px;
  transition: width 100ms ease-out 10ms;
  flex-direction: column;
  height: 100vh;
  box-sizing: border-box;
  display: none;
}

.container-list.open {
  width: 80%;
}

.submit-list {
  transform: scale(1.3);
}

/* My Day */
.container-myday.on {
  display: flex;
}

.todo-list {
  list-style: none;
  flex-grow: 1;
  padding: 0;
  margin: 0;
  overflow-y: auto;
  scrollbar-width: none;
}

.todo-list::-webkit-scrollbar {
  display: none;
}

.main-list:has(.submit-list:checked) {
  background-color: #8d8d8d;
  text-decoration: line-through;
}

.main-list:has(.submit-list:checked).dark {
  background-color: #1a1a1a;
}

.header-myday {
  color: #ffffff;
}

.date-info {
  margin-bottom: 1.5rem;
  color: #ffffff;
}

/* Important*/
.container-important.on {
  display: flex;
}

.imp-list {
  list-style: none;
  flex-grow: 1;
  padding: 0;
  margin: 0;
  overflow-y: auto;
  scrollbar-width: none;
}

.header-important {
  color: #ffffff;
}

.imp-main-list:has(.submit-imp-list:checked) {
  background-color: #8d8d8d;
  text-decoration: line-through;
}

.imp-main-list:has(.submit-imp-list:checked).dark {
  background-color: #1a1a1a;
}

/* Planned */
.container-planned.on {
  display: flex;
}

.header-planned {
  color: #ffffff;
}

.planned-list {
  list-style: none;
  flex-grow: 1;
  padding: 0;
  margin: 0;
  overflow-y: auto;
  scrollbar-width: none;
}

.planned-main-list:has(.submit-planned-list:checked) {
  background-color: #8d8d8d;
  text-decoration: line-through;
}

.planned-main-list:has(.submit-planned-list:checked).dark {
  background-color: #1a1a1a;
}

/* Project */
.container-project.on {
  display: flex;
}

.header-project {
  color: #ffffff;
}

.project-list {
  list-style: none;
  flex-grow: 1;
  padding: 0;
  margin: 0;
  overflow-y: auto;
  scrollbar-width: none;
}

.project-main-list:has(.submit-project-list:checked) {
  background-color: #8d8d8d;
  text-decoration: line-through;
}

.project-main-list:has(.submit-project-list:checked).dark {
  background-color: #1a1a1a;
}

/* Task */
.container-task.on {
  display: flex;
}

.header-task {
  color: #ffffff;
}

.task-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.task-main-list:has(.submit-task-list:checked) {
  background-color: #8d8d8d;
  text-decoration: line-through;
}

.task-main-list:has(.submit-task-list:checked).dark {
  background-color: #1a1a1a;
}

/* Details */
.box-details {
  background-color: #ffffff;
  border-radius: 5px;
  padding: 0.5rem 0.8rem 0.5rem 0.8rem;
  width: 6%;
  margin-top: 1%;
  font-weight: 500;
  font-size: 70%;
  cursor: pointer;
  transition: all 600ms ease;
}

.box-details.dark {
  background-color: rgb(39, 39, 39);
  color: #ffffff;
}

.task-content-wrapper {
  flex-grow: 1;
  overflow-y: auto;
  scrollbar-width: none;
}