@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;400&display=swap");

* {
  box-sizing: border-box;
}

body {
  background-color: #f5f5f5;
  color: #444;
  font-family: "Poppins", sans-serif;
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

h1 {
  color: rgb(179, 131, 226);
  font-size: 10rem;
  text-align: center;
  opacity: 0.4;
  margin: 0;
}

form {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  width: 90%;
}

.input {
  border: none;
  color: #444;
  font-size: 2rem;
  padding: 1rem 2rem;
  display: block;
  width: 100%;
}

.input::placeholder {
  color: #d5d5d5;
}

.input:focus {
  outline-color: rgb(179, 131, 226);
}

.todos {
  background-color: #fff;
  padding: 0;
  margin: 0;
  list-style-type: none;
}

.todos li {
  border-top: 1px solid #e4e4e4;
  cursor: pointer;
  font-size: 1.5rem;
  padding: 1rem 2rem;
}

.todos li.completed {
  color: #b6b6b6;
  text-decoration: line-through;
}

small {
  color: #b5b5b5;
  margin: 3rem 0;
  text-align: center;
}

@media (max-width: 720px) {
  h1 {
    font-size: 7rem;
  }

  .input {
    font-size: 1.5rem;
    padding: 0.75rem 1.5rem;
  }

  .todos li {
    font-size: 1.25rem;
    padding: 0.75rem 1.5rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 6rem;
  }

  .input {
    font-size: 1.25rem;
  }

  .todos li {
    font-size: 1;
    padding: 0.75rem 1.5rem;
  }
}
