* {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  box-sizing: border-box;
}

.container {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: linear-gradient(135deg, #2e2e2e, #1c1c1c);
  padding: 10px;
  z-index: 0;
}

.todo-app {
  width: 100%;
  max-width: 500px;
  position: relative;
  background: #fff;
  margin: 100px auto 20px;
  padding: 40px 30px 70px;
  border-radius: 20px;
}

@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.todo-app::after, .todo-app::before {
  content: '';
  position: absolute;
  height: 100%;
  width: 100%;
  background: conic-gradient(from var(--angle), transparent, gold, rgb(205, 205, 15), rgb(163, 232, 2));
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  z-index: -1;
  padding: 3px;
  border-radius: 20px;
  animation: 10s spin linear infinite;
}

.todo-app::before {
  filter: blur(0.5rem);
  opacity: 0.5;
}

@keyframes spin {
  from {
    --angle: 0deg;
  }

  to {
    --angle: 360deg;
  }
}

.todo-app h2 {
  color: #002765;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  user-select: none;
}

.todo-app h2 img {
  width: 30px;
  margin-left: 10px;
}

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #edeef0;
  border-radius: 30px;
  padding-left: 20px;
  margin-bottom: 25px;
}

input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 10px;
  font-weight: 15px;
}

button {
  border: none;
  outline: none;
  padding: 10px 30px;
  background: linear-gradient(90deg, #ffd500, #d4822f);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  border-radius: 40px;
  transition: background 0.3s ease, transform 0.3s ease;
}

button:hover {
  background: linear-gradient(135deg, #d4b100, #f98e23);
  transform: scale(1.05);
}

ul li {
  list-style: none;
  font-size: 17px;
  padding: 12px 8px 12px 50px;
  user-select: none;
  cursor: pointer;
  position: relative;
}

ul li::before {
  content: "";
  position: absolute;
  height: 28px;
  width: 28px;
  border-radius: 50%;
  background-image: url(./src/unchecked.png);
  background-size: cover;
  background-position: center;
  top: 8px;
  left: 10px;
}

ul li.checked {
  color: #555;
  text-decoration: line-through;
}

ul li.checked::before {
  background-image: url(./src/checked.png);
}

ul li span {
  position: absolute;
  right: 0;
  top: 5px;
  width: 40px;
  height: 40px;
  font-size: 22px;
  color: #555;
  line-height: 40px;
  text-align: center;
  border-radius: 50%;
}

ul li span:hover {
  background: #edeef0;
}

@media (max-width: 360px) {
  .todo-app {
    width: 100%;
    max-width: 300px;
  };

  .todo-app h2 {
    font-size: 12px;
  }

  .todo-app h2 img {
    width: 20px;
  }

  .row {
    padding-left: 10px;
  }

  input {
    padding: 5px;
  }
  button {
    
  padding: 15px;
  }
}