/* css styles */

/* Navigation bar --------------------------------------------------- */

/* Navbar background */
.navbar {
  background-color: #F46D43 !important;
}

/* Link colors */
.navbar a {
  color: #FFFFFF !important;
}

/* Active tab color */
.navbar .nav-link.active {
  color: #FFED6F !important; 
}

/* White search icon in navbar */
.navbar .aa-DetachedSearchButton svg {
  color: #FFFFFF !important;
  fill: #FFFFFF !important;
}

/* White hamburger menu icon */
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Banners ---------------------------------------------------------- */

/* Hero banner for home page */
.hero-banner-home {
  position: relative;
  width: 100vw;
  height: 12.5rem;
  background-image: url('images/banner-proteins.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-repeat: no-repeat;
  padding: 5rem 0;
  text-align: center;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  margin-top: -3rem;
  margin-bottom: 1rem;
}

.VGL-top {
  position: relative;
  text-align: center;
  font-size: 5rem;
  color: #ffffff;
  padding-right: 7rem;
  margin-top: -2rem;
  margin-bottom: -5rem;
  font-weight: bold;
}

.VGL-bottom {
  position: relative;
  text-align: center;
  font-size: 5rem;
  color: #E2E0DC;
  padding-left: 9.3rem;
  margin-bottom: -2.5rem;
  font-weight: bold;
}

.VGL-byline {
  font-size: 1.25rem;
  text-align: center;
  color: #ffffff;
  text-shadow: 1px 1px 0 #0A0C46, -1px -1px 0 #0A0C46, 1px -1px 0 #0A0C46, -1px 1px 0 #0A0C46;
  padding-top: 0;
  margin-bottom: -2rem;
}

/* Mobile responsive adjustments for hero banner */
@media (max-width: 768px) {
  .hero-banner-home {
    height: auto;
    margin-top: -2.5rem;
    padding: 4rem 0;
  }
  
  .VGL-top {
    font-size: 3rem;
    padding-right: 1.9rem;
    margin-bottom: -3.5rem;
  }
  
  .VGL-bottom {
    font-size: 3rem;
    padding-left: 6.25rem;
    margin-bottom: -2rem;
  }
  
  .VGL-byline {
    font-size: 1rem;
    padding: 0 1rem;
    margin-bottom: -3rem;
  }
}

/* Title block text */
.quarto-title-banner * {
  color: white !important;
}

/* Home page layout ------------------------------------------------- */

/* Centered headings with lines */
.heading-with-lines {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.heading-with-lines::before,
.heading-with-lines::after {
  margin: 1rem 0 1rem 0;
  content: "";
  flex: 1;
  height: 1px;
  background-color: rgba(0, 0, 0, 0.2);
}

.heading-with-lines > h3 {
  margin: 1rem 0 1rem 0;
  white-space: nowrap;
}

.heading-with-lines .anchorjs-link {
  display: none;
}

/* Home page orgs --------------------------------------------------- */

.supporter-logo {
  max-width: 140px;
  margin: 1rem 1.5rem;
}

.organizations-bar {
  background-color: #2c3e50;
  padding: 1rem 2rem 0rem 2rem;
  
  /* Full width strip */
  width: 100vw;
  margin-top: 0;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  margin-bottom: -5rem;
  
  /* Center content */
  display: flex;
  justify-content: center;
}

.org-logo {
  max-width: 250px;
  margin: 1rem 1.5rem;
}

/* Resources -------------------------------------------------------- */

h3.custom-position {
  width: 50%;
  margin: 0 0 0 51.4%;
  text-align: left
}

@media (max-width: 768px) {
  h3.custom-position {
    width: 100%;
    margin: 0;
    text-align: left;
  }
}

/* Footer ----------------------------------------------------------- */

/* Target the footer content area */
.page-footer > div,
footer > div {
  background-color: #2c3e50 !important;
}

/* Footer text color */
.footer * {
  color: white !important;
}

.footer a:hover {
  color: #ecf0f1 !important;
}

/* Give more space to the left text */
footer.footer .nav-footer-left { flex:1 1 75%; }
