/* Screens no smaller than a tablet */

.padding,
footer .padding {
  padding: 3rem 4rem;
}

/****************************************
* Typography
****************************************/

h2 {
  font-size: 27px;
}

h3 {
  font-size: 20px;
}

.inside-billboard h1 {
  font-size: 60px;
}

/****************************************
* Accent
****************************************/

.accent-2 {
  border-top: none;
  border-left: 5px dotted #b4b4b4;
  padding: 0 2rem;
}

@media(min-width: 1040px) {
  /****************************************
  * Header
  ****************************************/

  header {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 100;
    box-shadow: 1px 1px 8px rgba(0, 0, 0, .5);
    width: 100%;
    padding: 1rem 0;
  }

  header .flex {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 100%;
  }

  header .logo {
    margin: 0;
  }

  header .logo img {
    width: 200px;
    height: auto;
    max-width: unset;
  }

  .anchor::before {
    display: block;
    content: '';
    background-color: transparent;
    height: 112px; /* height of header */
    margin: -112px 0 0; /* height of header */
    visibility: hidden;
  }

  /****************************************
  * Navigation
  ****************************************/

  .nav-toggle {
    display: none;
  }

  nav {
    position: relative;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    width: auto;
    height: 100%;
    max-height: 100%;
    padding: 1px 1px 1px 2rem;
    overflow-y: visible;
    z-index: 300;
  }

  nav ul {
    display: flex;
    gap: 1rem;
    margin: 0;
  }

  nav ul + ul {
    margin-top: 1rem;
    border-top: 1px solid #efefef;
    padding-top: .5rem;
  }

  nav li {
    margin: 0;
    border-bottom: none;
    width: auto;
    padding: 0;
  }

  nav a {
    background-color: transparent;
    padding: 0;
  }
}

/****************************************
* Billboard
****************************************/

.billboard .slip-n-slide {
  height: 600px;
}

/****************************************
* Inside billboard
****************************************/

.inside-billboard {
  height: calc(590px + (615 - 590) * (100vw - 768px) / (1140 - 768));
  background-size: 1315px;
  background-position-x: calc(-530px + (-335 - -530) * (100vw - 768px) / (1140 - 768));
}

.inside-billboard h1 {
  font-size: calc(50px + (60 - 50) * (100vw - 768px) / (1140 - 768));
}

/****************************************
* Staff
****************************************/

.staff {
  background-size: 690px;
  height: 657px;
}

.staff-details {
  position: unset;
  width: 100%;
  height: auto;
  padding: 3rem 0 0 4rem;
}

@media(min-width: 1080px) {
  .staff {
    background-size: cover;
    height: calc(350px + (550 - 350) * (100vw - 1080px) / (1600 - 1080));
  }

  .staff-details {
    position: absolute;
    width: calc(262px + (333 - 262) * (100vw - 1080px) / (1600 - 1080));
    height: 100%;
    padding: 0;
  }
}

/****************************************
* Overlay
****************************************/

#bio.overlay .grid {
  grid-template-columns: 1fr 2fr;
}

#bio.overlay .close-overlay svg {
  fill: #000000;
}

/****************************************
* Footer
****************************************/

footer > .grid {
  grid-template-columns: 1fr 1fr;
  text-align: left;
  gap: 4rem;
  margin: 2rem auto 0 auto;
}
