@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap");
@import "./reser.css";

body {
  font-family: "Roboto", sans-serif;
  background: linear-gradient(135deg, #dae3ec, #c8d3dd);
}

/* modal */

.show-modal {
  display: none;
  /* display: flex; */
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.676);
  z-index: 100;
}

.modal {
  padding: 30px;
  width: 300px;
  /* height: 300px; */
  background-color: #fff;
  border-radius: 10px;
}

.modal p {
  overflow-wrap: break-word;
}

.todo-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.todoList {
  padding: 25px;
  width: 800px;
  /* height: 800px; */
  background-color: #fff;
  box-shadow: 0 0 50px #c8d3dd;
  border-radius: 10px;
}

.todoList-title {
  margin-bottom: 20px;

  display: flex;
  justify-content: center;
  font-size: 40px;
  font-weight: 700;
}

.todoList-form {
  margin-bottom: 60px;

  display: flex;
  gap: 15px;
  flex-direction: column;
  justify-content: center;
}

.todoList-form input {
  border: 1px solid #000;
  padding: 20px;
  border-radius: 5px;
}

.todoList-form textarea {
  margin-bottom: 10px;
  outline: none;
  resize: none;
  border: 1px solid #000;
  padding: 20px;
  height: 200px;
  border-radius: 5px;
}

.todoList-form button {
  font-size: 18px;
  font-weight: 500;

  border-radius: 5px;
  background-color: #a2bfd2;
  height: 30px;
  max-width: 100%;
  transition: 0.2s;
}

.todoList-form button:hover {
  opacity: 0.8;
}

hr {
  margin-bottom: 20px;
  max-width: 100%;
  border: 1px solid #777;
}

.todoList-content h2 {
  margin-bottom: 20px;

  display: flex;
  align-items: center;
  gap: 15px;

  justify-content: center;
  font-size: 34px;
  font-weight: 500;
}

.todo-task-column {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.todo-task__text p {
  position: relative;
  top: 7px;
  font-size: 20px;
}

.todo-task__text button {
  position: relative;
  left: 1px;

  font-size: 12px;
  color: rgb(0, 8, 255);
}

.todo-task {
  display: flex;
  padding: 20px;
  justify-content: space-between;
  align-items: center;

  max-width: 100%;
  border-radius: 8px;
  height: 60px;
  background-color: #fff;
  border: 1px solid #777;
}

.todo-task__btn {
  display: flex;
  gap: 15px;
  align-items: center;
}

.check-mark {
  width: 30px;
  height: 30px;
  border-radius: 5px;

  background-color: rgb(64, 171, 76);
}

.check-mark:hover {
  opacity: 0.9;
}

.check-mark img {
  width: 20px;
  height: 20px;
}

.cross {
  width: 30px;
  height: 30px;
  border-radius: 5px;
  background-color: rgb(255, 0, 0);
}

.cross:hover {
  opacity: 0.8;
}

.cross img {
  width: 20px;
  height: 20px;
}

.author {
  margin-top: 20px;

  display: flex;
  justify-content: center;
  height: 100%;
  align-items: flex-end;
}

.author a {
  color: rgb(0, 72, 255);
}

.author a:hover {
  background-color: #00000016;
  border-bottom: 2px solid rgb(0, 72, 255);
}

#close {
  margin-top: 10px;

  width: 100%;
  height: 25px;
  border-radius: 5px;
  background-color: #8e8e8e;
}

#close:hover {
  opacity: 0.8;
}

.color-text {
  color: #14ad30;
  text-decoration: line-through;
}


