html {
  scroll-padding-top: 5rem;
}

body {
  overflow-x: hidden;
}

.logo {
  width: 200px;
  margin: 2.5rem 0;
  align-self: flex-start;
  z-index: 10000;
}

#mission {
  margin-top: 6rem;
}

/* E MAIL */
.obfuscate span {
  display: none;
}

@media screen and (max-width: 991px) {
  html {
    scroll-padding-top: 7rem;
  }
  .navbar.fixed-top {
    height: 97px;
  }
  .navbar-toggler {
    margin-top: 10px;
  }
  .logo {
    z-index: 10000;
    position: fixed;
    /* width: 100px; */
    width: 150px;
    top: 0;
    margin: 1rem 0;
  }
  #mission {
    margin-top: 10rem;
  }
  /* Navbar Offcanvas fixes */
  .nav-link.current {
    border-bottom: 0 !important; /* remove underline for menu items */
  }
  .offcanvas {
    --bs-offcanvas-width: 100%;
  }
  .offcanvas-body {
    display: flex;
    align-content: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
  }
  ul.navbar-nav.ms-auto {
    margin-left: 0 !important;
    margin-top: -3rem;
  }
  .ms-3, .me-3 {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  h1 {
    font-size: 2rem;
    text-align: center;
  }
  section#mission {
    text-align: center;
    padding: 0 1rem;
  }
  section {
    font-size: 1rem;
    text-align: left;
    padding: 0 0.5rem;
    text-wrap: pretty;
  }
}
body {
  font-family: din-2014, sans-serif;
  font-style: normal;
  font-size: 1.2rem;
}

h1 {
  font-size: 1.8em;
  font-weight: 800;
  margin: 1rem 0;
}

h2 {
  font-size: 1.6em;
  font-weight: 600;
  margin: 1rem 0;
}

h3 {
  font-size: 1.4em;
  font-weight: 600;
}

h1, h2, h3 {
  font-family: din-2014, sans-serif;
  font-style: normal;
}

/* SERIF HEADINGS INSTEAD - FOR 2nd VERSION of site with .black-row */
h1 {
  font-size: 3em;
}

h1.uppercase {
  text-transform: none;
}

h1, h2, h3 {
  font-family: "Source Serif 4", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

h2 {
  font-family: din-2014, sans-serif;
  font-weight: 800;
}

.uppercase {
  text-transform: uppercase;
}

.flush-left {
  text-align: left;
}

section {
  margin: 2.5rem 0;
}

section#contact {
  text-align: center;
}

/* BLACK ROW ALTERNATING SECTIONS */
.black-row {
  margin: 0 !important;
  padding: 0 !important;
  display: block;
  width: 100vw;
  height: auto;
  position: relative;
  color: white;
  background-color: black;
  overflow-y: visible;
}
.black-row h1.text-primary,
.black-row a {
  color: white !important;
}

.wave {
  width: 100vw;
  height: auto;
  shape-renderer: crispEdges;
  border: none !important;
  outline: none;
}

/* TOP NAVIGATION */
.navbar.fixed-top {
  background: white;
  margin: 0;
  padding: 1rem 0;
}

.nav-link {
  color: black;
}

.nav-link.current {
  border-bottom: 2px solid black;
}

@media (min-width: 992px) {
  .navbar-expand-lg .navbar-nav .nav-link {
    padding: 0 !important;
    margin-left: 1.5rem;
  }
}
/* CUSTOM HAMBURGER TOGGLER */
.navbar-toggler {
  width: 30px;
  height: 30px;
  position: relative;
  transition: 0.5s ease-in-out;
}

.navbar-toggler,
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
  outline: none;
  box-shadow: none;
  border: 0;
  position: relative;
}

.navbar-toggler span {
  margin: 0;
  padding: 0;
}

.toggler-icon {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: black;
  border-radius: 1px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
}

.middle-bar {
  margin-top: 0px;
}

.navbar-toggler .top-bar {
  top: 0px;
  position: absolute;
}

.navbar-toggler .middle-bar {
  top: 10px;
  width: 40px;
  margin-left: -10px;
  position: absolute;
}

.navbar-toggler .bottom-bar {
  top: 20px;
  position: absolute;
}
