/*
 * FIP site-wide banner styles
 * Linked from fip-index.html alongside custom.css.
 * Styling matches /containers/nginx/static/css/templatemo-topic-listing.css
 */

:root {
  --fip-banner-height: 101px;
}

#fip-banner {
  background:
    linear-gradient(rgb(8 38 110 / 80%), rgb(8 38 110 / 80%)),
    url('/images/fishes_background.jpg') center / cover fixed;
  padding: 8px 0;
  position: sticky;
  top: 0;
  z-index: 10000;
}

.fip-banner-container {
  display: flex;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 12px;
  width: 100%;
}

#fip-banner .fip-banner-logo {
  display: flex;
  align-items: center;
  padding: 5px 0;
}

#fip-banner .fip-banner-logo img {
  width: 175px;
  height: auto;
}

#fip-banner .fip-banner-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

#fip-banner .fip-banner-nav li a {
  color: #BADCEF;
  font-family: 'Onest', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 10px;
  margin: 10px;
  border-radius: 100px;
  display: block;
}

#fip-banner .fip-banner-nav li a:hover {
  color: #BADCEF;
}

/*
 * Subtract banner height so the map viewer fills the remaining viewport.
 * html/body need explicit height so the 100% chain reaches #container.
 */
html, body { height: 100%; }

body > #container {
  height: calc(100% - var(--fip-banner-height));
}
