/* Basic Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Terminal-like style */
body {
  background-color: #24222e;
  color: #b0866c;
  font-family: "Courier New", monospace;
}

.image-container img {
  width: 128px;
  height: 128px;
  border: 2px solid #2d434d;
  object-fit: cover;
}

.metadata {
  text-align: center;
  margin-top: 5px;
  font-size: 12px;
}

/* Grid for the images */
.grid {
  display: grid;
  grid-template-columns: repeat(
    auto-fill,
    128px
  ); /* Each column is 128px wide */
  grid-gap: 10px; /* Space between images */
  padding: 20px;
  justify-content: center; /* Center the grid */
}

/* Image container styling */
.image-container {
  text-align: center;
}

.image-container img {
  width: 128px;
  height: 128px;
}

.image-container .metadata {
  margin-top: 5px;
  font-size: 12px;
}

.image-container:hover {
  background-color: #333333;
  cursor: pointer;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
  max-width: 90%;
  max-height: 90%;
  margin: auto;
  display: block;
  image-rendering: pixelated; /* or 'crisp-edges' */
}
.modal-content-container {
  text-align: center;
  padding: 20px;
}
.caption {
  margin: auto;
  display: block;
  width: 80%;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* Menu Bar Styles */
.menu-bar {
  background-color: #352e3d;
  color: #e6ebd6;
  padding: 10px 20px;
}

.menu-bar ul {
  display: flex;
  justify-content: space-between; /* Align items to the start and end */
  padding: 10px; /* Adjust padding as needed */
}

.menu-bar ul li {
  list-style-type: none;
}

.menu-bar ul li:first-child {
  flex-grow: 1; /* Allow the first item (Ordinal Knights) to grow to take up remaining space */
}

.menu-bar ul li a {
  text-decoration: none;
  color: #afcfc2;
  padding: 10px 15px; /* Padding around links */
}

.menu-bar ul li a:hover {
  color: #84ada7;
  text-decoration: underline;
}
