* {
  font-family: "Comfortaa", sans-serif;
  font-size: large;
}

h1 {
  align-self: center;
  font-weight: 700;
  font-size: xxx-large;
  line-height: 3rem;
}

.hide {
  display: none !important;
}

#time {
  margin-top: 1em;
  margin-right: 0.3rem;
  text-align: end;
}

#header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 2px solid black;
  padding: 1rem 1rem;
}

#header a {
  text-decoration: none;
  color: black;
}

#header img {
  width: 30px;
}

#header .nav-item {
  padding: 0.5rem;
  border-left: 1px solid black;
}

#header #close-icon {
  align-self: flex-end;
  filter: invert(100);
}

#header #list-nav {
  border: transparent;
}

#header .popup {
  position: fixed;
  height: 100vh;
  width: 100vw;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 9999;
}

#header .popup a {
  padding: 1rem 2rem;
  color: #fff;
  font-size: 30px;
}

.view-books {
  display: flex;
  flex-direction: column;
}

.view-books article {
  border: 2px solid black;
}

.view-books .book-info {
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
}

.view-books .book-info:nth-child(odd) {
  background-color: #ddd;
}

.view-books .book-info p {
  font-weight: 900;
}

.view-books .book-info button {
  margin: 8px 0;
  box-shadow: 6px 5px 5px 3px black;
  cursor: pointer;
}

#form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#form .new-book {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#form .new-book .input {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

#form .new-book .input input {
  padding: 8px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 95%;
}

#form .new-book .input input:last-child {
  margin-bottom: 20px;
}

#form .new-book button {
  margin-left: auto;
  box-shadow: 6px 5px 5px 3px black;
  cursor: pointer;
}

.new-contact-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.6rem;
}

.new-contact-info #time {
  padding: 1rem;
  align-self: flex-end;
}

.new-contact-info .contact-text {
  padding: 1rem 0;
}

#footer {
  display: flex;
  justify-content: space-around;
  align-items: center;
  border: 2px solid black;
  margin-top: 1rem;
  background-color: #fff;
}

#footer p + p {
  font-size: small;
  width: 50%;
}
