@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,300;0,400;0,700;1,400&display=swap');

* {
  box-sizing: border-box;
}

body {
  font-family: 'Roboto Condensed', sans-serif;
  margin: 0;
  min-height: 100vh;
  background: rgb(229, 229, 229);
  background: linear-gradient(
    180deg,
    rgba(229, 229, 229, 1) 35%,
    rgba(218, 217, 217, 1) 100%
  );
  display: flex;
  align-items: center;
  flex-direction: column;
}

h1 {
  font-size: 6rem;
  margin: 1rem;
  text-align: center;
  color: #2e294e;
  opacity: 0.7;
  color: #2e294e;
  text-shadow: 0 4px 10px #4a4475;
}

#form {
  width: 98vw;
  max-width: 500px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.todo-input {
  background-color: #f5f5f5;
  border: none;
  color: #666464;
  width: 100%;
  padding: 1rem 1.5rem;
  font-size: 1.5rem;
  font: inherit;
}

input:focus {
  /* outline: none; */
  outline: 1px solid #666464;
  border-radius: 3px;
}

.todo-input::placeholder {
  font-size: 1.5rem;
  padding: 1rem 1.5rem;
}

#todo-list {
  color: #666464;
  list-style-type: none;
  background-color: #f5f5f5;
  margin: 0;
  padding: 0;
}

#todo-list li {
  font-size: 1.5rem;
  padding: 0.5rem 1.5rem;
  border-top: 1px solid #b5b5b5;
  cursor: pointer;
  user-select: none;
  position: relative;
}

#todo-list li:hover {
  background-color: #e4dede;
}

/* #todo-list li:hover::before {
  content: 'x';
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  cursor: pointer;
} */

#todo-list li.completed {
  text-decoration: line-through;
  color: #b5b5b5;
}

#todo-count {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  flex-direction: row;
  width: 100%;
  margin: 0;
  border-top: 1px solid #b5b5b5;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1),
    /* The top layer shadow */ 0 10px 0 -5px #eee,
    /* The second layer */ 0 10px 1px -4px rgba(0, 0, 0, 0.1),
    /* The second layer shadow */ 0 20px 0 -10px #eee,
    /* The third layer */ 0 20px 1px -9px rgba(0, 0, 0, 0.1);
}

#todo-count p {
  font-size: 0.75rem;
  color: #666464;
  background-color: #f5f5f5;
  padding: 0.5rem;
  margin: 0;
  width: 33.3%;
}

#todo-count p:not(:last-child) {
  border-right: 1px solid #b5b5b5;
}

#todo-count p span {
  padding: 0.25rem;
  margin: -0.25rem;
  float: right;
  background-color: #e4dede;
}

small {
  margin-top: 2rem;
  text-align: center;
  color: #666464;
}

.hidden {
  display: none !important;
}

.credit {
  text-align: center;
  color: #666464;
}
