.essential-fatty-science {
  padding: var(--PT) 0px var(--PB);
  background: var(--background);
  position: relative;
  text-align: center;

  .mobilee {
    display: none;
  }

  img {
    height: auto;
  }

  .fishright {
    position: absolute;
    right: 0px;
    top: 9rem;
  }

  .fishleft {
    bottom: -40rem;
    left: 0;
    position: absolute;
  }

  .custom-text-box {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 0 auto;

    h3 {
      font-weight: 300;
    }

    h6 {
      font-size: 1.4rem;
      font-weight: 300;
      letter-spacing: 0.1em;
      line-height: 1.7;
    }

    h5,
    p {
      font-size: 2.8rem;
      font-weight: 300;
      line-height: 1.4;
    }

    &.custom-text-box1 {
      max-width: 91rem;
      padding-bottom: 7rem;
      position: relative;

      &:after {
        background: #141b4d;
        bottom: 0;
        content: "";
        height: 1px;
        left: 50%;
        position: absolute;
        transform: translateX(-50%);
        width: 16rem;
      }

      h6 {
        margin-left: auto;
        margin-right: auto;
        max-width: 85%;
      }
    }

    &.custom-text-box2 {
      max-width: 91rem;
      padding-top: 7rem;

      h3 {
        font-weight: 300;
      }

      h5 {
        font-weight: 300;
        margin-left: auto;
        margin-right: auto;
        max-width: 80rem;

        p {
          margin: 0;
        }
      }

      h6 {
        margin-left: auto;
        margin-right: auto;
        max-width: 80%;
      }
    }
  }

  .essential-fatty-science-inner {
    padding-bottom: 7rem;

    .essential-fatty-science__wrapper {
      display: flex;
      justify-content: center;
    }

    .essential-fatty-sciencebox {
      margin: 5rem 8rem 0;
      max-width: 29.2rem;
      text-align: center;

      span, p, h6 {
        color: #141b4d;
      }

      span.nametab {
        align-items: center;
        background: #d0debb;
        border-radius: 5rem;
        display: flex;
        font-size: 1.6rem;
        font-weight: bold;
        height: 3.6rem;
        letter-spacing: 0.15em;
        line-height: 1.7;
        justify-content: center;
        margin: 0 auto 1.5rem;
        text-align: center;
        width: 14.2rem;
      }

      h6 {
        font-size: 1.6rem;
        font-weight: bold;
        letter-spacing: 0.15em;
        line-height: 1.7;
        margin: 1.5rem 0 0;
        text-align: center;
        text-transform: uppercase;
      }

      p {
        font-size: 1.8rem;
        font-weight: 300;
        line-height: 1.5;
      }
    }
  }

  @media (max-width: 1280px) {
    .fishright {
      max-width: 30rem;
      top: 6rem;
    }

    .fishleft {
      bottom: 0;
      left: 0;
      max-width: 30rem;
    }

    .custom-text-box h3 {
      font-size: 3.4rem;
      line-height: 1.2;
    }

    .custom-text-box h5,
    .custom-text-box p {
      font-size: 2.3rem;
      line-height: 1.5;
    }

    .custom-text-box.custom-text-box1 {
      max-width: 54rem;
    }

    .custom-text-box.custom-text-box2 {
      max-width: 53rem;
    }

    .essential-fatty-science-inner .essential-fatty-sciencebox {
      margin: 3rem 3rem 0;
      max-width: 27rem;

      span.nametab {
        font-size: 1.4rem;
        line-height: 1.7;
      }

      h6 {
        font-size: 1.4rem;
        line-height: 1.7;
      }

      p {
        font-size: 1.6rem;
        line-height: 1.7;
      }
    }
  }

  @media (max-width: 767px) {
    .fishright {
      max-width: 20rem;
      top: 30%;
    }

    .fishleft {
      bottom: 8rem;
      max-width: 15rem;
    }

    .custom-text-box h5,
    .custom-text-box p {
      font-size: 2.3rem;
      line-height: 1.5;
    }

    .custom-text-box.custom-text-box1 {
      padding-bottom: 3rem;
    }

    .custom-text-box.custom-text-box1:after {
      width: 11rem;
    }

    .custom-text-box.custom-text-box2 {
      padding-top: 3rem;
      max-width: 43rem;
      margin: 0 auto;

    }

    .essential-fatty-science-inner .essential-fatty-science__wrapper {
      align-items: center;
      flex-direction: column;
    }

    .laptop {
      display: none;
    }

    .mobilee {
      display: block;
    }
  }
}
