:root {
  --black: #000;
  --green: #1e523c;
  --white: #f0efed;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "PT Sans";
}

.wrapper {
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: 20px;
  /* background-color: red; */
}

html {
  background-color: var(--white);
}

a {
  color: inherit;
  text-decoration: none;
}

li {
  list-style: none;
}

button {
  border: none;
  cursor: pointer;
  color: inherit;
}

.green-btn {
  color: var(--white);
  background-color: var(--green);
  padding: 10px 25px;
  border-radius: 100px;
}

.white-btn {
  color: var(--green);
  background-color: var(--white);
  padding: 10px 25px;
  border-radius: 100px;
  max-width: fit-content;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "PT Sans Narrow";
}

p {
  line-height: 1.5;
  font-family: "PT Sans";
}

header .wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 20px;
}

header ul {
  display: flex;
  justify-content: center;
  gap: 40px;
  /* background-color: green; */
}

.close,
.menu {
  display: none;
}

section {
  padding-top: 20px;
  padding-bottom: 20px;
}

.hero-section h1 {
  color: var(--green);
  font-size: 32px;
  margin-bottom: 5px;
}

.hero-section > i {
  display: block;
  font-size: 18px;
  color: var(--green);
  margin-bottom: 15px;
}

.hero-section .description {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.hero-section .description i {
  color: #1e523c;
  border-left: 1.5px solid var(--green);
  padding-left: 5px;
  font-weight: bold;
}

.features img {
  width: 24px;
  height: auto;
  aspect-ratio: 1/1;
}

.features ul {
  margin-top: 5px;
}

.features ul li {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
}

.right-fit h2,
.how-to-join h2 {
  color: var(--green);
}

.right-fit p:first-of-type,
.how-to-join p:first-of-type {
  margin-bottom: 10px;
}

.candidates {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.candidates .candidate h4 {
  font-size: 18px;
}

.candidates .candidate {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.candidates .candidate img {
  border-radius: 12px;
  width: 100%;
  object-fit: cover;
  aspect-ratio: 1.7/1;
  margin-bottom: 8px;
}

.testimony-section h2 {
  color: var(--green);
}

.testimony-section .wrapper > p:first-of-type {
  margin-bottom: 10px;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 2fr));
  gap: 20px;
}

.testimonials .testimonial {
  background-color: var(--green);
  color: var(--white);
  padding: 25px 20px;
  border-radius: 16px;

  display: flex;
  flex-direction: column;
  gap: 15px;
}

.testimonials .testimonial div {
  margin-top: auto;
}

.testimonials .testimonial div p {
  font-weight: bold;
}

.read-more strong {
  font-size: 18px;
}

.read-more p {
  max-width: 100ch;
  margin-inline: auto;
}

.read-more .wrapper {
  text-align: center;
}

.read-more .wrapper .blog-container {
  background-color: var(--green);
  padding: 30px 20px;
  color: var(--white);
  border-radius: 16px;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

footer {
  background-color: var(--green);
  color: var(--white);
  margin-top: 20px;
  padding-block: 30px;
}

footer .wrapper {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

footer .wrapper * {
  flex: 1 0 200px;
  /* background-color: red; */

}

footer img {
  width: 100px;
  height: fit-content;
}

footer strong {
  font-size: 18px;
  display: block;
  margin-bottom: 10px;
}

footer li {
  margin-bottom: 3px;
}

@media only screen and (max-width: 840px) {
  .close,
  .menu {
    display: block;
  }

  header nav {
    position: fixed;
    padding: 30px 25px 30px 25px;
    background-color: var(--green);
    top: 0;
    height: 100vh;
    width: 100vw;
    z-index: 100;
    right: -100%;
    color: #000;
    transition: right 350ms linear;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  nav img {
    max-width: fit-content;
  }

  nav .close {
    margin-left: auto;
  }

  header ul {
    color: var(--white);
    flex-direction: column;
    align-items: center;
    height: 50%;
  }

  header ul .green-btn {
    color: var(--green);
    background-color: var(--white);
  }

  .open-menu {
    right: 0%;
  }

  .hero-section h1 {
    font-size: 32px;
  }
}

/* @media only screen and (max-width: 460px) {
  .crops .crop-img {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
  }
} */
