#ft--portfCon {
  /* height: 100dvh; */
  padding: var(--section--padding) 0;
}
.ft--cat {
  /* border: var(--cssDebug1); */
  background-color: var(--primary--clr);
  width: max-content;
  color: var(--white--text);
  border-radius: 5px;
  padding: 0.3rem;
}

.ft--textBox {
  & h1 {
    letter-spacing: 1.5px;
    color: var(--white--text);
    margin-top: 0.8rem;
  }
  & p {
    max-width: 680px;
    padding-right: 13rem;
    line-height: 22px;
    margin-top: 0.5rem;

    color: var(--text--clr2);
  }
}

.ftportf--btn {
  margin-top: var(--btn--margin);
  /* margin-top: 2rem; */
}
.slide > * {
  isolation: isolate;
}
.slide {
  position: relative;
  padding: var(--section--padding);
  height: 100%;
  width: 100%;
  border-radius: 5px;
  /* border: var(--cssDebug1); */
}
.pfThumbnail {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.slide::before {
  /* border-radius: 5px; */
  overflow: hidden;
  position: absolute;
  content: "";
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;

  background: linear-gradient(35deg, #000 20%, rgba(0, 0, 0, 0.2));
  /* background: #000; */
}

#potf--filters {
  padding: var(--section--padding) 0;
}

.cat--filter {
  display: flex;
  justify-content: flex-end;
}
#filter--form {
  display: flex;
  gap: 1rem;
  align-items: center;
  width: max-content;
  /* border: var(--cssDebug1); */
}

.select--catCon {
  border-radius: 3px;

  width: 180px;
  & #filter--portf {
    width: 100%;
    padding: 1rem;
    /* appearance: none; */
    background: var(--lightNeutral);
    color: var(--mainText--clr);
  }
}

.filter--btn {
  padding: 0.8rem;
  background: var(--primary--clr);
  border-radius: 3px;
  color: var(--white--text);
  cursor: pointer;
}

#portf--listingCon {
  display: grid;
  grid-template-columns: repeat(3, minmax(410px, 1fr));
  gap: 1.5rem 0;
  align-items: center;
  /* border: var(--cssDebug1); */
  padding-bottom: var(--section--padding);
}

.prtf---listing {
  width: 400px;
  height: 400px;
  padding: 0.8rem;

  & .prtfListing--thumbnail {
    overflow: hidden;
    height: 80%;
    width: 100%;
    border-radius: 10px;
  }
  & .prtfListing--thumbnail > img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    border-radius: 10px;
  }
}

.prtfListing--btn {
  display: inline-block;
  padding-left: 0.5rem;
  margin-top: 0.5rem;
  color: var(--primary--clr);
  font-weight: 500;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  width: fit-content;
  & span {
    font-size: 13px;
  }

  & .prtf--icon {
    width: 20px;
    height: 20px;
  }
}

/* ---------------------------MOBILE RESPONSIVENESS -----------------------------*/

@media screen and (max-width: 500px) {
  /* --------Portfolio Hero section-------- */
  .slide {
    padding: 2rem;
  }
  .ft--textBox {
    & p {
      max-width: 100%;
      padding: 0;
    }
  }
  
  /* Portfolio listing section */
  .cat--filter{
    /* border: var(--cssDebug1); */
    padding-right: 1rem;
    
  }

  #portf--listingCon {
    grid-template-columns: 1fr;
    gap: 2rem;
    justify-items: center;
  }
}
