html {
  font-size: 20px;
  line-height: 32px;
}
article {
  max-width: 40em;
  margin: 0 auto;
}
address {
  position: fixed;
  right: 1em;
  bottom: 0;
  width: 15em;
  margin-top: 2em;
  font-size: small;
  text-align: right;
  color: gray;
}

/* Headers */
h1,
h2 {
  font-family: Tahoma, Verdana, Segoe, Helvetica, sans-serif;
  font-weight: bold;
  color: #b80f28;
}
h1 {
  font-size: 1.6em;
}
h2 {
  margin-top: 3em;
  font-size: 1.25em;
}

/* Normal text */
p,
blockquote,
tr,
select {
  font-family: Georgia, Times, "Times New Roman", serif;
  font-size: inherit;
}
blockquote {
  margin-left: 4em;
  font-style: italic;
}
blockquote:before {
  display: block;
  position: relative;
  left: -0.7em;
  margin-bottom: -0.7em;
  font-size: 4.5em;
  line-height: 1;
  height: 1em;
  width: 1em;
  overflow: hidden;
  content: "“";
}
select {
  min-width: 2em;
}

/* Code blocks */
pre {
  box-sizing: border-box;
  margin-left: -2em;
  margin-right: -2em;
  padding: 0.3em 1em;
  max-width: 44em;
  overflow-y: auto;

  color: #f8f8f8;
  font-family: Consolas, Monaco, monospace;
  background-color: #333;
  border-radius: 5px;
}
@media (max-width: 880px) {
  pre {
    margin-left: 0;
    margin-right: 0;
    padding: 0 0.2em;
    width: 100%;
  }
}

/* Links */
a,
a:hover,
a:active,
a:visited {
  color: #b80f28;
}

#name-th {
  width: 75%;
}

*:has(> table) {
  overflow-y: scroll;
}

.search-container {
  position: relative;
  width: 100%;
}

.search-input {
  width: 100%;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 20px;
}

#clear-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #ff5c5c;
  border: none;
  color: white;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 4px;
  font-size: 20px;
}

#clear-btn:hover {
  background-color: #ff1c1c;
}

#suggestions {
  border: 1px solid #ccc;
  border-top: none;
  max-height: 250px;
  overflow-y: auto;
  background-color: white;
  position: absolute;
  width: 100%;
  box-sizing: border-box;
}

#suggestions div {
  padding: 10px;
  cursor: pointer;
}

#suggestions div:hover {
  background-color: #e0e0e0;
}

table {
  overflow-y: scroll;
  border-collapse: collapse;
  width: 100%;
}
th,
td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}
th {
  background-color: #f2f2f2;
}
.sort-icon::after {
  content: '\25B2';
  margin-left: 5px;
}
.sort-icon.desc::after {
  content: '\25BC';
}
#searchBox {
  float: right;
  margin-bottom: 10px;
  padding: 5px;
  width: 200px;
}

#pagination {
  display: flex;
  justify-content: center;

  margin-top: 10px;
}
.pageButton {
  margin-right: 5px;
  padding: 5px 10px;
  cursor: pointer;
}
