/* --- Google Font --- */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap");

/* reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
body {
  overflow-y: hidden;
}

/* --- Container --- */
main {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* --- Circle Background --- */
.circle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #017143;
  clip-path: circle(600px at right 800px);
}

/* --- Header --- */
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header .logo {
  position: relative;
  max-width: 80px;
}

/* --- Header - navigation --- */
header ul {
  position: relative;
  display: flex;
  align-items: center;
}
header ul li {
  list-style: none;
}
header ul li a {
  display: inline-block;
  text-decoration: none;
  font-weight: 500;
  color: #333;
  margin-left: 40px;
}

/* --- Content section --- */
.content {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* --- TextBox --- */
.content .textBox {
  position: relative;
  max-width: 600px;
}
.content .textBox h2 {
  color: #333;
  font-size: 4em;
  font-weight: 500;
  line-height: 1.05em;
  margin-bottom: 5px;
}
.content .textBox h2 span {
  font-weight: 900;
  font-size: 1.2em;
  color: #017143;
}
.content .textBox a {
  display: inline-block;
  margin-top: 20px;
  background-color: #017143;
  color: #fff;
  padding: 10px 20px;
  border-radius: 40px;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
}

/* --- imgBox --- */
.content .imgBox {
  width: 600px;
  display: flex;
  justify-content: flex-end;
  padding-right: 50px;
  margin-top: 50px;
}
.content .imgBox img {
  max-width: 340px;
  z-index: 9;
}

/* --- imgBtn --- */
.thumb {
  position: absolute;
  left: 50%;
  bottom: -35px;
  transform: translateX(-50%);
  display: flex;
}
.thumb li {
  list-style: none;
  display: inline-block;
  cursor: pointer;
  margin: 0 20px;
}
.thumb li img {
  max-width: 60px;
}
.thumb li:hover {
  transform: translateY(-20px);
  behavior: smooth;
}

/* --- socialBtn --- */
.social {
  position: absolute;
  top: 50%;
  right: -70px;
  transform: translateY(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.social li {
  list-style: none;
}
.social li a {
  display: inline-block;
  margin: 5px 0;
  transform: scale(0.6);
  filter: invert(1);
}

/* --- Media Queries --- */
@media (max-width: 991px) {
  body {
    overflow-y: auto;
  }
  main {
    padding: 20px 20px 120px;
  }
  .circle {
    clip-path: circle(400px at center bottom);
  }
  header {
    padding: 20px;
  }
  header .logo {
    max-width: 60px;
  }
  header ul {
    display: none;
  }
  header ul li a {
    font-size: 1.5em;
    margin: 5px 0;
  }
  .content {
    flex-direction: column;
    margin-top: 100px;
  }
  .content .textBox {
    max-width: 100%;
  }
  .content .textBox h2 {
    font-size: 2.5em;
    margin-bottom: 15px;
  }
  .content .imgBox {
    max-width: 100%;
    justify-content: center;
  }
  .content .imgBox img {
    max-width: 300px;
  }
  .thumb {
    bottom: -100px;
  }
  .thumb li img {
    max-width: 40px;
  }
  .social {
    position: absolute;
    background-color: #017143;
    right: -20px;
    width: 50px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
  }
  /* navigation for mobiles */
  .toggle {
    position: relative;
    width: 30px;
    height: 30px;
    cursor: pointer;
    background-image: url("../images/menu.png");
    background-size: 30px;
    background-position: center;
    background-repeat: no-repeat;
    filter: invert(1);
    z-index: 11;
  }
  .active {
    position: fixed;
    right: 20px;
    background: url("../images/close.png");
    background-size: 25px;
    background-position: center;
    background-repeat: no-repeat;
  }
  .nav-active {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #fff;
    z-index: 10;
  }
}
