/* CSS RESET */
/* 1. Use a more-intuitive box-sizing model */
*, *::before, *::after {
    box-sizing: border-box;
  }
  
  /* 2. Remove default margin */
  *:not(dialog) {
    margin: 0;
  }
  
  /* 3. Enable keyword animations */
  @media (prefers-reduced-motion: no-preference) {
    html {
      interpolate-size: allow-keywords;
    }
  }
  
  body {
    /* 4. Add accessible line-height */
    line-height: 1.5;
    /* 5. Improve text rendering */
    -webkit-font-smoothing: antialiased;
  }
  
  /* 6. Improve media defaults */
  img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
  }
  
  /* 7. Inherit fonts for form controls */
  input, button, textarea, select {
    font: inherit;
  }
  
  /* 8. Avoid text overflows */
  p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
  }
  
  /* 9. Improve line wrapping */
  p {
    text-wrap: pretty;
  }
  h1, h2, h3, h4, h5, h6 {
    text-wrap: balance;
  
    
  }
  
  /*
    10. Create a root stacking context
  */
  #root, #__next {
    isolation: isolate;
  }



/* Global Styles */
:root {
  --cream: #f5f0e8;
  --ink: #1a1612;
  --gold: #b8945a;
  --gold-light: #d4af78;
  --muted: #7a6e62;
  --rule: rgba(184, 148, 90, 0.35);
  --dark: rgba(26,22,18, .82);
  
}

  body {
    background-color: var(--ink);
    color: var(--cream);
    font-family: 'Josefin Sans', sans-serif;

    font-weight: 300;
    letter-spacing: 0.04em;
  }

  h1, h2, h3, h4, h5, h6 {
    text-wrap: balance;
    font-family: 'Cormorant Garamond', serif;
    color: var(--gold);
    
  }
  p {
    margin: 20px 0px;
  }

  a {
    text-decoration: none;
    color: var(--gold);
    transition: color 0.3s ease-in-out;

  }

  .container {
    width: 80%; 
    max-width: 1140px;
    position: relative;
    margin: 0 auto;
 

  }
  .p20 {
    padding: 20px 0px;
  }
  .p50 {
    padding: 50px 0px;
  }
  .floatr {
    float: right;
  }
  .floatl {
    float: left;
    margin-right: 30px;
  }


  header {
    width: 100%;
    

    border-bottom: 2px solid var(--rule);
    position: relative;

  }

  header #logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 2rem 2.5rem;
    width: 400px;

  }
  header .logoImg {
    height: 38px;
    width: auto;
    opacity: 0.9;
  }
  header .wordmark {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: 1.15rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--cream);
  }
  header .wordmark span {
    color: var(--gold);
  }


  header .container #nav {
   position: absolute;
    right: 0;
    bottom: 0;
    display: flex; 
  }
  header .container #nav #menuToggle {
    display: none;
  }
  header .container  #nav #navMenu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex; 
    justify-content: space-around; 


  }

  header .container #nav ul li {
    margin: 10px 10px;
  }
  header .container #nav ul li a {
    display: block; 
    padding: 2px 16px 0px 16px;
    text-decoration: none;
    text-transform: uppercase;
    color: var(--gold);
    transition: color 0.3s ease-in-out;
    border: 2px solid var(--rule);
  }
  header .container #nav ul li a:hover {
    display: block; 
    text-decoration: none;
    color: var(--cream);
  }


  header .container #nav .mobileMenu {
    fill: var(--gold);
  }


  .flexContainer {
    display: flex;
  flex-direction: row; 
  justify-content: space-evenly;


  }
  
  .flexCol {
    display: flex;
    flex: 1; /* Shorthand: grow, shrink, and basis */
    padding: 10px;
    flex-wrap: wrap;

  }

  .flexCenter {

    justify-content: center;
    flex-wrap: wrap;
  }
  .flexCol p, .flexCol, h2 {
      width: 100%;

  }


  .imgBox {
    background-color: #fff;
    max-width: 250px;
    width: 100%;
    border: 2px solid var(--gold-light);
    border-radius: 25px 25px 25px 25px;
    height: fit-content;
    overflow: hidden;
  }
  .imgBox2 {

    background-color: #fff;
    width: 80%;
    border: 2px solid var(--gold-light);
    border-radius: 10px 10px 10px 10px;
    margin: 0px auto;

    
  }
  footer {
    border-top: 2px solid var(--gold-light);

  }
  footer h2 {
    color: var(--gold);;
  }
  
.content1 {
      width: 100%;
      background-image: url('../images/waveBG.jpg');
      background-size: cover;
      background-position: center;
 }
  
.overlay {
  Backdrop-filter: brightness(0.18) saturate(0.6);
  display: flex;
  top: 0;             /* Aligns the top edge with the parent's top edge */
  left: 0;  
  width: 100%;
  height: 100%;

 }
/*   HOME     */
.content1 .container {


  z-index: 1;
      padding: 50px 0px 0px 0px;
  }
 .content1 h2 {

 
    text-align: center;
    color: var(--cream);

  }
  .home .content1 h3 {
    
    padding: 10px 0px 20px 0px;
    text-align: center;
    color: var(--cream);
  }
  .home .content1 h3 span {
    color: var(--gold);
  }
  .home .content1 .flexContainer {
    margin: 30px 0px 0px 0px;
  }
  .home .content1 .flexContainer .flexCol h3{
    font-family: 'Cormorant Garamond', serif;

    flex: 0 0 100%; 
    text-align: center;
    margin: 10px 0px;
    color: var(--gold);;
  }
  .home .content2, .about .content2 {
    width: 100%;
    background-color: var(--ink);
    border-top: 2px solid var(--rule);
    border-bottom: 2px solid var(--rule);

    
  }
  .home .content2 .imgBox {
    width: 325px;

  }

.content3  {
    width: 100%;
    height: auto;

    background-color: #fff;
    background-image: url('../images/bottomBG.jpg');
    background-position: 0px;
    background-repeat: no-repeat;
    background-position: bottom center; /* Aligns the top edge of the image with the top edge of the container */
    background-size: 100% auto;
    position: relative;
  }
  .content3 h2 {
    text-align: center;
  }
  .home .content3 .imgBox {
    width: 300px;
  }
  
  .about .content1 {
    width: 100%;
    background-repeat: no-repeat;
      background-image: url('../images/waveBG.jpg');


   /* Aligns the top edge of the image with the top edge of the container */
   background-size: 100% 100%;
  }
.about .content1 .container {
    padding: 50px 0px 50px 0px;
}
.about h2 {


  text-align: center;
  font-size: 1.5em;
}
.about .content1 p {
  margin: 20px 10EM;

}
.about .content2 .teampic {
    margin: -100px auto 0px auto;
    position: relative;
    z-index: 1;
}
.about .content2 .imgBox2 {
    margin-top: 100px;
    padding: 0px 20px 20px 20px;
    
  
}

.about .content2 .imgBox2 p {
  color: var(--ink);
}
.about .content3 .boardGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);

  width: 100%;
  margin: 50px auto;
  border-radius: 40px;
  border: solid 1px var(--gold-light);
  overflow: hidden;
}
.about .content3 .boardGrid .gridContainer {
  background-color: #fff;
  color: #000;

  border: solid 1px var(--gold-light);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  padding: 20px;
}
.examples main img {
  background-color: #fff;
}  
.examples .content3 .imgBox2 img {
  width: 75%;
  margin: 0px auto;

}
.examples .content3 .imgBox2 h2 {
  color: #000;
  font-size: 1.15rem;
}

@media (max-width: 758px) {

  header .container #nav {
    position: relative;

  }
  header .container  #nav #navMenu {
    display: none;
    width: 100%;
  }
  header .container  #nav #menuToggle {
    display: block;
    float: right;
    position: absolute;
    top: -30px;
    right: 0px;
    cursor: pointer;
  }
  header .container  #nav #menuToggle.closed .mm_close {
    display: none;
  } 
  header .container  #nav #menuToggle.open .mm_open {
    display: none;
  } 
  .about .content1 p {
    margin: 0px;
  }
  .about .flexContainer {
    flex-direction: column;
  }
}
@media (max-width: 576px) {
  .flexContainer {
    flex-direction: column;
  }
}