* {
  scroll-behavior: smooth;
  box-sizing: border-box;
}

p, h1, h2, h3 {
  margin: 0;
  margin-bottom: 0.5rem;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: black;
  background-color: white;
}

.nav-logo {
  width: 126px;
}

#primary-nav, #secondary-nav, #amb-list-menu, #amb_west-list-menu {
  display: none;
}

#mobile-nav {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  border-bottom: solid 4px #AA1F2E;
  background-color: #001722;
  z-index: 1000;
}

#mobile-nav-menu {
  position: fixed;
  display: none;
  top: 0;
  left: 0;
  width: 100%;
  flex-direction: column;
  gap: 1rem;
  font-size: x-small;
  background-color: #001722;
  border-bottom: solid 4px #AA1F2E;
  padding: 1rem 2rem;
  z-index: 1000;
}

#mobile-menu-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#content {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

#hero {
  margin-top: 6rem;
  margin-bottom: 2rem;
}

#background-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#assistance-header {
  margin-bottom: 1.5rem;
}

#assistance-links {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-height: 100%;
  gap: 2rem;
}

img {
  max-width: 100%;
  margin: 1rem 0;
  width: 100%;
  display: block;
}

#page-banner {
  margin: 0;
}

.main-section {
  padding: 0 2rem;
}

.btn-link {
  text-decoration: none;
  padding: .75rem 2rem;
  color: white;
  background-color: #AA1F2E;
  display: inline-block;
  text-align: center;
  margin-top: 0.75rem;
  min-width: 200px;
  font-weight: 800;
}

.email-link {
  color:#AA1F2E;
}

.dropdowns {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 1rem 0;
  height: 100%;
}

.dropdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  height: 100%;
  background-color: #001722;
  font-weight: 800;
}

.tab {
  position: relative;
}
.tab input {
  position: absolute;
  opacity: 0;
  z-index: -1;
}
.tab__content {
  max-height: 0;
  overflow: hidden;
  color:white;
  font-weight: 400;
  width: 100%;
  transition: all 0.35s;
}
.tab__content > p {
  padding: 1rem;
}
.tab input:checked ~ .tab__content {
  max-height: none;
}

.tab__label,
.tab__close {
  display: flex;
  color: white;
  background: var(--theme);
  cursor: pointer;
}
.tab__label {
  justify-content: space-between;
  padding: 1rem;
  width: 100%;
}
.tab__label::after {
  content: "\276F";
  width: 1em;
  height: 1em;
  text-align: center;
  transform: rotate(90deg);
}

.info-text {
  border-left: solid 4px #AA1F2E;
  padding-left: .75rem;
}

#site-footer {
  color: white;
  display: flex;
  flex-direction: column;
  margin-top: 2rem;
  gap: 3rem;
}

#site-footer img {
  width: 100%;
}

#bfob-logos {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

#bfob-businesses {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.on_page-nav_menu {
  all: unset;
  display: flex;
  gap: 2rem;
  list-style: none;
  font-size: large;
}

.footer-list {
  flex-direction: column;
}

.footer-heading {
  color: white;
  font-weight: 800;
  font-size: medium;
}

.nav-item,
.nav-item > a{
  text-decoration: none;
  color: black;
  font-size: medium;
}

.nav-item_light, 
.nav-item_light > a {
  text-decoration: none;
  color: white;
}

#intro-vid {
  width: 100%;;
}

#testimonial-imgs > video {
    width: 100%;
    margin: 1rem 0;
}

@media (min-width: 768px) {
  a {
    cursor: pointer;
  }

  .main-section {
    padding: 0 8rem;
    font-size: large;
  }

  #hero {
    margin-top: 0;
  }

  #introduction, #background, #assistance-ctas, #contribute {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
  }

  #primary-nav {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9000;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1.5rem;
    font-size: clamp(0.5rem, calc(0.5rem + 0.5vw), 1rem);
    font-weight: 800;
    color: white;
    background-color: #001722;
  }
 .primary-nav-item {
    display: flex;
    align-items: center;
  }
  
  .primary-nav-item::after {
    content: "\276F";
    padding-bottom: 0.50rem;
    width: 1em;
    text-align: center;
    transform: rotate(90deg);
  }

  .primary-link-container {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    width: 100%;
  }

  .career-contact-btns {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }

  .career-contact-btns > a {
    text-decoration: none;
    color: white;
  }

  .career-contact-btns > .btn-link {
    margin-top: 0;
    min-width: 128px;
    padding: 0.5rem 1rem;
  }

  #amb-list-menu, #amb_west-list-menu{
    display: none;
    align-items: center;
    gap: 1rem;
    justify-content: space-around;
    background-color: #001722;
    color: white;
    padding: 1rem;
    border-top: #AA1F2E solid 4px;
  }

  #amb-list-menu[selected="false"], 
  #amb_west-list-menu[selected="false"] {
    display: none;
  }

  #amb-list-menu[selected="true"],
  #amb_west-list-menu[selected="true"] {
    display: flex;
  }

  #secondary-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 2rem;
    margin-top: 5.25rem;
    font-size: clamp(0.5rem, calc(0.5rem + 0.5vw), 1rem);
  }

  #secondary-nav .btn-link {
    margin: 0;
    min-width: 100px;
    padding: 0.5rem 1rem;
  }

  #mobile-nav {
    position:inital;
    display: none!important;
  }

  #mobile-nav-menu {
    display: none!important;
    position: initial;
  }

  #bfob-logos {
    display: flex;
    flex-direction: row;
    gap: 4rem;
    justify-content: center;
  }

  #bfob-businesses {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
  }
}

@media (min-width: 1024px) {
  #introduction, #background, #assistance-ctas, #contribute {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 3rem;
  }

  #testimony-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
  }

  #testimonial-imgs {
    display: flex;
    justify-content: space-between;
    gap: .5rem;
  }

  #testimonial-imgs > video {
    width: 45%;
  }

  #testimonial-imgs > img {
    width: 47%;
  }
}