table {
  width: 100%;
  border: 1px solid #ccc;
  border-collapse: collapse;
  margin: 25px 0;
  font-size: 18px;
  text-align: left;
}

th, td {
  padding: 15px;
  border: 1px solid #ddd;
}

th {
  background-color: #f2f2f2;
}

tr:nth-child(even) {
  background-color: #f2f2f2;
}

#container {
  overflow-y: auto;
  max-height: 100%;
}

#infoBox {
  border: 2px solid #ccc;
  border-radius: 10px;
  padding: 10px;
  margin: 20px;
  display: flex;
  align-items: flex-start;
  max-width: 500px; /* Limit the width */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#infoBox img {
  flex: 0 0 auto; /* Don't grow, don't shrink, auto basis */
  width: auto;
  height: auto;
  max-width: 150px;  /* Max width */
  max-height: 150px; /* Max height */
  object-fit: contain;
  margin-right: 20px;
}

#infoBox div {
  flex: 1; /* Allow the text container to grow */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

#infoBox p {
  margin: 2px 0;
  font-size: 14px;
}

#loading {
  display: none;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

#nftTitle {
  margin: 0px;
}

.spinner {
  border: 5px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  border-top: 5px solid #000;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Style for the hover box */
#hover-box {
  width: 300px;
  height: 300px;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
}
