* {
  margin: 0;
  padding: 0;
  font-family: 'Trebuchet MS', sans-serif;
  box-sizing: border-box;
}

body {
  background-image: url('todo-bg.jpg');
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}

.container {
  max-width: 450px;
  margin: 100px auto 20px;
  padding: 40px;
  background: rgba(255, 255, 255, .1);
  box-shadow: 0 25px 45px rgba(0, 0, 0, .2) ;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, .5);
  border-right: 2px solid rgba(255, 255, 255, .2);
  border-bottom: 2px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(10px);
}

header h1 {
  color: whitesmoke;
  display: flex;
  justify-content: center;
  padding: 20px;
}

.search-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.search {
  height: 40px;
  display: flex;
  cursor: pointer;
  padding: 10px 12px;
  background: #fff;
  border-radius: 50px;
  align-items: center;
}

.search:hover input {
  width: 300px;
}

.search input.active {
  width: 300px;
}

.search input {
  width: 0;
  outline: none;
  border: none;
  font-weight: 300;
  transition: 0.8s;
  background: transparent;
  padding: 0;
}

.search .fa-solid {
  color: #4a8374;
  font-size: 18px;
}

.todos {
  margin: 30px auto;
}

ul li {
  display: flex;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.2);
  color: whitesmoke;
  font-size: 17px;
  padding: 10px 20px;
  margin: 4px auto;
  user-select: none;
  border-radius: 20px;
}

.add label {
  color: #fff;
  display: flex;
  justify-content: center;
  margin: 20px 0 10px;
}

.add input {
  width: 100%;
  outline: none;
  border: none;
  border-radius: 20px;
  height: 40px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 17px;
}

.delete {
  cursor: pointer;
}

.filtered {
  display: none !important;
}
