/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

#farmers {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: 15vh;
  gap: 48px;
}

.farmers__header-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-family: 'Sofia Sans', sans-serif;
  min-height: 70vh;
  width: 100%;
}

.farmers__header-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 24px;
}


.farmers__header-title__container {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.farmers__header-title {
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1;

  >span {
    color: #FFB71B;
  }
}

.farmers__header-description__container {
  -webkit-box-flex: 2;
  -ms-flex: 2;
  flex: 2;
}

.farmers__header-description {
  color: #565656;
  font-size: 1.2rem;
}

.farmers__content-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 24px;
}

.farmers__content-item__container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: reverse;
  -ms-flex-direction: column-reverse;
  flex-direction: column-reverse;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

.farmers__content-item__image {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-preferred-size: 30%;
  flex-basis: 30%;
}

.farmers__content-item__image>svg {
  position: relative;
  max-height: 200px;
  min-height: 150px;
  margin: auto;
}

.farmers__content-item__text {
  font-family: 'Oswald', sans-serif;
  font-weight: 900;
  -ms-flex-preferred-size: 60%;
  flex-basis: 60%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  text-transform: uppercase;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 16px;
  text-align: center;
  cursor: pointer;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;

  >.flex {
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }
}

.item__text-content {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  gap: 4px;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.farmers__content-title {
  font-size: 3.2rem;
  line-height: 1;
  color: white;
}

.farmers__content-text {
  font-size: .8rem;
  color: #565656;
}


.farmers__content-divider {
  height: 1px;
  background-color: white;
  width: 100%;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (min-width: 468px) {
  .farmers__content-item__container {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
  }

  .item__text-content {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .farmers__content-text {
    font-size: 1rem;
  }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
  .farmers__content-container {
    gap: 48px;
  }

  .farmers__content-item__container {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
  }

  .farmers__content-item__text {
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
  }

  .farmers__content-item__text>.flex {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 4px;
  }

  .farmers__content-title {
    font-size: 3.2rem;
    line-height: 1;
    color: white;
  }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
  .farmers__header-content {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
  }

  .farmers__header-title {
    font-size: 4rem;
  }

  .farmers__header-description {
    font-size: .9rem;
    line-height: normal;
  }

  .farmers__content-item__container {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
  }

  .farmers__content-item__image {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-preferred-size: 45%;
    flex-basis: 45%;
  }

  .farmers__content-item__image>svg {
    position: relative;
    max-height: 200px;
    min-height: 150px;
    margin: auto;
  }

  .farmers__content-item__text {
    width: 100%;
    gap: 16px;

    >.flex {
      -webkit-box-orient: horizontal;
      -webkit-box-direction: normal;
      -ms-flex-direction: row;
      flex-direction: row;
    }

    >.farmers__content-divider {
      opacity: 1;
    }

  }

  .item__text-content {
    width: 100%;
    gap: 8px;
  }

  .farmers__content-text {
    font-size: 1.2rem;
    text-align: end;
    line-height: 1;
    font-weight: 400;
  }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
  .farmers__content-divider.reveal {
    width: 0;
  }

  .farmers__content-item__container {
    gap: 48px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }

  .farmers__content-item__text {
    -ms-flex-preferred-size: calc(70% - 48px);
    flex-basis: calc(70% - 48px);
  }

  .farmers__content-item__image {
    -ms-flex-preferred-size: 30%;
    flex-basis: 30%;
    position: relative;
  }

  .farmers__content-item__image>svg {
    position: absolute;
    max-height: 300px;
    height: 250%;
    opacity: 0;
  }

  .farmers__content-item__text:hover~.farmers__content-item__image {
    position: absolute;
    height: 400px;
    opacity: 1;
    -webkit-transition: 1s;
    -o-transition: 1s;
    transition: 1s;
    left: 0;
  }

  .farmers__content-item__text:hover~.farmers__content-item__image>svg {
    opacity: 1;
    -webkit-transition: 1s;
    -o-transition: 1s;
    transition: 1s;
  }

  .item__text-content {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
  }

  .farmers__header-title {
    font-size: 4.4rem;
  }

  .farmers__content-title {
    font-size: 3rem;
    color: #565656;
  }

  .farmers__content-item__text:hover {
    .farmers__content-title {
      color: white;
      -webkit-transition: .5s;
      -o-transition: .5s;
      transition: .5s;
    }

    .farmers__content-divider {
      width: 100%;
      -webkit-transition: 1s;
      -o-transition: 1s;
      transition: 1s;
    }
  }

  .farmers__header-description {
    font-size: 1rem;
    line-height: 1;
  }
}