img {
    max-width: 100%;
    height: auto;
    border-radius: 1.5rem;
  }

body{ 
  background-color: #bcd6ae;
}









#jac-logo {
  filter: invert(1);
  margin: 0 auto 3rem auto;
  max-width: 425px;
  display: block;}

.gravitas-one-regular {
  font-family: "Gravitas One", serif;
  font-weight: 400;
  font-style: normal;
}

.button {
  display: inline-block;
  font-size: 16px;
  background-color: #4CAF50;
  border-radius:6px;
  transition: background-color 0.3s, transform 0.3s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-decoration:none;
  color: white;
  font-family:  "Hanken Grotesk", sans-serif;
  text-align: center;
  padding: 10px 20px;
}

.coiny-regular {
  font-family: "Coiny", system-ui;
  font-weight: 400;
  font-style: normal;
}
 
.hanken-grotesk-uniquifier {
  font-family: "Hanken Grotesk", sans-serif;
  font-style: normal;
  font-weight: 100;
}
  
    
    h1 {font-size: 54px;
      text-align: center;
      font-family: "Gravitas One", serif;
      font-weight: 400;
      font-style: normal;
      align-items: center; }
      
    h2{ 
      font-size: 42px;
      font-family: "Coiny", system-ui;
      font-weight: 400;
      font-style: normal;}

    h3{ font-size: 32px;
      font-family: "Coiny", system-ui;
      font-weight: 400;
      font-style: normal;}
      h4{ font-size: 20px;
        font-family: "Coiny", system-ui;
        font-weight: 400;
        font-style: normal;}


      li{font-size: 16px;
        font-family: "Hanken Grotesk", sans-serif;
        font-style: normal;
        font-weight: 400;}

      p{font-size: 16px;
  font-family: "Hanken Grotesk", sans-serif;
  font-style: normal;
  font-weight: 300;
}

  header {
    position: relative;
    background-image: url(); /* 1x version */
    background-size: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #56773c;}
    


section{
  background-color: rgb(188, 214, 174);}

footer{
  background-image: url(images/Group10.svg);
  height: 15rem;
  background-size: cover;
  background-color: transparent;
  color: white; /* White text color */
  text-align: center; /* Center the text */
  padding: 20px; /* Add some space around the text */
  width: 100%; /* Make it full width */
  bottom: 0; /* Align it at the bottom of the page */
}

footer p {
  margin-left: 30px;
margin-top: 140px;
  font-size: 18px;
  text-align: center;
  position: relative;
}

















@media screen and (min-width: 48rem) {

  body {
    background-color: #9fba8b;
    overflow-x: hidden;
  }
main {
  width: 48rem;
  margin: 0 auto;

}
.flex-container picture {
  width: 50%;
}
.flex-container > p, .flex-container > div{
  width: 50%;
}
.button {
  display:block;}
h1{
  font-size:6em;
  text-align: center;
      color: #e6f8de;
      -webkit-text-stroke: 2px rgb(45, 103, 47);
      animation-duration: 4s;
      animation-name: slide-in;
      background-image: url(images/forest-land.png);
      background-color: #236a21;
      border-radius: 24rem;
      height: 22rem;
      display: flex;
      justify-content: center;
      align-content: center;
      margin: 0 auto;
      width: 35rem;
      align-items: center}


      @keyframes slide-in {
        from {
          translate: 150vw 0;
          scale: 200% 1;}
          to {
            translate: 0 0;
            scale: 100% 1;
        }}

 
  h2 { font-size: 3.75em; 
  margin-bottom: 1.2rem;
text-align: center;}
  h3 { font-size: 2.25em; }
  p {max-width: 100ch;
     font-size: 1.125em;
  text-align: center; }

  picture {
      max-width: 100%;
      /* 36rem * 16 = 576px */
  }

  .flex-container > p,
  .flex-container > div {
      margin: 0 1rem;
  }


  .flex-container {
      display: flex;
      align-items: center
  }

  .when .flex-container {
      flex-direction: row-reverse;
  }

  .goal{
    padding: 2rem 6rem 5rem 6rem;
    border-radius: 6rem;
    background-color: #bcd6a7;
    color: rgb(47, 81, 39);
    margin-right: 20px;
    margin-left: 20px;
  }
  .goal p {margin: 0}

  .how{
    padding: 2rem 6rem 5rem 6rem;
    border-radius: 6rem;
    background-color: #bcd6a7;
    color: rgb(47, 81, 39);
    margin-right: 20px;
    margin-left: 20px;
  }
  .when{
    padding: 2rem 6rem 5rem 6rem;
    border-radius: 6rem;
    background-color: #bcd6a7;
    color: rgb(47, 81, 39);
    margin-right: 20px;
  margin-left: 20px;}
  .where{
    padding: 2rem 6rem 5rem 6rem;
    border-radius: 6rem;
    background-color: #bcd6a7;
    color: rgb(47, 81, 39);
    margin-right: 20px;
    margin-left: 20px;
  }
  .why {
    padding: 2rem 6rem 5rem 6rem;
    border-radius: 6rem;
    background-color: #bcd6a7;
    color: rgb(47, 81, 39);
    margin-right: 20px;
    margin-left: 20px;
}

section {
  border: unset;
  padding: unset;
  margin: 1rem 0 5rem 0;
}

 section.how .flex-container > p,
 section.how .flex-container > div,
 section.how .flex-container > picture {
    width: 100%;
    margin: 0;
  }

  .when p,
  .when picture,
  .why p,
  .why picture {
    flex-basis: 50%;
  }

  .how .flex-container {
      display: grid;
      grid-template-columns: 1fr 1fr;
  }

  .how picture {
      order: 2;
    }

  .how .flex-container div {
  order: 1;
  }
}
/* always comment closing media query */

























@media screen and (min-width: 64rem) {

  body {
    background: url('images/wave-01-01-01.svg') repeat-x;
    background-size: cover;  /* This ensures the wave stretches to cover the page */
    background-position: bottom; /* Ensures it's aligned at the bottom */
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

header{background-color: #56773c;}

  img
  {border-radius: 1.5rem;}

.button {
  display:block;}
  h1 {
      font-size: 6em;
      text-align: center;
      color: #e6f8de;
      -webkit-text-stroke: 2px rgb(45, 103, 47);
      animation-duration: 4s;
      animation-name: slide-in;
      background-image: url(images/forest-land.png);
      background-color: #236a21;
      border-radius: 24rem;
      height: 22rem;
      display: flex;
      justify-content: center;
      align-content: center;
      margin: 0 auto;
    width:50rem;
    align-items: center

  }
  @keyframes slide-in {
    from {
      translate: 150vw 0;
      scale: 200% 1;}
      to {
        translate: 0 0;
        scale: 100% 1;
    }
    
  }
  h2{
    font-size: 3.75em;
    text-align: center;
  }
  p{
  font-size: 1.125em;
  text-align: center;}

  .wrapper{
      max-width: 64rem;
      margin: 0 auto;
  }

  header h2 {margin-top: 53.75rem;}

  section {
      border: unset;
      padding: unset;
      margin: 1rem 0 5rem 0;
  }
 

 section.how .flex-container > p,
 section.how .flex-container > div,
 section.how .flex-container > picture {
    width: 100%;
    margin: 0;
  }


  .goal{
    padding: 0.5rem 3rem 3rem 3rem;
    background-color: #bcd6a7;
    color: rgb(47, 81, 39);
    margin-right: 20px;
    margin-left: 20px;
    position: relative;
  }
  .goal p {margin: 0}

  .how{
    padding: 0.5rem 3rem 3rem 3rem;
    border-radius: 6rem;
    background-color: #bcd6a7;
    color: rgb(47, 81, 39);
    margin-right: 20px;
    margin-left: 20px;
    position: relative;
  }
  .when{
    padding: 0.5rem 3rem 3rem 3rem;
    border-radius: 6rem;
    background-color: #bcd6a7;
    color: rgb(47, 81, 39);
    margin-right: 20px;
  margin-left: 20px;
  position: relative;
}

  .where{
    padding: 0.5rem 3rem 3rem 3rem;
    border-radius: 6rem;
    background-color: #bcd6a7;
    color: rgb(47, 81, 39);
    margin-right: 20px;
    margin-left: 20px;
    position: relative;
  }
  .why {
    padding: 0.5rem 3rem 3rem 3rem;
    border-radius: 6rem;
    background-color: #bcd6a7;
    color: rgb(47, 81, 39);
    margin-right: 20px;
    margin-left: 20px;
    position: relative;
}

section.goal::before {
	content: "";
    display: block;
    width: 20vw;
    height: 20vw;
    position: absolute;
    top: 23rem;
    background-image: url(images/bee-svgrepo-com.svg);
    z-index: -5;
    left: -10rem;
    background-repeat: no-repeat;
}


section.how::before
{
  content: "";
    display: block;
    width: 33vw;
    height: 33vw;
    position: absolute;
    top: -151rem;
    background-image: url(images/racoon-svgrepo-com.svg);
    z-index: 5;
    left: -28rem;
    background-repeat: no-repeat;
  }
section.when::before {
	content: "";
    display: block;
    width: 20rem;
    height: 20rem;
    position: absolute;
    top: 194rem;
    background-image: url(images/beetle-insect-svgrepo-com.svg);
    z-index: 5;
    left: -28rem;
    background-repeat: no-repeat;
}

section.where::before {
	content: "";
	display: block;
  width: 9vw;
  height: 9vw;
  top: 22rem;  /* top right corner */
  right: -2rem;  /* top right corner */
  background-size: contain;
  position: absolute;
	background-image: url(images/hedgehog-svgrepo-com.svg);
}

section.why::before {
  content: "";
  display: block;
  width: 25vw;
  width: 35vw;
  height: 35vw;
  left: 55rem;
  position: absolute;
  top: 56.69rem;
  background-image: url(images/deer-svgrepo-com.svg);
  z-index: 5;
  background-repeat: no-repeat;
}
}