:root {
  --bg: #0a0a0b;
  --bg-surface: #111114;
  --shelf-wood: #8B5E3C;
  --shelf-edge: #5C3A21;
  --text-primary: #e8e4d8;
  --border: rgba(200, 135, 42, 0.18);
}

html, body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background: var(--bg);
  color: var(--text-primary);
}

header {
  padding: 40px 40px 20px;
  text-align: center;
}

main {
  padding: 20px;
}

footer {
  background: #222;
  color: rgb(253, 253, 253);
  padding: 10px;
  margin-top: 20px;
  text-align: left;
}

img {
  max-width: 100%;
  height: auto;
}

.shelf {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 30px;
  margin: 150px auto 20px;
  height: 50px;
  /* Thinner shelf looks more like a ledge */
  background: var(--shelf-wood);
  position: relative;
  padding: 0 20px;
}

/* Bottom edge of shelf */
.shelf::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: var(--shelf-edge);
  border-radius: 5px;
}

.object {
  width: 15vw;
  max-width: 200px;
  min-width: 80px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 5px 5px rgba(0, 0, 0, 0.5));
}

.object:hover {
  transform: translateY(-10px);
}

/* Button formatting */
.back-button {
  display: inline-flex;
  align-items: center;
  text-align: center;
  padding: 10px 18px;
  background-color: #f0f0f0;
  color: #333;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: 1px solid #ddd;
}

.arrow {
  margin-right: 8px;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.back-button:hover {
  background-color: #333;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.back-button:hover .arrow {
  transform: translateX(-5px);
}

/* End button formatting */

#display-description {
  /* Respects line breaks */
  white-space: pre-line;
  line-height: 1.5;
}

model-viewer {
  width: 100%;
  height: 560px;
  border-radius: 4px;
  border: 5px solid var(--border);
  background: #16161a;
  margin-top: 32px;
}

.contact-section:hover {
  background-color: #4a4a4a;
  color: white;
}

.credits-section:hover {
  background-color: #4a4a4a;
  color: white;
}
 
/* Filter system start */
.filter-bar {
  display: flex;
  width: 100%;
  background-color: #3c3c3c; 
  border: 1px solid #888888;
  padding: 0;
  margin-bottom: 50px;
  position: sticky;
  box-sizing: border-box;
}

.filter-btn {
  flex: 1;
  background-color: transparent;
  color: #f1f1f1;
  border: none;
  border-right: 1px solid #0d2b2f;
  padding: 15px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s;
  text-transform: uppercase;
}

.filter-btn.active {
  background-color: #f0f0f0;
  color: #0a0a0b;
  border-color: #333;
}

.filter-btn:hover:not(.active) {
  background-color: #f0f0f0;
  color: #0a0a0b;
  border-color: #333;
}
/* Filter system end */

/* Adjustments for mobile */
@media (max-width: 800px) {
  .shelf {
    height: 30px;
    gap: 15px;
  }

  .object {
    width: 25vw;
  }

  .filter-bar {
    display: none;
  }
}













