* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: black;
  background-image: url('https://i.imgur.com/vtkMEdp_d.jpeg?maxwidth=520&shape=thumb&fidelity=high');
  background-repeat: repeat;
  background-size: 200px;
  color: white;
  font-family: 'Special Elite', monospace, courier;
  font-size: 16px;
}

/* fixed sidebars */
.sidebar {
  position: fixed;
  left: 10px;
  top: 10px;
  bottom: 10px;
  width: 180px;
  background: black;
  border: 2px solid white;
  padding: 15px;
  overflow-y: auto;
}

.right-sidebar {
  position: fixed;
  right: 10px;
  top: 10px;
  bottom: 10px;
  width: 180px;
  background: black;
  border: 2px solid white;
  padding: 15px;
  overflow-y: auto;
}

/* center content */
.page {
  width: 100%;
  padding: 10px 205px;
}

header {
  text-align: center;
  margin: 0;
  padding: 0;
}

header h1 {
  margin: 0;
}

header p {
  margin: 5px 0;
}

.top-nav {
  width: fit-content;
  margin: 5px auto 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  background: black;
  border: 2px solid white;
  padding: 8px 15px;
}

.main {
  width: 100%;
}

footer {
  text-align: center;
  font-size: 12px;
  margin-top: 20px;
}

/* boxes */
.mini-box {
  background: #111;
  border: 2px solid white;
  padding: 10px;
  margin-top: 10px;
}
.trans-box {
  background: none;
  border: 2px none;
  padding: 10px;
  margin-top: 10px;
}

/* homepage */
.homepage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.home-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  align-items: start;
}

.left-col,
.right-col {
  min-width: 0;
}

/* links */
a {
  color: white;
}

a:hover {
  color: white;
}

/* images */
img {
  max-width: 100%;
}

/* scroll boxes */
.scroll-box {
  max-height: 200px;
  overflow-y: auto;
}

/* gallery / graphics */
.gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.gallery img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  border: 2px solid white;
  background: #111;
}

/* cards */
.oc-card,
.character-card,
.ship-card {
  border: 1px dashed white;
  padding: 10px;
  margin-top: 10px;
  background: black;
}

.oc-card h3,
.character-card h3,
.ship-card h3 {
  margin-top: 0;
  color: white;
}

/* mobile */
@media (max-width: 700px) {
  .sidebar,
  .right-sidebar {
    position: static;
    width: auto;
    margin-bottom: 10px;
  }

  .page {
    padding: 10px;
  }

  .homepage-grid {
    grid-template-columns: 1fr;
  }
}
body.csom-page {
  background: url('https://images.stockcake.com/public/5/9/8/5981b1f4-c41f-42d9-8ded-53c647986865_large/foggy-suburban-road-stockcake.jpg') center / cover no-repeat fixed !important;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
}