*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-color: transparent;
  scroll-behavior: smooth;
}

main, body {
  display: block;
  position: relative;
  overflow: visible;
}

:root {
    --black: #000;
    --white: #f4f4f4;
    --gray: #2a2a2a;
    --purple: #4b3b5a;
    --green: #2f4f4f;
    --dark-blue: #003a74;
    --light-blue: #247ba0;
    --orange: #ff6b35;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gray) url("images/BlackWhiteOverlay.jpg") center/cover no-repeat;
  opacity: 1;
  pointer-events: none;
  z-index: -1;
}

section > * {
  position: relative;
  z-index: 2;
}

h1 {
    font-family: "Montserrat";
    font-weight: 700;
    font-size: 8rem;
    color: var(--white);
    text-align: center;
}

h2 {
    font-family: "Montserrat";
    font-weight: 700;
    font-size: 6.5rem;
    color: var(--white);
    margin-top: 4rem;
    margin-bottom: 0.5rem;
}

p {
    font-family: "Open Sans";
    font-size: 2rem;
    color: var(--white);
    margin-left: 10rem;
    margin-right: 10rem;
}

small {
    font-family: "Open Sans";
    color: var(--black);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.05rem;
}

footer {
    background-color: var(--white);
    padding: 2rem 4rem;
    text-align: center;
}

a {
    text-decoration: none;
}

section {
  margin-bottom: 12rem;
  position: relative;
}

.reflection h2 {
  margin-left: 10rem;
}



/* text colors */

#about-font:hover {
    color: var(--green);
}

#recipe-font:hover {
    color: var(--dark-blue);
}

#tribute-font:hover {
    color: var(--orange);
}

#field-guide-font:hover {
    color: var(--light-blue);
}

#landing-page-font:hover {
    color: var(--purple);
}

#reflection-font {
    text-align: center;
}




/* nav stuff */
#nav-bar {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 65px;
  background: var(--white);
  box-shadow: 0 1px 6px rgba(0,0,0,0.35);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

#nav-bar ul {
  display: flex;
  justify-content: center;
  gap: 3rem;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: nowrap;
  margin-top: .5rem;
}

.nav-link {
  font-family: "Open Sans";
  font-size: 1.75rem;
  color: var(--black);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
  line-height: 1;
}

.nav-link:hover {
  color: var(--green);
}

#nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: var(--gray);
  border-radius: 8px;
  padding: 6px;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

#nav-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--white);
  border-radius: 2px;
}





/* rectangle settings */
.my-rectangle {
    width: 800px;
    height: 15px;
    background-color: var(--white);
}

#about-rectangle,
#tribute-rectangle,
#landing-page-rectangle {
  margin-left: 10rem;
}

#recipe-rectangle,
#field-guide-rectangle {
  margin-right: 10rem;
  margin-left: auto;
}

#about-rectangle        { background-color: var(--green);      }
#recipe-rectangle       { background-color: var(--dark-blue);  }
#tribute-rectangle      { background-color: var(--orange);     }
#field-guide-rectangle  { background-color: var(--light-blue); }
#landing-page-rectangle { background-color: var(--purple);     }




/* alignment by section */
#about-font {
    margin-left: 10rem;
}

#recipe-section {
    text-align: right;
}

#recipe-font {
    margin-right: 10rem;
}

#tribute-font {
    margin-left: 10rem;
}

#field-guide-section {
    text-align: right;
}

#field-guide-font {
    margin-right: 10rem;
}

#landing-page-font {
    margin-left: 10rem;
}


/* hero section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.brick-wall {
  position: absolute;
  inset: 0;
  background: var(--gray);
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 32px 0;
}

.brick-row {
  display: flex;
  gap: 32px;

  width: 130vw;
  margin-left: -15vw;
}

.brick-row.offset {
  transform: translateX(10vw);
}

.brick {
  flex: 0 0 450px;
  height: 170px;
  background: var(--black);
  border-radius: 15px;
  transition: background 0.25s ease;
}

/* Hover colors */
.brick:hover { cursor: pointer; }

.brick:nth-child(5n + 1):hover { background: var(--green); }
.brick:nth-child(5n + 2):hover { background: var(--purple); }
.brick:nth-child(5n + 3):hover { background: var(--dark-blue); }
.brick:nth-child(5n + 4):hover { background: var(--orange); }
.brick:nth-child(5n + 5):hover { background: var(--light-blue); }

/* Hero text */
.hero-content {
  position: relative;
  z-index: 3;
  color: var(--white);
}

.hero-content h1 {
  font-size: 8rem;
  font-weight: 800;
}

section img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 80%;
  height: auto;
  margin-top: 8rem;
}

section img:hover {
  transform: translateY(-10px);
}

footer img {
  width: 180px;
  height: auto;
  margin: 0 0.5rem;
}

#footer-imgs {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  margin: 2rem 0;
}


/* footer */
#contact-section {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.footer-intro {
  font-size: 2rem;
  color: var(--black);
  margin: 0 auto;
}

.footer-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem; 
}

.footer-icons img {
  width: 90px;
  height: auto;
  display: block;
}

.footer-disclaimer {
  max-width: 900px;
  margin: 0 auto;
  color: var(--black);
  line-height: 1.5;
}

.footer-copyright {
  display: block;
  margin-top: 1rem;
  color: var(--black);
}

.decor-brick {
  position: absolute;
  z-index: 0;     /* behind content */
  opacity: 1;      /* stays fully visible */
}

.decor-brick.brick {
  flex: none;
  width: 360px;
  height: 170px;
}











@media (max-width: 768px) {

  h1 {
    font-size: 3.25rem;
    margin: 0 1.5rem;
    text-align: center;
  }

  h2 {
    font-size: 2.5rem;
    margin-top: 2.5rem;
    margin-bottom: 0.35rem;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
    text-align: left;
  }

  p {
    font-size: 1.25rem;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
  }

  section {
    margin-bottom: 6rem;
    text-align: left; 
  }

  .hero {
    min-height: 100vh;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0;
  }

   .brick-wall {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px 0;
    gap: 0;                          
  }

  .brick-row {
    width: 220vw;
    margin-left: -60vw;
    display: flex;
    justify-content: center;
    gap: 28px;
  }

  .brick {
    flex: 0 0 360px;
    height: 150px;
    border-radius: 16px;
  }

  .hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    margin: 0;
    padding: 0;
  }

  #about-font,
  #recipe-font,
  #tribute-font,
  #field-guide-font,
  #landing-page-font,
  #reflection-font {
    margin-left: 1.5rem;
    margin-right: 1.5rem;
    text-align: left;
  }

  #recipe-section,
  #field-guide-section {
    text-align: left;
  }

  .my-rectangle {
    width: 100%;
    max-width: none;
    margin-top: 0;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
  }

  #about-rectangle,
  #tribute-rectangle,
  #landing-page-rectangle,
  #recipe-rectangle,
  #field-guide-rectangle {
    margin-left: 1.5rem;
    margin-right: 1.5rem;
  }

  #nav-toggle {
  display: flex;
  background: var(--white);
  border: none;
}

#nav-toggle span {
  background: var(--black); 
}

#nav-bar ul {
  display: none;
}

#nav-bar.open ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem;
  background-color: var(--white);
}

#nav-bar.open ul li a {
  font-size: 1.5rem;
  color: var(--black);
}

  section img {
    max-width: 100%;
  }

  .brick-row {
    gap: 16px;
    width: 140vw;
    margin-left: -20vw;
  }

  .brick {
    flex: 0 0 260px;
    height: 120px;
  }

  /* footer */
  footer {
    padding: 2rem 1.5rem;
    text-align: left;
  }

  #contact-section {
    max-width: 100%;
    gap: 1.5rem;
  }

  .footer-intro {
    font-size: 1.4rem;
    margin: 0 1.5rem;
    text-align: left;
  }

  #footer-imgs {
    justify-content: flex-start;
    gap: 1.5rem;
    margin: 1.5rem 1.5rem;
  }

  footer img {
    width: 90px;
  }

  .footer-disclaimer,
  .footer-copyright,
  small {
    font-size: 0.9rem;
    margin: 0 1.5rem;
    text-align: center;
  }
}