table {
  border-collapse: collapse;
  width: 80%;
  opacity: 0;
  transition: 1s;
  display: none;
}

th,
td {
  border: 1px solid #aaa;
  padding: 8px;
}

th {
  background: #f4f4f4;
}

tbody > tr:hover {
  background: #f4f4f4;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  justify-content: space-around;
  padding: 4rem 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

#search-input {
  width: 30%;
  height: 1.5rem;
  border-radius: 0.5rem;
  border: 0;
  outline: solid #aaa;
  padding: 0.5rem;
}

#search-input:focus {
  outline: solid #777;
}

.loader {
  border: 0.8em solid #f3f3f3; /* Light grey */
  border-top: 0.8rem solid #a0a0a0; /* Blue */
  border-radius: 50%;
  width: 4rem;
  height: 4rem;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
