body {
  background-color: #000000;
}
body,
body font {
  font-size: 1rem;
  font-family: "Times New Roman", serif;
  color: #eeeeee;
}
a,
a font[color] {
  color: #aaf !important;
}
a:visited,
a:visited font[color] {
  color: #ddf !important;
}

a.active {
  text-decoration: none;
}

t1 {
  color: #990000;
  font-weight: 100;
  background-color: #111111;
}

t2 {
  color: #EEEEEE;
  font-weight: 100;
  background-color: #111111;
}

f1 {
  color: #EEEEEE;
  font-weight: 100;
  background-color: #111111;
}

default {
  color: #EEEEEE;
  font-weight: 100;
  background-color: #111111;
  }

.catalogue-text {
  margin: 0;
  padding-left: 1.5rem; /* So it lines up with text above */
}

.catalogue-pictures {
  display: grid;
  grid-template-columns: repeat( auto-fit, minmax(72px, 1fr) );
}

.catalogue-nav-top,
.catalogue-nav-sort,
.catalogue-nav-type {
  display: flex;
  flex-wrap: wrap;
  column-gap: 1rem;
  margin-bottom: .5rem;
}

/* Space between menu on left and main on right */
.spacer {
  padding-inline: 7px;
}

/* Now main is 100%, make sure it's not too wide so the text is hard to read */
.main-max-width {
  max-width: 80ch;
}

/* Make sure large images aren't wider than the browser */
.image-max-width {
  max-width: 100%;
}

/* Make sure any wide tables that don't wrap automatically, wrap */
.flex-wrap {
  display: flex;
  flex-wrap: wrap;
}

/* Make sure the text wraps */
.text-wrap {
  white-space: normal;
}

/* On mobile, putting menu above content */
.menucontent {
  display: flex;
  flex-direction: column;
}

.maincontent {
  display: flex;
  flex-direction: column;
}

.menu {
  flex-shrink: 0;
}

.menu-header {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.menu ul {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 1rem;
  row-gap: 0.5rem;
}

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

@media only screen and (min-width: 768px) {
  .main {
    width: 60vw;
  }

  /* Make the active link more obvious
   - can't use bold on mobile because then the menu links move around */
  a.active {
    font-weight: bold;
  }

  .menucontent {
    flex-direction: row;
    column-gap: 1.5rem;
  }

  .maincontent {
    padding: 0.5rem;
    border-left: 1px solid #660000;
  }

  /* Make the left menu a fixed width so we can make sure that it and the main don't overflow the page */
  .menu {
    width: 100px;
  }

  .menu-header {
    text-align: left;
  }

  .menu ul {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-end;
    row-gap: 0.25rem;
  }
}


