/* Your existing CSS styles here */

/* Advanced-level styling */
@import url('https://fonts.googleapis.com/css?family=Roboto');

body {
  background: linear-gradient(#535151, #b97c43, #020202);
  background-size: 200% 200%;
  font-family: cursive;
  margin: 0;
  padding: 0;
}


.nav-item {
  position: relative;
  color: rgb(211, 77, 77);
  font-size: 16px;
  padding: 0 20px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.nav-item:hover {
  color: #7d9cf3;
}

.underline {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #7d9cf3;
  transition: width 0.3s ease;
  transform-origin: left;
}

.nav-item.active .underline {
  width: 100%;
  transform-origin: left;
}

.page {
  display: none;
  padding: 20px;
  animation: fade-in 0.5s ease;
}

.page.active {
  display: block;
}

.animated-heading {
  font-size: 32px;
  text-align: center;
  margin-bottom: 20px;
  color: rgb(255, 255, 255);
  animation: animateText 1s ease infinite alternate;
}

.animated-text {
  animation: animateText 3s ease infinite alternate;
}

@keyframes animateText {
  0% {
    transform: scale(1);
    color: #ff3b3b;
  }
  50% {
    transform: scale(1.2);
    color: #00a383;
  }
  100% {
    transform: scale(1);
    color: #ff3b3b;
  }
}

.animated-button {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  background-color: #202927;
  color: #524d42;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.animated-button:hover {
  background-color: #ff3b3b;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes animateBackground {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 100% 100%;
  }
}

.navbar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: #333;
  height: 50px;
}

.nav-item {
  position: relative;
  color: #fff;
  font-size: 16px;
  padding: 0 20px;
  cursor: pointer;
}

.nav-item span {
  position: relative;
  z-index: 2;
}

.underline {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #fff;
  transition: width 0.3s ease;
  transform-origin: left;
}

.nav-item.active .underline {
  width: 100%;
  transform-origin: left;
}

.page {
  display: none;
  padding: 20px;
  animation: fade-in 0.5s ease;
}

.page.active {
  display: block;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  animation: fade-in 1s ease;
}

h1 {
  font-size: 32px;
  text-align: center;
  margin-bottom: 20px;
  color: #333;
  animation: animateText 3s ease infinite alternate;
}

.todo-item {
  display: inline-block;
  align-items: baseline;
  justify-content: right;
  border: 2px solid #000;
  border-radius: 4px;
  margin-bottom: 100px;
  animation: slide-in 1s ease;
  text-overflow: ellipsis;
}

.todo-item input[type="text"] {
  width: max-content;
  display: block;
  padding: 10px;
  border: #000;
  border-radius: 100px;
  font-size: 14px;
  background-color: #3b3a3a1a;
  color: #ffffff;
}

.todo-item .checkbox {
  margin-right: 10px;
  color: #00a383;
  position: relative;
  cursor: pointer;
}

.todo-item .checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.todo-item .checkbox .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 18px;
  width: 18px;
  background-color: #202927;
  border-radius: 4px;
}

.todo-item .checkbox .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.todo-item .checkbox input[type="checkbox"]:checked ~ .checkmark:after {
  display: block;
}

.todo-item .checkbox .checkmark:after {
  left: 6px;
  top: 2px;
  width: 10px;
  height: 10px;
  border: solid #fdf3d7;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.todo-item .delete-button {
  background: none;
  border: none;
  color: #ff3b3b;
  cursor: pointer;
}

.todo-item .delete-button:hover {
  color: #ff0000;
}

.filters {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.filters button {
  padding: 5px 10px;
  margin-right: 5px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  background-color: #202927;
  color: #ffffff;
  cursor: pointer;
}

.filters button.active {
  background-color: #ff3b3b;
  color: #ffffff;
}

.summary {
  margin-top: 20px;
  font-size: 14px;
  text-align: center;
  color: #ffffff;
}

.todo-text {
  flex: 1;
  font-size: 16px;
  line-height: 1.4;
}

/* Updated style for the input field */
#todo-input {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  margin-bottom: 10px;
}

/* Updated style for the submit button */
#todo-form button {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  background-color: #202927;
  color: #fdf3d7;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#todo-form button:hover {
  background-color: #ff3b3b;
}

#notes-container {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

#notes {
  position: relative;
  padding: 20px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  animation: animateBackground 20s linear infinite;
  transition: transform 0.3s ease;
}

#notes:hover {
  transform: scale(1.05);
}

@keyframes animateBackground {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 100% 100%;
  }
}

textarea {
  width: 300px;
  height: 200px;
  resize: none;
  font-size: 14px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  transition: box-shadow 0.3s ease;
}

textarea:focus {
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

/* Your existing CSS styles here */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#todo-list {
  animation: fadeIn 0.5s ease;
}

@keyframes animateText {
  0% {
    transform: scale(1);
    color: #ff3b3b;
  }
  50% {
    transform: scale(1.2);
    color: #00a383;
  }
  100% {
    transform: scale(1);
    color: #ff3b3b;
  }
}

/* Your existing CSS styles here */

@keyframes animateIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.todo-item {
  animation: animateIn 0.3s ease;
}

.animate-in {
  animation: animateIn 0.3s ease;
}

.filter-dropdown {
  position: relative;
}

.filter-label {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.filter-icon {
  width: 18px;
  height: 18px;
  fill: #000;
  margin-left: 5px;
  transition: transform 0.3s;
}

.filter-options {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  border: 1px solid #ddd;
  border-top: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.filter-option {
  display: block;
  padding: 10px;
  border: none;
  background-color: transparent;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.3s;
}

.filter-option:hover {
  background-color: #f5f5f5;
}

.filter-options.open {
  max-height: 500px;
}

.filter-options.open .filter-option {
  display: block;
}

.filter-option input[type="checkbox"] {
  margin-right: 10px;
}

/* Your existing CSS styles here */

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.todo-item {
  animation: slideIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

#todo-list {
  animation: fadeIn 0.5s ease;
}

@keyframes animateText {
  0% {
    transform: scale(1);
    color: #ff3b3b;
  }
  50% {
    transform: scale(1.2);
    color: #00a383;
  }
  100% {
    transform: scale(1);
    color: #ff3b3b;
  }
}

#todo-input {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  margin-bottom: 10px;
}

#todo-form button {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  background-color: #202927;
  color: #fdf3d7;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#todo-form button:hover {
  background-color: #ff3b3b;
}

#notes-container {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

#notes {
  position: relative;
  padding: 20px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  animation: animateBackground 20s linear infinite;
  transition: transform 0.3s ease;
}

#notes:hover {
  transform: scale(1.05);
}

textarea {
  width: 300px;
  height: 200px;
  resize: none;
  font-size: 14px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  transition: box-shadow 0.3s ease;
}

textarea:focus {
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.task-image {
  max-width: 100%; /* Adjust the maximum width as needed */
  max-height: 100px; /* Adjust the maximum height as needed */
}


#update-list {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  height: 100vh;
  background-color: #b97c43;
  padding: 20px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

#update-list.active {
  transform: translateX(0);
}

.update-list-heading {
  font-size: 20px;
  margin-bottom: 10px;
}

.update-items {
  list-style: none;
  padding: 0;
}

.update-item {
  margin-bottom: 10px;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#update-list:hover {
  transform: translateX(0);
}

@media only screen and (max-width: 767px) {
  .update-list {
    display: none;
  }
}

.task-item {
  position: relative;
  margin-bottom: 10px;
}

.task-details {
  position: absolute;
  left: 100%;
  top: 0;
  background-color: #f5f5f5;
  padding: 5px;
  border: 1px solid #ddd;
  border-radius: 4px;
  display: none;
}

.task-item:hover .task-details {
  display: block;
}
