* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.container {
  width: 100%;
  margin: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  font-family: 'Poppins', sans-serif;
  background-color: rgb(220, 218, 218);
}

.header {
  border: 2px solid rgb(19, 19, 90);
  margin-block: auto;
}

.navbar {
  height: 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-inline: 1rem;
}

.list {
  color: rgb(1, 1, 64);
  text-decoration: none;
  font-size: larger;
}

.list:focus {
  color: rgb(250, 0, 0);
  text-decoration: underline;
}

.nav-list {
  display: flex;
  gap: 1rem;
}

li {
  list-style: none;
  cursor: pointer;
}

button {
  padding: 8px;
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
}

hr {
  width: 8rem;
  margin: auto;
  border: none;
  border-top: 2px solid #000;
}

#form {
  width: 30%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: auto;
}

input {
  padding: 5px;
  height: 2rem;
  outline: none;
  font-size: 1rem;
}

.add-button {
  padding: 8px;
  box-shadow: 3px 3px 5px rgba(19, 19, 90, 0.3);
  background-color: rgb(26, 26, 192);
  width: 25%;
  font-weight: bold;
  align-self: flex-end;
  border-radius: 10px;
  color: #fff;
}

.add-button:hover {
  background-color: rgb(220, 218, 218);
  color: #000;
}

.remove-book {
  padding: 8px;
  box-shadow: 3px 3px rgba(1, 8, 0, 0.3);
  font-weight: bold;
  text-decoration: none;
  text-decoration-color: #000;
  border-radius: 5px;
}

.booklist {
  width: 60%;
  max-height: 40vh;
  overflow-y: scroll;
  margin: auto;
  display: flex;
  flex-direction: column;
  border: 2px solid #000;
}

.dynamic-list {
  padding: 0.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.even {
  background-color: rgba(159, 197, 159, 0.5);
}

.books-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hidden-section {
  display: none;
}

.footer {
  padding: 20px;
  border: 2px solid #000;
  position: fixed;
  width: 100%;
  bottom: 0;
}

.copyright {
  font-size: 1rem;
  font-weight: 600;
}
