@import url(./reset.css);
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap");

body {
  font-family: "Roboto", sans-serif;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  background-size: 400% 400%;
  width: 100vw;
  height: 100vh;
  animation: mistDrift 5s ease-in-out infinite alternate;
  color: #e0f7fa;
}

@keyframes mistDrift {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 50% 50%;
  }
}

.todo-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
}

.todo {
  width: 800px;
  background-color: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.todo-title {
  margin-bottom: 30px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.todo-title h2 {
  padding-right: 30px;

  font-size: 28px;
  font-weight: 400;
}

.todo-title h2 a {
  color: #64ffda;
}

.time {
  display: flex;
  gap: 20px;
  align-items: center;
}

.corrent-time {
  font-size: 16px;
}

.corrent-time span {
  color: #64ffda;
}

.title-text {
  margin-bottom: 50px;
  font-size: 40px;
  font-weight: 700;
  text-align: center;
}

.title-text span {
  color: #64ffda;
}

.create-tasks {
  margin-bottom: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.form {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
}

.form input {
  width: 70%;
  background-color: rgba(100, 255, 218, 0.1);
  border: 1px solid rgba(100, 255, 218, 0.5);
  border-radius: 5px;
  padding: 5px;
  font-size: 16px;
  color: #e0f7fa;
}

.form input::placeholder {
  color: rgba(224, 247, 250, 0.5);
}

.form button {
  background-color: #64ffda;
  color: #0f2027;
  border-radius: 5px;
  padding: 5px 10px;
  font-weight: 700;
}

hr {
  margin-bottom: 30px;
  width: 100%;
  border: 1px solid rgba(100, 255, 218, 0.3);
}

.title-tasks {
  margin-bottom: 40px;
  text-align: center;
  font-size: 32px;
  font-weight: 700;
}

.title-tasks span {
  color: #64ffda;
}

.tasks-column {
  display: flex;
  gap: 40px;
  justify-content: space-around;
}

.lenght-tasks {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.lenght-tasks p {
  font-size: 18px;
}

.lenght-tasks span {
  font-size: 18px;
  font-weight: 700;
  color: #64ffda;
}

.tasks-left,
.tasks-right {
  max-height: 400px;
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.tasks {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.task {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px;
  width: 350px;
  background-color: rgba(100, 255, 218, 0.1);
  border: 1px solid rgba(100, 255, 218, 0.4);
  border-radius: 10px;
}

.task-btn {
  display: flex;
  align-items: center;
  gap: 5px;
}

.check .cross .back {
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.check:hover,
.cross:hover,
.back:hover {
  transform: scale(1.1);
  filter: brightness(1.2);
}

.check {
  width: 23px;
  background-color: rgba(100, 255, 218, 0.8);
  border-radius: 5px;
  height: 23px;
  color: #0f2027;
}

.cross {
  width: 23px;
  background-color: rgba(255, 100, 130, 0.8);
  border-radius: 5px;
  height: 23px;
  color: #0f2027;
}

.back {
  width: 45px;
  background-color: rgba(100, 218, 255, 0.8);
  border-radius: 5px;
  height: 23px;
  color: #0f2027;
  font-size: 14px;
}

#titleValue {
  max-width: 75%;
  margin-right: 10px;
  display: block;
  word-wrap: break-word;
  overflow-wrap: break-word;
  font-size: 16px;
  font-weight: 400;
}

.other-todo {
  margin-top: 30px;
}

.other-todo h3 {
  margin-bottom: 5px;
  font-size: 20px;
  font-weight: 400;
}

.other-todo a {
  margin-right: 5px;
  margin-bottom: 5px;
  font-size: 16px;
  color: #84ffff;
  transition: color 0.3s ease-in-out;
}

.other-todo a:hover {
  color: #64ffda;
  text-decoration: underline;
}

.done-text {
  text-decoration: line-through;
  font-style: italic;
  color: rgba(224, 247, 250, 0.5);
  transition: color 0.4s ease;
}
