@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: linear-gradient(109.6deg, rgb(156, 252, 248) 11.2%, rgb(110, 123, 251) 91.1%);
  font-family: "Montserrat";
}

.container {
  background-color: white;
  width: 400px;
  height: 500px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 0 25px 5px rgba(0, 0, 0, 0.222);
  margin: 0 10px;
}
.container .section1 {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  padding: 0 25px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.3);
}
.container .section1 input {
  width: 100%;
  height: 50px;
  border: 2px solid rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  padding: 0 0 0 15px;
  outline: none;
  transform: translate3d(0, 2px, 0);
  font-size: 1rem;
}
.container .section1 input::placeholder {
  font-size: 1.1rem;
  transform: translate3d(0, 2px, 0);
}
.container .section1 .states {
  margin-top: 20px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.container .section1 .states div {
  display: flex;
  gap: 15px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.7);
}
.container .section1 .states div p {
  cursor: pointer;
  position: relative;
  height: 22px;
}
.container .section1 .states div .underline {
  border-bottom: 2px solid rgb(110, 157, 251);
}
.container .section1 .states button {
  padding: 6px 13px;
  border: none;
  color: white;
  background-color: rgb(110, 157, 251);
  border-radius: 3px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}
.container .section2 {
  height: 300px;
  width: 100%;
  padding: 0 25px;
  overflow-y: auto;
}
.container .section2 .task {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 59px;
  min-height: 59px;
}
.container .section2 .task:first-child {
  border-bottom: 2px solid rgba(0, 0, 0, 0.3);
}
.container .section2 .task:not(:last-child) {
  border-bottom: 2px solid rgba(0, 0, 0, 0.3);
}
.container .section2 .task .icon-style {
  cursor: pointer;
  font-size: 1.2rem;
  color: rgba(0, 0, 0, 0.8);
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  padding-left: 20px;
}
.container .section2 .task .task-text {
  margin-left: 10px;
  height: 60px;
  color: rgba(0, 0, 0, 0.8);
  font-weight: 500;
  user-select: none;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.container .section2 .completed {
  text-decoration: line-through;
}
.container .section2 .date {
  margin-left: auto;
  font-weight: 500;
  text-decoration: underline;
}
.container .section2 .checkbox-class {
  cursor: pointer;
}
.container .section3 {
  height: 40px;
  width: 100%;
  border-top: 2px solid rgba(0, 0, 0, 0.3);
}

.animate {
  transform: translateY(20px);
  transform-origin: 0;
  opacity: 0;
  transition: 0.3s;
}