@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;400&display=swap");


*{
      box-sizing: border-box;
}

body{
      background-color: rgb(222, 225, 228);
      color: hsl(212, 43%, 48%);
      font-family: "Poppins", sans-serif;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      height: 100vh;
      margin: 0;
      padding: 0;
}

h1{
      color: rgb(179,131,226);
      font-size: 7rem;
      text-align: center;
      opacity: 0.4;
}

#form{
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
      max-width: 100%;
      width: 400px;
      /* height: 70px; */
}

.input{
      border: none;
      color: #e1dbdb;
      font-size: 2rem;
      padding: 1rem 2rem;
      display: block;
      width: 100%;
      /* height: 100%; */
}

.input::placeholder{
      color: #ccc4c4;
}

.input:focus{
      outline-color: rgb(179,131,226);
}


.todos{
      background-color: #fff;
      list-style-type: none;
      padding: 0;
      margin: 0;
}

.todos li{
      border-top: 1px solid #e5e5e5;
      cursor: pointer;
      font-size: 1.5rem;
      padding: 1rem 2rem;
}

.todos li.completed{
      color: green;
      text-decoration: line-through;
}

small{
      color: #7b7575;
      margin-top: 3rem;
      text-align: center;
}

/* .delete-btn {
      cursor: pointer;
      background-color: #e74c3c;
      border: 0;
      color: #c42121;
      font-size: 20px;
      line-height: 20px;
      padding: 2px 5px;
      position: absolute;
      top: 50%;
      left: 0;
      transform: translate(-100%, -50%);
      opacity: 0;
      transition: opacity 0.3s ease;
      z-index: 4;
} */

.todos li:hover .delete-btn {
      opacity: 1;
}