@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "montserrat";
}

*{
  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: none;
  }
  
  .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;
}

/* about */
.sect-about{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}
/* farmer-img */
.farmer-img, .content{
  width: 80%;
  margin-top: 2em;
}
.content{
  line-height: 27px;
  font-weight: 500;
  font-size: 18px;
}
h5{
  margin-top: 1.5em;
  font-size: 24px;
}
ul{
  margin-top: 1em;
}
.about-list{
  list-style: decimal;
  line-height: 27px;
  font-weight: 500;
  font-size: 18px;
}
/* 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;
  cursor: pointer;
}
.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;
}

/* screensize 765px */
@media only screen and (max-width: 768px){
  /* 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;
}
}

/* smaller screen */
@media only screen and (max-width: 400px){
  ul{
    width: 80%;
  }
  .logo{
    width: 120px;
    }
}