@import url('https://fonts.googleapis.com/css2?family=Comic+Neue:wght@700&display=swap');

* {
  font-family: 'Comic Neue', cursive;
}

button {
  background-color: white;
  box-shadow: 3px 5px 5px black;
  border: 3px solid black;
  height: 30px;
  width: 100px;
  font-size: 20px;
}

header,
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 4px solid black;
  padding: 0 5px;
  height: 50px;
}

footer {
  position: absolute;
  bottom: 0;
  width: 95%;
}

header h1 {
  font-size: 22px;
}

header nav {
  width: 30%;
  display: flex;
  justify-content: space-around;
}

header nav a {
  text-decoration: none;
  color: black;
  font-weight: bold;
}

header nav a:hover,
header nav a:focus {
  color: #8099af;
}

header nav a:nth-child(2) {
  border-right: 2px solid black;
  border-left: 2px solid black;
  padding: 0 10px;
}

.date {
  display: flex;
  justify-content: flex-end;
  padding-top: 10px;
  padding-right: 10px;
}

.wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-width: 80%;
}

.book-info {
  width: 50vw;
}

.page-title {
  text-align: center;
  font-size: 40px;
}

.book-list {
  border: 4px solid #000;
}

.book {
  display: flex;
  justify-content: space-between;
  box-sizing: border-box;
  padding: 0 10px;
  align-items: center;
  font-size: 24px;
}

.book:nth-child(odd) {
  background-color: rgb(221, 221, 221);
}

.hr {
  margin-top: 40px;
  height: 3px;
  width: 20vw;
  background-color: black;
}

.add-book-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.add-book-form input {
  border: 3px solid black;
  padding: 5px;
  width: 30vw;
}

.add-book-form input::placeholder {
  color: black;
  font-size: 20px;
}

.add-book-form button {
  align-self: flex-end;
}
