:root {

  /* fonts */
  --font-cursive: "Playball", cursive;
  --font-serif: "Georgia", serif;
  --font-sans: "Noto Sans", sans-serif;

  /* colors */
  --dark: #2b2b2f;
  --dark-inactive: #7b7b85;
  --dark-gray: #CCC;
  --light-gray: #f2f2f2;
  --light: #f1ebeb;
  /*--dark-blue: #1c0157;*/ /* original */
  --dark-blue: #4f5a6f; /* from card */
  --yellow-white: #fefdc7;
  --red: #ba1d05; /* from card */

  /* shadows */
  --box-shadow: 0 1px 5px #3a3a3a;
  --light-shadow: 0 1px 5px #c6c6c6;

  /* z-index */
  --z-base: 1;
  --z-below: -1;
  --z-above: 1;

  --z-header-photo: var(--z-base);
  --z-header-photo-banner: calc( var(--z-above) + var(--z-header-photo));
  --z-header-photo-banner-fg: calc( var(--z-above) + var(--z-header-photo-banner));


  --footer-height: 80px;

  /*
    @media (min-width: 576px) { ... }
    @media (min-width: 768px) { ... }
    @media (min-width: 992px) { ... }
    @media (min-width: 1200px) { ... }
    @media (min-width: 1400px) { ... }
  */
}

/* begin global */
body {
  background-color: var(--dark-gray);
  font-family: var(--font-serif);
  color: var(--dark);
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
}

.unstyled-button {
  border: 0;
  outline: unset !important;
  background: none;
  padding: 0;
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
  overflow: visible;
  text-transform: none;
  -webkit-appearance: button;
  cursor: pointer;
  color: unset;
}
/* end global */

.container {
  border-right: 1px solid #b4b4b4;
  border-left: 1px solid #b4b4b4;
  padding: 0;
  overflow: hidden;
  min-height: 100vh;
  position: relative;
  background-color: white;
}

.font-cursive {
  font-family: var(--font-cursive);
}


/* BEGIN HEADER */
.header {
  background-color: #FFF;
  position: relative;
  height: 300px;
  overflow: hidden;
  @media (min-width: 768px) {
    height: 500px;
  }
}

.header .upper-nav {
  background-color: var(--dark-blue);
  color: var(--yellow-white);
  width: 100%;
  position: relative;
  z-index: calc(var(--z-above) + var(--z-base));
  opacity: 0.90;
  white-space: nowrap;
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  box-shadow: var(--box-shadow);
}

.header .upper-nav h1 {
  display: flex;
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 2rem;
  @media (min-width: 576px) {
    font-size: 3rem;
  }
}

.header .upper-nav .social-logos {
  display: flex;
}

.header .upper-nav .social-logos a {

  display: inline-flex;
}

.header .upper-nav .social-logos img {
  width: 3rem;
}


.header .header-photo {
  z-index: var(--z-header-photo);
  object-fit: cover;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
}

.header-photo-banner {
  display: none;
  z-index: var(--z-header-photo-banner);
  bottom: 0;
  width: 100%;
  position: absolute;
}

.header-photo-banner-content {
  position: relative;
}

.header-photo-banner-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: var(--light);
  opacity: 0.8;
  z-index: var(--z-header-photo-banner);
}

.header-photo-banner-fg {
  position: relative;
  display: flex;
  justify-content: center;
  color: var(--red);
  font-size: 1.5rem;
  font-family: var(--font-sans);
  text-transform: uppercase;
  font-weight: 600;
  z-index: var(--z-header-photo-banner-fg);
}

.header .header-photo-banner-fg img {
  height: 40px;
 }

 @media (min-width: 992px) {
  .header-photo-banner {
    display: block;
  }
 }

/* END HEADER */

/* begin navigation */
.desktop-nav {
  position: relative;
  background-color: var(--light-gray);
  box-shadow: var(--light-shadow);
  z-index: calc(var(--z-above) + var(--z-base));
  display: flex;
  justify-content: space-between;
}

.desktop-nav a {
  text-decoration: none;
  color: unset;
}

.desktop-nav .nav-item {
  display: none;
}
.desktop-nav .nav-item.active {
  color: var(--dark);
  display: inline-block;
}

.desktop-nav .nav-item, #mobile-nav .nav-item {
  color: var(--dark-inactive);
}
.desktop-nav .nav-item.active, #mobile-nav .nav-item.active {
  color: var(--dark);
}

.desktop-nav .nav-item + .nav-item::before {
  display: none;
  content: "|";
  padding: 0 0.75rem;
  color: var(--dark-gray);
}

.desktop-nav, #mobile-nav {
  text-decoration: none;
}

#mobile-nav ul {
  list-style: none;
}

@media (min-width: 768px) {
  .desktop-nav .nav-item {
    display: inline-block;
  }
  .desktop-nav .nav-item + .nav-item::before {
    display: inline-block;
  }
}
/* end navigation */

.content {
  background-color: white;
  z-index: var(--z-base);
  padding-bottom: var(--footer-height) !important;
}

#set-list-table th button.active .label::after {
  content: "▼";
  font-size: 0.75rem;
  margin-left: 0.5rem;
  display: inline-block;
}
#set-list-table th button.active.reverse .label::after {
  content: "▲";
}

footer {
  background-color: var(--dark-blue);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--footer-height);
  color: var(--yellow-white);
}
footer a {
  color: var(--yellow-white);
}
