.typesof-breast-cancer {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  margin-top: 5rem;
}

.typesof-breast-cancer__main-heading {
  display: flex;
  flex-wrap: wrap;
  /* margin-left: 0.6rem; */
  width: 95%;
  position: relative;
  top: -2.3rem;
}

.typesof-breast-cancer__sub-heading {
  margin-left: 1.3rem;
  width: 10.54rem;
}
.typesof-breast-cancer__sub-heading > h3 {
  font-size: 1rem;
  font-weight: 400;
  line-height: 0.3rem;
}
.typesof-breast-cancer__sub-heading > h3 > span {
  color: var(--brandClr);
  font-weight: 900;
}
.typesof-breast-cancer__sub-heading > h5 {
  font-size: 1rem;
  font-weight: 700;
  position: relative;
}
.typesof-breast-cancer__sub-heading > h5 > img {
  width: 6rem;
  height: 0.55rem;
  position: absolute;
  bottom: -0.4rem;
  right: 2.8rem;
}

.typesof-breast-cancer__main-heading > img {
  width: 5.45rem;
  height: 7.33rem;
  position: relative;
  top: -2.2rem;
}

.typesof-breast-cancer__sub-heading > p {
  font-size: 0.54rem;
  font-weight: 400;
  line-height: 0.59rem;
  color: #263238;
  margin-top: 0.8rem;
  position: relative;
  text-transform: capitalize;
}

.typesof-breast-cancer__sub-heading > p > img:nth-child(2) {
  width: 2.25rem;
  height: 1.23rem;
  position: absolute;
  left: -2.1rem;
  bottom: -1.2rem;
}

.typesof-breast-cancer__sub-heading > p > img:nth-child(1) {
  width: 2.13rem;
  height: 1.95rem;
  position: absolute;
  right: 3rem;
  bottom: -1.8rem;
}

.typesof-breast-cancer__stages {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  padding: 0.6rem;
  gap: 0.8rem;
  position: relative;
  top: -3.1rem;
}
.typesof-breast-cancer__main-heading2 {
  position: relative;
  top: -3.1rem;
  gap: 0.6rem;
  margin-left: 0.6rem;
}
.typesof-breast-cancer__first-stage {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  width: 7.6rem;
}

.typesof-breast-cancer__first-stage > img {
  width: 0.36rem;
  height: 0.36rem;
  margin-top: 0.2rem;
  margin-right: 0.3rem;
}
.typesof-breast-cancer__stages-container {
  display: flex;
  flex-direction: column;
}

.typesof-breast-cancer__stages-container > h3 {
  font-size: 0.63rem;
  font-weight: 700;
  color: var(--brandClr);
  margin-bottom: 0.1rem;
}

.typesof-breast-cancer__stages-container > p {
  font-size: 0.54rem;
  font-weight: 400;
  line-height: 0.58rem;
  margin-bottom: 0.22rem;
}

.typesof-breast-cancer__stages-container > span {
  /* background-color: transparent;
  border: none;
  outline: none; */
  font-size: 0.36rem;
  font-weight: 400;
  color: #d47fa1;
  text-decoration: underline;
  cursor: pointer;
  z-index: 5;
}
.stethascoope-container {
  position: relative;
}
.stethascoope-container > img {
  width: 5.87rem;
  height: 8rem;
  position: absolute;
  right: -2.3rem;
  top: -4rem;
  /* transform: scale(1); */
  transform: rotate(5deg);
}

.typesof-breast-cancer__subtypes-headubg {
  font-size: 0.62rem;
  color: #263238;
  line-height: 0.63rem;
  font-weight: 700;
  width: 100%;
  text-align: right;
  text-transform: capitalize;
  position: relative;
  width: 94%;
  margin-bottom: 1.2rem;
  top: -2.8rem;
}
.typesof-breast-cancer__subtypes-headubg > img:nth-child(1) {
  width: 2.24rem;
  height: 2.35rem;
  position: absolute;
  right: 8.5rem;
  top: 0.4rem;
}
.typesof-breast-cancer__subtypes-headubg > img:nth-child(2) {
  width: 4.61rem;
  height: 0.22rem;
  position: absolute;
  right: -0.2rem;
  top: 0.6rem;
}
.stethascope2 {
  display: none;
}

.triple-stage {
  order: 2;
}
.luminal-stage {
  order: 3;
}
.her2-stage {
  order: 1;
}
@media screen and (min-width: 768px) {
  .typesof-breast-cancer__main-heading {
    margin-left: 0;
  }
  .typesof-breast-cancer__main-heading > img {
    width: 9.09rem;
    height: 12rem;
    position: relative;
    top: -2.2rem;
  }

  .typesof-breast-cancer__sub-heading > h3 {
    font-size: 1.13rem;
    width: 11.6rem;
  }
  .typesof-breast-cancer__sub-heading > h5 {
    line-height: 1.83rem;
    font-size: 1.13rem;
  }
  .typesof-breast-cancer__sub-heading > p {
    width: 25.11rem;
    font-size: 0.75rem;
  }
  .typesof-breast-cancer__sub-heading > p > img:nth-child(2) {
    width: 3.05rem;
    height: 1.92rem;
    position: absolute;
    left: 2.4rem;
    bottom: -2.4rem;
  }
  .typesof-breast-cancer__sub-heading > p > img:nth-child(1) {
    width: 3.32rem;
    height: 3.05rem;
    position: absolute;
    right: 5.5rem;
    bottom: -3.3rem;
  }

  .typesof-breast-cancer__stages {
    width: 23.11rem;
    align-self: flex-end;
    justify-content: space-between;
    position: relative;
    top: -7rem;
    left: -2rem;
  }
  .typesof-breast-cancer__main-heading {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
  }
  .typesof-breast-cancer__main-heading2 {
    justify-content: center;
    align-items: flex-start;
    position: relative;
    top: -6.5rem;
    gap: 0 1.5rem;
  }
  .typesof-breast-cancer__main-heading2 > .typesof-breast-cancer__first-stage {
    width: 10rem !important;
  }
  .stethascope {
    display: none;
  }
  .stethascope2 {
    width: unset !important;
    height: 13.27rem !important;
    position: absolute;
    display: block;
    top: -1rem !important;
    left: -16.2rem !important;
    /* transform: scale(1); */
    transform: rotate(-4deg) !important;
  }
  .typesof-breast-cancer__subtypes-headubg {
    position: relative;
    top: -5.5rem;
    font-size: 1.13rem;
  }
  .last-stage-container {
    position: relative;
    top: -4.5rem;
    left: -2rem;
  }
  .triple-stage {
    order: 1;
  }
  .luminal-stage {
    order: 2;
  }
  .her2-stage {
    order: 3;
  }
  .typesof-breast-cancer__stages-container > p {
    font-size: 0.54rem;
    font-weight: 400;
    line-height: 0.58rem;
    margin-bottom: 0.22rem;
  }
  .typesof-breast-cancer__first-stage {
    width: 10.5rem;
  }
  .typesof-breast-cancer__subtypes-headubg > img:nth-child(2) {
    width: 10.35rem;
    height: 0.49rem;
    position: absolute;
    right: -0.2rem;
    top: 1rem;
  }

  .typesof-breast-cancer__subtypes-headubg > img:nth-child(1) {
    right: 15.3rem;
  }
}
