@import url("https://fonts.googleapis.com/css2?family=Special+Gothic+Expanded+One&display=swap");

:root {
  --ele_back: rgb(31, 205, 165);
  --but: rgb(224, 52, 52);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.quote {
  position: absolute;
  top: 10px;
  left: 10px;
}
.quote h1 {
  font-size: 2.5rem;
  color: #fff;
  text-shadow: 0 0 10px var(--ele_back);
}
body {
  font-family: "Special Gothic Expanded One", sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: #111 url(Images/background.jpg) no-repeat center center/cover;
}
.container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 0 20px;
}
.todo-app {
  width: 100%;
  max-width: 470px;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 30px;
  color: #fff;
  box-shadow: 0 0 10px 8px var(--ele_back);
  border: 2px solid var(--ele_back);
  border-radius: 20px;
  outline: 2px solid var(--ele_back);
  outline-offset: -8px;
  backdrop-filter: blur(10px);
}
.todo-app h1 {
  font-size: 2rem;
}
.stat-container {
  padding: 15px 20px;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}
.details {
  width: 100%;
}
#progressbar {
  width: 100%;
  height: 7px;
  background: rgba(255, 194, 209, 0.3);
  border-radius: 20px;
  margin-top: 15px;
}
#progress {
  width: 0%;
  height: 100%;
  background: rgb(229, 65, 65);
  border-radius: 20px;
  transition: width 0.3s ease;
  box-shadow: 0 0 10px 5px var(--but);
}
#numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 90px;
  background: var(--ele_back);
  border: 2px solid rgba(255, 194, 209, 0.3);
  font-weight: bold;
  border-radius: 50%;
  box-shadow: 0 0 10px 4px var(--ele_back);
  font-size: 1.5rem;
}
.input-area {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 95%;
  gap: 10px;
}
.input-area .ui {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  border-radius: 26px;
  background: var(--ele_back);
  box-shadow: 0 0 10px 2px var(--ele_back);
}
.input-wrapper-1 {
  border-bottom: 2px solid white;
}
.input-wrapper input {
  width: 100%;
  padding: 10px;
  font-size: 1.1rem;
  border: none;
  outline: none;
  background: var(--ele_back);
  color: aliceblue;
}
.input-wrapper input::placeholder {
  color: white;
}
.input-area button {
  border-radius: 50%;
  padding: 8px;
  background: var(--ele_back);
  box-shadow: 0 0 10px 2px var(--ele_back);
  color: aliceblue;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.1s ease;
}
.input-area button:hover {
  transform: scale(1.1);
  background-color: rgb(229, 65, 65);
  box-shadow: 0 0 10px 4px var(--but);
}
.todos-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.todos-container .empty-image {
  width: 90%;
  opacity: 70%;
}
#task-list {
  width: 100%;
}
#task-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 194, 209, 0.3);
  margin-bottom: 10px;
  padding: 8px 10px;
  border-radius: 30px;
  font-size: 1.2rem;
  color: #fff;
  transition: box-shadow 0.2s ease;
}
#task-list li:hover {
  box-shadow: 0 0 10px 5px var(--ele_back);
}
.checkbox {
  min-width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  border-radius: 50%;
  appearance: none;
  cursor: pointer;
}
.checkbox:checked {
  background: #ff6f91;
  transform: scale(1.1);
}
.checkbox:checked::before {
  content: "\2713";
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
}
.task-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  margin-left: 10px;
  word-wrap: break-word;
  overflow: hidden;
  overflow-wrap: break-word;
}
.task-text {
  font-size: 1.1rem;
  color: #fff;
}
.task-content hr {
  margin: 5px 0;
  border: none;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.978);
}
.task-time {
  font-size: 0.8rem;
  color: #ffffff;
  font-style: italic;
}
.task-buttons {
  display: flex;
  gap: 10px;
  margin-left: auto;
}
.task-buttons button {
  background: rgba(255, 194, 209, 0.3);
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  color: #fff;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}
.task-buttons .edit-btn {
  background: #63cb76;
}
.task-buttons .delete-btn {
  background: rgb(231, 76, 130);
}
@media (max-width: 600px) {
  .quote h1 {
    font-size: 2rem;
  }
  .todo-app {
    padding: 1.5rem;
    gap: 20px;
  }
  #numbers {
    width: 60px;
    height: 60px;
    font-size: 1rem;
  }
  .input-wrapper input {
    font-size: 1rem;
  }
  #task-list li {
    font-size: 1rem;
  }
}
