@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(-45deg, #a1c4fd, #c2e9fb, #fccb90, #e8a093);
  background-size: 400% 400%;
  animation: gradientAnimation 20s ease infinite;
  width: 100vw;
  height: 100vh;
  color: #ffffff;
}

.todo-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
}

@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.todo {
  width: 800px;
  background-color: rgba(255, 255, 255, 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.3);
}

.todo-title {
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.todo h2 {
  font-size: 30px;
  font-weight: 600;
}

.todo h2 a {
  font-size: 30px;
  font-weight: 600;
  color: #05d1ff;
}

.time {
  display: flex;
  gap: 20px;
}

.time {
  font-size: 18px;
}

.time p span {
  color: #05d1ff;
  font-size: 16px;
}

.add-task h1 {
  margin-bottom: 20px;

  text-align: center;
  font-size: 40px;
  font-weight: 600;
}

.add-task h1 span {
  text-align: center;
  font-size: 40px;
  color: #05d1ff;
  font-weight: 600;
}

.form {
  margin-bottom: 50px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.form input {
  width: 80%;
  background-color: #00000010;
  padding: 5px;
  color: #05d1ff;
  border: 1px solid #05d1ff;
  border-radius: 5px;
}

.form button {
  padding: 5px;
  border: 1px solid #05d1ff;
  background-color: #05d1ff;
  border-radius: 5px;
}

hr {
  margin-bottom: 20px;
  width: 100%;
  border: 1px solid #05d1ff;
}

.title-task {
  margin-bottom: 20px;
  text-align: center;
  font-weight: 500;
  font-size: 30px;
}

.title-task span {
  color: #05d1ff;
}

.lenght-tasks {
  margin-bottom: 20px;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.lenght-task {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 24px;
}

.lenght-task span {
  color: #05d1ff;
}

.table-tasks {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.tasks {
  display: flex;
  gap: 10px;
  flex-direction: column;

  height: 200px;
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.task {
  display: flex;
  justify-content: space-between;
  align-items: center;

  width: 360px;
  padding: 10px;
  border-radius: 5px;
  color: #05d1ff;
  background-color: #cccccc4b;
  border: 1px solid #05d1ff;
}

.task p {
  display: flex;
  align-items: center;
  padding-right: 5px;
  word-wrap: break-word;
  word-break: break-all;
}

.task-btn {
  display: flex;
  gap: 10px;
}

.btn-done {
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 5px;
  background-color: #34c924;
}

.btn-cross {
  color: #fff;
  width: 24px;
  height: 24px;
  background-color: #ff0000;
  border-radius: 5px;
}

.todo-link {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 5px;
  align-items: center;
}

.todo-link a {
  color: #05d1ff;
}

.todo-link a:hover {
  text-decoration: underline;
}

.done-text {
  color: #0084a1;
  text-decoration: line-through;
}
