/*
 * Base structure (adapted from Bootstrap's "cover" example)
 */

:root {
  --bg: #111111;
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, .5);
  --text-hover: #dddddd;
}

body {
  background-color: var(--bg);
  color: var(--text);
  text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5);
  box-shadow: inset 0 0 5rem rgba(0, 0, 0, .5);
}

.cover-container {
  max-width: 42em;
}

/*
 * Header
 */

.nav-masthead .nav-link {
  padding: .25rem 0;
  font-weight: 700;
  color: var(--text-muted);
  background-color: transparent;
  border-bottom: .25rem solid transparent;
}

.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
  border-bottom-color: rgba(255, 255, 255, .25);
}

.nav-masthead .nav-link + .nav-link {
  margin-left: 1rem;
}

.nav-masthead .active {
  color: var(--text);
  border-bottom-color: var(--text);
}

/*
 * Games
 */

.game-card {
  margin-top: 2rem;
}

.game-card .lead {
  color: var(--text);
}

.game-card:hover .lead,
.game-card:focus .lead {
  color: var(--text-hover);
}

.game-canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
