﻿h2#main-subheader {
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: 0.2rem;
  color: rgb(var(--secondary-30-rgb));
}

#mainNav {
  padding-top: 1rem;
  padding-bottom: 1rem;
  font-family: "darkmode-on";
  font-weight: 400;
  margin: auto;
}

.navbar-collapse ul {
  height: 100vh;
}

#mainNav .navbar-nav li.nav-item a.nav-link {
  color: rgb(var(--primary-50-rgb));
  font-weight: 500;
  padding: 2rem 0 2rem 1rem;
}

#mainNav .navbar-nav li.nav-item a.nav-link:hover {
  color: rgb(var(--primary-50-rgb));
}

#mainNav.nav-background {
  animation: nav-background 0.25s ease forwards;
}

#mainNav .navbar-nav {
  margin-top: 1rem;
}

#mainNav .navbar-nav li.nav-item a.nav-link {
  color: rgb(var(--grey-10-rgb));
}

#mainNav .navbar-toggler {
  font-size: 80%;
  height: 50px;
}

#mainNav .navbar-toggler:focus-visible,
#mainNav .navbar-toggler:focus {
  box-shadow: none;
}

#mainNav .navbar-toggler svg {
  width: 30px;
  height: 20px;
}

.hero,
.hero-video {
  width: 100%;
  height: 75vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-video {
  height: 100vh;
}

.header-media-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: 100vw;
}

.header-media-container:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgb(var(--primary-100-rgb));
  opacity: 0.8;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.socials-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: center;
  gap: 2rem;
}

.socials-hero {
  width: 100%;
  display: none;
  flex-direction: column;
  align-items: flex-end;
  align-self: flex-end;
  right: 0;
  z-index: 4;
}

.socials-hero > * {
  margin-bottom: 0.5rem;
}

.mobile-nav-divider {
  background: linear-gradient(
    to right,
    rgb(var(--primary-60-rgb)),
    rgb(var(--primary-100-rgb))
  );
  width: 100%;
  height: 2px;
}

#sticky-links-container {
  background: rgb(var(--primary-100-rgb));
}

#sticky-links-container.in {
  animation: float-in 0.5s ease forwards;
}

#sticky-links-container.out {
  animation: float-out 0.5s ease forwards;
}

@keyframes nav-background {
  0% {
    background: rgba(var(--primary-100-rgb), 0);
    background-size: 100% 0%;
  }

  100% {
    background: rgba(var(--primary-100-rgb), 1);
    background-size: 100% 100%;
  }
}

@keyframes float-in {
  0% {
    transform: translateY(6.5rem);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes float-out {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(6.5rem);
  }
}
/* Medium Screen */
@media (min-width: 768px) {
  h2#main-subheader {
    font-size: 2rem;
  }
}

/* Medium Screen */
@media (min-width: 1200px) {
  .navbar-collapse ul {
    height: unset;
  }

  h2#main-subheader {
    font-size: 2.2rem;
  }

  #mainNav {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    transition:
      padding-top 0.3s,
      padding-bottom 0.3s;
    background-color: transparent;
  }

  /* Background color when the button has the 'collapsed' class */
  #mainNav.container {
    background-color: rgb(var(--primary-100-rgb));
  }

  /* Default background color */
  #mainNav.container.collapsed {
    background-color: transparent;
  }

  #mainNav .navbar-brand {
    font-size: 1.75em;
    transition: font-size 0.3s;
  }

  #mainNav .navbar-nav {
    margin-top: 0;
  }

  #mainNav.navbar-shrink {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  #mainNav.navbar-shrink .navbar-brand {
    font-size: 1.5em;
  }

  @keyframes nav-background {
    100% {
      background: rgba(var(--primary-100-rgb), 0.9);
    }
  }
}

@media (min-width: 1400px) {
    .socials-hero {
        display: flex;
    }
}
