@font-face {
  font-family: 'Cormorant Garamond Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/cormorant-garamond:vf@latest/latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: 'Open Sans Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 300 800;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/open-sans:vf@latest/latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

main {
      max-width: 72rem;
      margin: 0 auto;
      }

nav {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    padding-top: 1.3rem;
    padding-left: 1.5rem;
    font-family: 'Cormorant Garamond Variable', serif;
    max-width: 72rem;
    width: 100%;
  }



/* navBrand text */
nav h1 {
  margin-top: 0rem;
  margin-left: 0rem;
  font-size: 3rem;       /* tailwind equivalent: text-5xl */
  font-weight: 600;
  margin-bottom: 0;
  color: #222222;
}

nav h3 {
  margin-top: -.25rem;
  margin-left: 0rem;
  font-size: 1.5rem;     /* tailwind equivalent: text-2xl */
  font-weight: 500;
  color: #669999;        /* tailwind equivalent: --color-accent */
}
/*  end navBrand text */


/* section links */
 nav .sections {
    display: flex;
    justify-content: space-between;
    align-items:center;
    width:33%;
    margin-top: 0.15rem;
    margin-left: auto;
  }

nav ul a {
  font-family: 'Open Sans Variable', sans-serif;
  font-size: 1.15rem;
  font-weight:500;
  text-decoration: none;
  border-bottom: none;
  color: #222222;
  padding-left: .75rem; 
  
}

nav ul a:hover {
  text-decoration: none;
  border-bottom: none;
  color: #669999
}

nav ul a[aria-current="page"] {
  text-decoration: none;
  border-bottom: none;
  color: #669999
}

/* hamburger button — hidden on desktop */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 1.5rem;
  height: 1.125rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: #222222;
}

@media only screen and (max-width: 767px) {
  .hamburger {
    display: flex;
  }

  nav {
    position: relative;
    flex-wrap: wrap;
  }

  nav .sections {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    z-index: 50;
    padding: 0.75rem 1rem;
    margin-left: 0;
    margin-top: 0;
  }

  nav .sections.open {
    display: flex;
  }

  nav .sections ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }

  nav .sections ul a {
    display: block;
    padding-left: 0.5rem;
    padding-top: 0.375rem;
    padding-bottom: 0.375rem;
    border-radius: 0.25rem;
  }

  nav .sections ul a:hover {
    background-color: #f3f4f6;
    color: #669999;
  }

  nav .sections ul a[aria-current="page"] {
    background-color: #669999;
    color: #ffffff;
  }
}
