html {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-weight: 660;
  color: white;
  background-color: rgb(50, 50, 50);
  display: flex;
  justify-content: center;
  margin: 0;
}

/* Set a specific font size for screens less than 400px wide */
@media (max-width: 400px) {
  html {
    font-size: 11px; /* Replace with the font size you want */
  }
}

body {
  width: 100%;
  margin: auto;
  background-color: rgb(50, 50, 50);
}

#divh2 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: transparent;
  color: white;
  margin: 0;
  padding: 128px 0 0 0;
  border: 2px solid rgb(180, 180, 180);
  border-radius: 12px;
}

button {
  border: 2px solid black;
  border-radius: 8px;
  cursor: pointer;
  padding: 3px;
}

select {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  color: black;
  background-color: white;
  border: 2px solid black;
  border-radius: 8px;
}

/* CSS styles for the top menu bar */

.top-menu {
  background-color: rgb(50, 50, 50);
  overflow: hidden;
  display: flex;
  justify-content: center;
  font-family: Verdana, sans-serif;
  border: 1px solid black;
  border-radius: 12px;
}

.top-menu a {
  float: none;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 1.2rem;
}

.top-menu a:hover {
  background-color: whitesmoke;
  color: black;
}

.top-menu a.active {
  background-color: silver;
}

#divLibTable {
  margin: auto;
  overflow-x: auto; /* Change to auto to only show scrollbar when necessary */
}

table {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  border-collapse: collapse;
  width: 100%; /* Use 100% so it shrinks and grows with the window */
  min-width: 300px; /* Minimum width the table will shrink to */
  max-width: 800px; /* Maximum width the table will grow to */
  margin: auto;
}

tr {
  background-color: white;
  color: #222;
}

th,
td {
  white-space: normal; /* Allows the text to wrap to the next line */
  overflow-wrap: break-word; /* Breaks the word at the end of the line */
  text-align: left;
  padding: 8px;
}

tr:nth-child(even) {
  background-color: #f2f2f2;
}

tr:nth-child(odd) {
  background-color: #d9d9d9;
  color: black;
  align-items: center;
  margin: 0 auto;
  border-collapse: collapse;
}

table input {
  font-weight: 660;
  width: fit-content;
  max-width: 150px;
  min-width: 40px;
}

table button {
  margin-left: 0.8rem;
  margin-right: 0.8rem;
}

#imgLogo {
  position: absolute;
  left: 50%;
  top: 0;
  padding-top: 110px;
  transform: translate(-50%, -50%);
}

.filter-options,
.sort-options {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  padding: 12px 0 24px 0;
  vertical-align: middle;
  width: fit-content;
}

#divMsg {
  display: flex;
  justify-content: center;
  margin: auto;
  padding: 12px;
}

#divFilterOptions span,
#divSortOptions span {
  padding: 4px;
  border: 2px dotted white;
  border-radius: 6px;
  margin: 0 0.5rem;
}

#divDataMsg {
    padding: 12px;
}