/*buttons, cards, nav, etc.*/


/* Header */
.header-box {
  text-align: center;
  margin-bottom: 20px;
}

.header-box h1 {
  font-size: 2em;
  margin: var(--space-1) 0;
}

.header-box nav {
  display: inline-block;
}

nav a {
  margin: 0 var(--space-2);
  font-weight: bold;
}

/* Custom Table */
.custom-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #1e1e1e;
  color: #dcdcdc;
  font-family: 'Arial', sans-serif;
  font-size: 14px;
  margin-top: 20px;
}

.custom-table th,
.custom-table td {
  border: 1px solid #444;
  padding: 12px 15px;
  text-align: center;
  vertical-align: middle;
}

.custom-table thead {
  background-color: #2c2c2c;
}

.custom-table th {
  font-weight: bold;
}

.custom-table tr:hover {
  background-color: #333;
}

/* Gallery */
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gallery img {
  width: 200px;
  border: 2px solid #555;
  cursor: pointer;
  transition: transform 0.2s;
}

.gallery img:hover {
  transform: scale(1.05);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

.lightbox img {
  max-width: 90%;
  max-height: 80vh;
}

.lightbox:target {
  display: flex;
}

/* Doc Section */
.doc-section {
  background-color: #111;
  padding: 1rem;
  margin-top: 2rem;
  border-radius: 8px;
}

.doc-section h3 {
  color: #ffa500;
}

.doc-section p,
.doc-section ul {
  color: #ddd;
}



/* --- Card ---------------------------------------------------------- */
.card{
  display: flex;
  flex-direction: column;
}

.card img{
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  background: #e0e0e0;
  box-shadow: 0 0 0 1px var(--clr-line);
  transition: transform .2s ease;
}

.card:hover img{ transform: scale(1.03); }

.card h3{
  margin: var(--space-2) 0 var(--space-1);
  font-size: 1.1rem;
}

.card p{ margin: 0; }

/* Optionally tighten type on very small screens */
@media (max-width: 480px){
  .card h3{ font-size: 1rem; }
  .card p{ font-size: .875rem; }
}

