* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body,
html {
  height: 100%;
  width: 100%;
  margin: 0px;
  font-family: "Poppins", sans-serif;
  scroll-behavior: smooth;
}
.container {
  width: 100%;
  height: 100%;
  background: #e0e6e9;
  transition: all 1.5s;
}

/* SCROLL BAR STARTS */
/* width */
::-webkit-scrollbar {
  width: 12px;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 15px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background-color: #9b9b9b;
  border-radius: 15px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background-color: #9b9b9b;
}

/* SCROLL BAR ENDS */

/* header section starts */
.header {
  width: 100%;
  height: auto;
  display: flex;

  /* for gradient border */
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(to right, rgb(56, 83, 233), rgb(255, 67, 155));
  border-image-slice: 1;

  color: #000;
  background: #e0e6e9;

  transition: all 1.5s;
}

.header-logo {
  height: 2rem;
  width: 5rem;
  margin: 0.5rem 0.5rem 0.5rem 1rem;
  cursor: pointer;
  user-select: none;
}

.dark-mode-button {
  height: 2rem;
  width: 2rem;
  margin: 0.5rem 1rem;
  border-radius: 50%;
  border: none;
  outline: none;
  background: #e0e6e9;
  font-size: 1.3rem;
  margin-left: auto;
  cursor: pointer;
  transition: all 1.5s;

  /* to make border transparent */
  background-color: transparent;
  background-repeat: no-repeat;
  overflow: hidden;
}
.dark-mode-color-for-btn {
  color: rgb(233, 233, 233);
}

/* to remove the moon title from the ionions icon */
ion-icon {
  pointer-events: none;
}
/* hover effect in light mode */
.dark-mode-icon {
  transition: all 2s;
}
.dark-mode-button {
  transition: all 0.4s linear;
}
.dark-mode-button:hover {
  transform: rotate(10deg);
}

/* headert section ends */

/* heading starts */
.heading-content {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.heading-content-text {
  margin: 2rem;
  font-size: 1.8em;
  font-weight: 500;
  user-select: none;
}
.animate__bounce {
  animation: bounce;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  letter-spacing: 3px;
}

/* heading ends */

/* Main content starts */
.main-content-div {
  height: 75%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.main-content {
  height: 85%;
  width: 80%;
  border-radius: 24px;

  background: #e0e6e9;
  box-shadow: 26px 26px 50px #989c9e, -26px -26px 50px #ffffff;

  transition: all 1.5s;
}

.main-content-dark-mode {
  color: rgb(233, 233, 233);
  background: #152028;
  box-shadow: 18px 18px 36px #0a0f13, -18px -18px 36px #20313d;
}

/* inoput section starts */
.input-div {
  width: 100%;
  height: 20%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.input {
  margin: 0.5rem;
  padding: 0.35rem;
  width: 20rem;
  border-radius: 7px;
  outline: none;
  border: 1px solid black;
  background: #e0e6e9;
  transition: all 1.5s;
}
::placeholder {
  color: rgb(65, 63, 63);
  opacity: 1;

  background: -webkit-linear-gradient(
    50deg,
    rgb(56, 83, 233),
    rgb(255, 67, 155)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.inputTime {
  margin: 0.5rem 1rem;
  padding: 0.3rem;
  width: 7rem;
  border-radius: 7px;
  background: #e0e6e9;
  outline: none;
  border: 1px solid black;
  transition: all 1.5s;
}

.input-dark-mode {
  background: #152028;
  color: rgb(233, 233, 233);
  border: 0.5px solid white;
}

.inputAddButton {
  margin: 0.5rem 1rem;
  padding: 0.35rem;
  width: 5rem;
  border-radius: 7px;
  color: rgb(0, 0, 0);
  letter-spacing: 2px;
  font-weight: bold;
  display: block;
  font-weight: 540;
  cursor: pointer;
  background: #e0e6e9;
  box-shadow: 5px 5px 10px #acb1b3, -5px -5px 10px #ffffff;
  border: 1px solid rgb(0, 0, 0);
  outline: none;
  text-transform: uppercase;
  /* border: none; */
  transition: all 1.5s;
}
.btn-dark-color {
  color: rgb(233, 233, 233);
  border: 1px solid #fff;
  background: #152028;
  box-shadow: 5px 5px 10px #0c1216, -5px -5px 10px #1e2e3a;
}
.inputAddButton:hover {
  transform: scale(1.04);
}

/* input section ends */

/* to do list section starts */
.to-do-list-div {
  height: 75%;
  width: 100%;
  display: flex;
  justify-content: center;
  text-align: center;
  /* overflow-y: scroll; */
  max-height: 80%;
}

/* adding list section starts */
ul {
  margin: 1rem;
  width: 80%;
  overflow-y: scroll;
  max-height: 95%;
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  align-items: center;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.unordered-list::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.unordered-list {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

li {
  width: 90%;
  max-width: 90%;
  height: auto;
  list-style: none;
  margin: 0.8rem;
  padding: 0.5rem;
  /* background: #e0e0e0; */

  border-radius: 10px;
  display: flex;

  cursor: pointer;
  background-color: #f8f9d2;
  background-image: linear-gradient(315deg, #f8f9d2 0%, #e8dbfc 74%);
  transition: all 1.5s;
}

.li-dark-color {
  color: rgb(233, 233, 233);
  background-color: #a4508b;
  background-image: linear-gradient(326deg, #a4508b 0%, #5f0a87 74%);

  box-shadow: 5px 5px 12px #0c1216, -5px -5px 12px #1e2e3a;
}
.li-dark-color:hover {
  box-shadow: 9px 9px 18px #0c1216, -9px -9px 18px #1e2e3a;
  transform: scale(1.02);
}
.li-hover-shadow {
  box-shadow: 5px 5px 8px #bebebe, -5px -5px 8px #ffffff;
}
.li-hover-shadow:hover {
  box-shadow: 7px 7px 21px #bebebe, -7px -7px 21px #ffffff;
  transform: scale(1.02);
}
.list-number,
.time-list {
  margin: 1rem 2rem;
  margin-right: auto;
  font-weight: 600;
}
.main-list-content {
  margin: 1rem;
}

.fa-check,
.fa-trash-alt,
.fa-redo-alt {
  margin: 1rem 2rem;
  margin-left: auto;
  cursor: pointer;
}
.fa-redo-alt {
  transition: all 0.3s linear;
}
.fa-redo-alt:hover {
  transform: rotate(70deg);
}
.fa-check:hover {
  color: rgb(0, 223, 0);
}
.fa-trash-alt:hover {
  color: red;
}

.right {
  margin-right: auto;
  display: flex;
  align-items: center;
}
.middle {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.left {
  margin-left: auto;
  display: flex;
  align-items: center;
}
/* adding list section ends */

/* to do list section ends */

/* main content ends */

.toggle {
  text-decoration: line-through;
  font-size: 900;
  color: rgb(0, 190, 41);
}

/* for dark mode */
.dark-mode-color {
  background: #152028;
  color: rgb(233, 233, 233);
}
