body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px;
}

form {
  display: flex;
  flex-direction: column;
  margin-bottom: 40px;
}

form label {
  font-weight: bold;
  margin-bottom: 10px;
}

form input[type="text"],
form textarea,
form input[type="date"] {
  padding: 10px;
  border: 1px solid #ccc;
  background-color: #fff;
  border-radius: 5px;
  margin-bottom: 20px;
  font-size: 16px;
}

form textarea {
  resize: none;
  height: 100px;
}

form button[type="submit"] {
  background-color: #0079bf;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 10px;
  cursor: pointer;
  font-size: 16px;
  transition: ease 0.3s;
}

form button[type="submit"]:hover {
  background-color: #006aac;
}

.task-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.task {
  background-color: #fff;
  border: 1px solid #dfe1e6;
  border-radius: 3px;
  box-shadow: none;
  cursor: pointer;
  margin-bottom: 8px;
  max-width: 300px;
  width: 200px;
  height: 100px;
  padding: 8px;
  position: relative;
}

.task:hover {
  background-color: #f4f5f7;
  box-shadow: none;
}

.task .edit-task-btn {
  background-color: #fff;
  border: none;
  cursor: pointer;
  position: absolute;
  right: 4px;
  top: 4px;
}

.task .edit-task-btn:hover {
  background-color: #dfe1e6;
  border-radius: 3px;
}

.task h2 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 15px 0;
}

.task p {
  font-size: 14px;
  margin: 0 0 28px 0;
  color: #5e6c84;
}

.task i {
  margin-right: 4px;
}
  
.signin-form {
  max-width: 400px;
  margin: 50px auto;
  text-align: center;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.signin-form label {
  display: block;
  font-weight: bold;
  margin-bottom: 10px;
}

.signin-form input[type="email"],
.signin-form input[type="password"] {
  display: block;
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
  font-size: 16px;
}

.signin-form button[type="submit"] {
  display: inline-block;
  padding: 10px 20px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.signin-form button[type="submit"]:hover {
  background-color: #0069d9;
}

.signin-form a {
  margin-bottom: 20px;
  display: block;
  text-align: center;
  font-size: 14px;
  color: #007bff;
  text-decoration: none;
}

.signin-form a:hover {
  cursor: pointer;
  text-decoration: underline;
  color: #0069d9;
}

.signup-form {
  max-width: 400px;
  margin: 50px auto;
  text-align: center;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.signup-form label {
  display: block;
  font-weight: bold;
  margin-bottom: 10px;
}

.signup-form input[type="email"],
.signup-form input[type="password"] {
  display: block;
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
  font-size: 16px;
}

.signup-form button[type="submit"] {
  display: inline-block;
  padding: 10px 20px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.signup-form button[type="submit"]:hover {
  background-color: #0069d9;
}

.signup-form a {
  margin-bottom: 20px;
    display: block;
    text-align: center;
    font-size: 14px;
    color: #007bff;
    text-decoration: none;
}

.signup-form a:hover {
  cursor: pointer;
  text-decoration: underline;
  color: #0069d9;
}

nav {
  background-color: #fff;
  box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.2);
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  padding: 0 20px;
}

nav a {
  color: #333;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  margin: 0 20px;
  transition: all 0.3s ease-in-out;
}

nav a:hover {
  text-decoration: none;
  color: #008cba;
}

.nav-links {
  display: flex;
  align-items: center;
}

.edit-task-form {
  display: flex;
  flex-direction: column;
  max-width: 400px;
  margin: 0 auto;
  padding: 20px;
  background-color: #f5f5f5;
  border-radius: 10px;
}

.edit-task-form input[type="text"],
.edit-task-form textarea,
.edit-task-form input[type="date"] {
  margin-bottom: 10px;
  padding: 10px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
}

.edit-task-form input[type="text"]::placeholder,
.edit-task-form textarea::placeholder,
.edit-task-form input[type="date"]::placeholder {
  color: #bfbfbf;
}

.edit-task-form input[type="submit"],
.edit-task-form button {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

.edit-task-form input[type="submit"] {
  background-color: #2ecc71;
}
.edit-task-form input[type="submit"]:hover{
  background-color: #27ae60;
}

.cancel-edit-btn {
  background-color: #e74c3c;
}

.cancel-edit-btn:hover {
  background-color: #c0392b;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 999;
}

.modal-content {
  background-color: #fefefe;
  margin: 10% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 600px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  margin: 0;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 1.5rem;
  color: #aaa;
  cursor: pointer;
}

.close {
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.modal-body {
  padding-top: 20px;
}

.modal-body input,
.modal-body textarea {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  box-sizing: border-box;
  font-size: 16px;
}

.label-list {
  display: flex;
  flex-wrap: wrap;
}

.label {
  background-color: #f2f2f2;
  border-radius: 4px;
  padding: 4px 8px;
  margin-right: 8px;
  margin-bottom: 8px;
}

.add-label-button {
  background-color: #f2f2f2;
  border: none;
  color: #666;
  padding: 8px;
  font-size: 16px;
  cursor: pointer;
}

.add-label-button:hover {
  background-color: #ddd;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

.card {
  background-color: white;
  border-radius: 3px;
  box-shadow: 0px 1px 3px 0px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  margin: 10px;
  max-width: 300px;
  padding: 10px;
  position: relative;
}

.card-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.card-description {
  font-size: 14px;
  margin-bottom: 30px;
}

.card-date {
  font-size: 14px;
  margin-bottom: 20px;
}

.card-date-color {
  color: rgb(0, 0, 0);
  background-color: #d5efff;
  border-radius: 5px;
  width: fit-content;
  padding: 5px;
  font-weight: bold;
}

.card-options {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  gap: 10px;
}

.card-option {
  background-color: #dfe3e6;
  border-radius: 3px;
  color: #172b4d;
  font-size: 12px;
  font-weight: bold;
  padding: 5px 10px;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s ease;
  user-select: none;
}

.card-option:hover {
  background-color: #c1c7cd;
}

.delete-btn {
  transition: ease 0.4s;
}

.delete-btn:hover {
  background-color: #e02424;
  color: white;
}

.card-modal {
  background-color: rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  align-items: center;
  justify-content: center;
}

.card-modal-content {
  background-color: white;
  border-radius: 3px;
  box-shadow: 0px 1px 3px 0px rgba(0,0,0,0.2);
  padding: 20px;
  position: relative;
  max-width: 600px;
  max-height: 600px;
  overflow-y: auto;
}

.card-modal-close {
  background-color: transparent;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 20px;
  position: absolute;
  right: 10px;
  top: 10px;
}

.labels {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 10px;
  border-radius: 5px;
  border: 1px solid black;
}

.red {
  background-color: #FF4D4D;
}

.orange {
  background-color: #FFA500;
}

.yellow {
  background-color: #FFFF66;
}

.green {
  background-color: #66FF66;
}

.blue {
  background-color: #66B2FF;
}

.purple {
  background-color: #BF66FF;
}

.color-indicator {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.selected {
  border: 2px solid #333;
}

.save-btn {
  background-color: #2ecc71;
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
}

.cancel-btn {
  background-color: #e74c3c;
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.fa-plus {
  margin-left: 10px;
  font-size: 30px;
}