@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

*{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "montserrat";
}
header{
  background-color: #fff;
  width: 1440px;
  max-width: 100%;
  height: 150px;
  margin: 0 auto;
}
/*style hamburger menu layout */
.hamburger{
  display: none;
  cursor: pointer;
}
.bar{
  background-color: #000;
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  transition: all 0.3s ease-in-out;
}
@media(max-width: 768px){
  .hamburger{
    display: block;
    margin-right: 1.2em;
  }
  .nav-container{
   display: block;
  }
  
  .hamburger.active .bar:nth-child(2){
    opacity: 0;
  }
  .hamburger.active .bar:nth-child(1){
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.active .bar:nth-child(3){
    transform: translateY(-8px) rotate(-45deg);
  }
  .nav-container {
    position: absolute;
    left: -100%;
    top: 70px;
    gap: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    width: 100%;
    text-align: center;
    transition: 0.3s;
  }
  .nav-list{
    margin: 1em 0;
  }
  .nav-container.active{
    left: 0;
  }
}
/* nav-wrapper style*/
.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-logo{
  align-items: center;
}
.nav-container {
  list-style: none;
}
.nav-list a{
  text-decoration: none;
  color: #000;
}
.nav-list{
  font-style: normal;
  font-size: 18px;
  font-weight: 800;
  display: inline-flex;
}
.nav-list{
  margin: .4em;
}
.nav-list li a:hover{
  border-bottom: 3px solid #941B0C;
  transition: 0.3s;
}
.nav-container {
  margin-right: 1em;
}
/* section-one style */
.section-one {
  background-image: url(./image/green-grass.png);
  background-position: cover;
  height: 669px;
  max-width: 100%;
  color: #EBEBEB;
}
.section-container {
  padding: 14em 2em;
  max-width: 80%;
}
.section--title{
  text-transform: uppercase;
}
.section-text{
  margin-top: 2em;
  line-height: 24px;
  max-width: 673px;
}
/* section-two-page and main page */
.page-head{
  background-color: #306410;
  height: 362px;
  width: 610px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
}
.page-wrapper {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  height: 600px;
  color: #000;
}
.main-container, .page-three-container {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  height: 600px;
  color: #000;

}
.page-list{
  list-style: inside;
}
.page-text,.main-title{
  margin-bottom: .5em;
}
.page-content,.page-content{
  line-height: 24px;
}
.ridges,.soil-img{
  height: 362px;
  width: 610px;
}  
.main-text,.page-three-content{
  width: 500px;
  padding-bottom: 2em;
}
/* style main layout */
.main-title{
 text-align: center;
}
.page-content {
  width: 400px;
}
/* button layout */
.main-btn{
  display: block;
  margin: 0 auto;
  background-color: #A8D75CD4;
  padding: 1em 3em; 
  border: none;
  border-radius: 20px;
  font-weight: 800;
}
.main-btn:hover{
  opacity: .75;
}
.inner-button{
  display: flex;
  justify-content: space-evenly;
}
.arrow-img {
  margin-left: .9em;
}

.section-image-wrapper{
  display: flex;
}

.section-footer{
  background-color: #4493479C;
  height: 300px;
}
.section-footer-title{
  text-align: center;
  padding-top: 1em;
  padding-bottom: .7em;
  color: #000;
  font-weight: 600;
}
.section-image-wrapper{
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  margin-top: 2em;
}
/* last-footer */
.last-section{
  height: 500px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
h3{
  text-align: center;
}
.followus-container{
  display: flex;
  justify-content: space-between;
}
.footer-list{
  list-style: none;
}
.slogan {
  width: 350px;
}
.twitter-icon,
.linkeIn-icon,
.instalgram-icon,
.fbook-icon{
  margin: .8em;
}
.icon:hover {
  transform: scale(1.3);
}
.footer-list{
  margin: .5em;
}
.footer-list{
  font-weight: bold;
}
.footer-list:hover{
  text-decoration: underline;
}
.slogan{
  font-weight: bold;
}
/* footer */
.footer-wrapper{
  background-color: #4493479C;
  height: 177px;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media only screen and (max-width: 400px){
  .page-content{
    color: #fff;
  }
}
/* Responsiveness for main section layout */
@media only screen and (max-width: 768px){
  /* last-footer */
  .logo{
    width: 120px;
    }
    /* last-footer */
.last-section{
  height: 500px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-direction: column;
}
h3{
  text-align: center;
}
.followus-container{
  display: flex;
}
.footer-list{
  list-style: none;
}
.last-content, .followus-wrapper{
  padding: 2em 0;
}
.twitter-icon,
.linkeIn-icon,
.instalgram-icon,
.fbook-icon{
  margin: .8em;
}
.footer-list{
  margin: .5em;
}
.footer-list:hover{
  text-decoration: underline;
  font-weight: bold;
}

  /* section-two layout style */
  .page-wrapper{
    display: flex;
    justify-content: center;
    flex-direction: column;
  }
  
  .main-container,.page-three-container{
    flex-direction: column;
  }
  .page-three-container{
    padding-bottom: 2.8em;
  }
  .page-three-image{
    margin-top: -3em;
  }
  .main-img{
    display: flex;
    justify-content: center;
    margin-top: 4em;
    margin-bottom: 3em;
  }
  .main-title{
    text-align: center;
  }
  .main-text {
    padding: 1em 0;
    font-size: 20px;
    width: 90%;
    margin: 0 auto;
  }
  .main-btn{
    display: block;
    margin: 0 auto;
    background-color: #A8D75CD4;
    padding: 1em 3em; 
    border: none;
    border-radius: 20px;
    font-weight: 800;
  }
  .main-btn:hover{
    opacity: .75;
  }
  .inner-button{
    display: flex;
    justify-content: space-evenly;
  }
  .arrow-img {
    margin-left: .9em;
  }
  .page-content{
    font-size: 16px;
  }
  .page-text{
    text-align: center;
    font-size: 20px;
    margin-top: 10px;
  }
  .ridges{
   width: 300px;
   margin-top: 2em;
  }
  .img-tomatoe{
  width: 340px;
  margin-top: 2em;
}
.soil-img{
    width: 340px;
    height: 300px;
    margin-top: 2em;
  }
  .page-three-content{
    width: 350px;
    margin-top: 50px;
    font-size: 13.1px;
    color: #000;
  }
  /* section-footern style */
  .section-footer{
    background-color: #4493479C;
    margin-top: 10em;
  }
  .section-footer-title{
    text-align: center;
    padding-top: 1em;
    padding-bottom: 1em;
  }
  .section-image-wrapper{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    max-height: 250px;
    color: orange;
  }
  .designU, .polaris, .Nerdz{
    width: 70px;
  }
  .polaris{
    width: 40px;
  }
}
/* Tablet screen size */
@media(max-width: 820px) {
   /* last-footer */
.last-section{
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer-list{
  list-style: none;
}

  /* section-footer style */
  .section-image-wrapper{
    display: flex;
  }
  .main-container, .page-wrapper,.page-three-container{
    flex-direction: column;
  }
  .main-img{
    display: flex;
    justify-content: center;
    margin-top: 9em;
    margin-bottom: 3em;
}
.img-main,.ridges{
  width: 610px;
  height: 362px;
}
.main-title{
  text-align: center;
  color: #000;
}
.main-text, .page-content {
  padding: 1em 0;
  font-size: 18px;
  width: 90%;
  margin: 0 auto;
  color: #000;
  font-weight: 700;
}
.page-text{
  text-align: center;
}
/* button style */
.main-btn{
  display: block;
  margin: 0 auto;
  background-color: #A8D75CD4;
  padding: 1em 3em; 
  border: none;
  border-radius: 20px;
  font-weight: 800;
}
.main-btn:hover{
  opacity: .75;
}
.inner-button{
  display: flex;
  justify-content: space-evenly;
}
.arrow-img {
  margin-left: .9em;
}
.page-head{
  background-color: #306410;
  height: 362px;
  width: 610px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
}
.section-footer{
  background-color: #4493479C;
}
.twitter-icon,
.linkeIn-icon,
.instalgram-icon,
.fbook-icon{
  margin: .8em;
}
}