
.typesofbiopsy-container__cardscontainer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
  text-align: center;
}

.h2-text {
  font-size: 1rem;
  font-weight: 700;
  color: #000;
}

.h2-span__text {
  color: var(--brandClr);
}

.typesofbiopsy-container__eachcard {
  width: 8.18rem;
  height: 9.63rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  border-radius: 0.35rem;
  cursor: pointer;
  box-shadow: 0px 3.87px 17.41px 0px #9ea8bd4f;

  box-shadow: 0.54px 0.54px 3.23px 0px #00000026;
}

.typesofbiopsy-container__eachcard > img {
  width: 4.4rem;
  height: 4.4rem;
  position: absolute;
  top: 1.28rem;
}

.typesofbiopsy-container__eachcard > p {
  font-size: 0.9rem;
  font-weight: 600;
  width: 8.09rem;
  height: 1.15rem;
  color: #000;
  position: absolute;
  top: 6.36rem;
  text-transform: capitalize;
  line-height: 1.13rem;
} 

@media screen and (min-width: 768px) {
  .hide-br {
    display: none;
  }
  .hide-br2 {
    display: inline;
  }
  .typesofbiopsy-container__cardscontainer {
    gap: 0.81rem;
  }
  .typesofbiopsy-container h2 {
    margin-bottom: 0.5rem;
  }
  .typesofbiopsy-container__eachcard {
    width: 7.63rem;
    height: 7.38rem;
    border-radius: 0.26rem;
    box-shadow: 0px 0.13rem 0.6066rem 0px #9ea8bd4f;
    box-shadow: 0.0186rem 0.0186rem 0.1124rem 0px #00000026;
  }

  .hide-card {
    display: none;
  }

  .typesofbiopsy-container__eachcard > img {
    width: 3.37rem;
    height: 3.37rem;
    top: 1rem;
  }
  .typesofbiopsy-container__eachcard > p {
    font-size: 0.62rem;
    top: 5.22rem;}
    .typesofbiopsy-container {
      text-align: center;
    }

    .typesofbiopsy-container__cardscontainer {
      display: flex;
      flex-wrap: wrap;
      gap: 0.72rem;
    }

    .h2-text {
      font-size: 1rem;
      font-weight: 700;
      color: #000;
    }

    .h2-span__text {
      color: var(--brandClr);
    }

    .typesofbiopsy-container__eachcard {
      width: 8.18rem;
      height: 9.63rem;
      position: relative;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      background-color: #fff;
      border-radius: 0.35rem;
      cursor: pointer;
      box-shadow: 0px 3.87px 17.41px 0px #9ea8bd4f;

      box-shadow: 0.54px 0.54px 3.23px 0px #00000026;
    }

    .typesofbiopsy-container__eachcard > img {
      width: 4.4rem;
      height: 4.4rem;
      position: absolute;
      top: 1.28rem;
    }

    .typesofbiopsy-container__eachcard > p {
      font-size: 0.9rem;
      font-weight: 600;
      width: 8.09rem;
      height: 1.15rem;
      color: #000;
      position: absolute;
      top: 6.36rem;
      text-transform: capitalize;
      line-height: 1.13rem;
    }

    @media screen and (min-width: 768px) {
      .hide-br {
        display: none;
      }
      .typesofbiopsy-container__cardscontainer {
        gap: 0.81rem;
      }
      .typesofbiopsy-container h2 {
        margin-bottom: 0.5rem;
      }
      .typesofbiopsy-container__eachcard {
        width: 7.63rem;
        height: 7.38rem;
        border-radius: 0.26rem;
        box-shadow: 0px 0.13rem 0.6066rem 0px #9ea8bd4f;
        box-shadow: 0.0186rem 0.0186rem 0.1124rem 0px #00000026;
      }

      .hide-card {
        display: none;
      }

      .typesofbiopsy-container__eachcard > img {
        width: 3.37rem;
        height: 3.37rem;
        top: 1rem;
      }
      .typesofbiopsy-container__eachcard > p {
        font-size: 0.62rem;
        top: 5.22rem;
        width: 5.71rem;
        font-weight: 600;
        line-height: 0.6rem;
      }
    }

    width: 5.71rem;
    font-weight: 600;
    line-height: 0.6rem;
  }
}
