@font-face {
  font-family: "Helvetica Condensed";
  src: url("./assets/HelveticaCondensedRegular.woff2") format("woff2");
}
a,
a:link,
a:visited {
  color: white;
}
a:hover,
a:active,
a:focus {
  color: #f3e957;
  text-shadow: 1px 1px 0px #000000;
}
.splash-page {
  font-family: "Helvetica Condensed";
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100vw;
  margin: 0;
}
.splash-nav a {
  text-shadow: 1px 1px 0px #000000aa;
  text-decoration: none;
  color: black;
  font-size: 2rem;
  cursor: pointer;
}
.nav-item {
  margin-bottom: 5px;
  position: relative;
  cursor: pointer;
}
.splash-nav a:active,
.splash-nav a:focus,
.splash-nav a:hover {
  color: #F3E957;
  text-shadow: 1px 1px 0px #000000;
  outline: none;
}
a:active .nav-item::before,
a:focus .nav-item::before,
.nav-item:hover::before {
  width: 2rem;
  height: 2rem;
  content: "";
  image-rendering: pixelated;
  background-image: url("./assets/cursor.png");
  background-size: cover;
  background-repeat: no-repeat;
  display: inline-block;
  position: absolute;
  left: -2.5rem;
  top: 25%;
}
.logo {
  max-width: 900px;
  width: 90vw;
}
.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 50px;
}
.social-links a {
  color: black;
  text-decoration: none;
}
.social-links a:hover,
.social-links a:active,
.social-links a:focus {
  color: #F3E957;
  text-shadow: 1px 1px 0px #000000;
}
.social-links svg {
  width: 2rem;
  height: 2rem;
  fill: currentColor;
}
.credits {
  text-transform: uppercase;
  position: absolute;
  bottom: 5px;
}
.menu-page {
  font-family: "Helvetica Condensed";
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 10px;
  margin: 20px;
  margin-top: 50px;
  font-size: 2rem;
  background-image: url('./assets/Warriors_of_Starlight_BG.png');
}
/* Final Fantasy NES-style window.
   Reusable: apply .ff-window to any container. Theme via the variables. */
.ff-window {
  --ff-window-bg: #0a28b0;
  --ff-window-border: #f8f8f8;
  --ff-window-radius: 6px;
  position: relative;
  background-color: var(--ff-window-bg);
  border: 2px solid var(--ff-window-border);
  border-radius: var(--ff-window-radius);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35);
  color: #f8f8f8;
  padding: 0.75rem 1rem;
}
.ff-window-content {
  max-height: 85vh;
  overflow-y: auto;
  padding-left: 2.5rem;
}
.ff-window:has(.ff-window-title) {
  padding-top: 2.5rem;
}
/* Optional: overlapping title tab, like "ITEM" in the reference.
   Place as the first child of .ff-window. */
.ff-window-title {
  position: absolute;
  top: -0.8em;
  left: 1rem;
  background-color: var(--ff-window-bg);
  border: 2px solid var(--ff-window-border);
  border-radius: var(--ff-window-radius);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35);
  padding: 0.1em 0.6em;
  text-transform: uppercase;
}
.nav-menu {
  padding-left: 2rem;
}
.nav-menu a {
  text-shadow: 1px 1px 0px #000000aa;
  text-decoration: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

.nav-item.you-are-here {
  color: #f3e957;
  text-shadow: 1px 1px 0px #000000;
}
.cast-member {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cast-icon-img {
  width: 80px;
  height: 80px;
  image-rendering: pixelated;
}
.cast-name {
  font-size: 2rem;
  font-weight: bold;
}
.cast-role {
  font-size: 1.2rem;
  font-style: italic;
}
.cast-links {
  font-size: 1rem;
}
@media screen and (max-width: 600px) {
  .menu-page {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 10px;
    margin-top: 20px;
    font-size: 1.5rem;
  }
  .ff-window-content {
    max-height: 60vh;
  }
  .nav-menu {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .nav-menu a {
    font-size: 1.5rem;
  }
}
