.types-of-cancer-main-container {
  text-align: center;
  padding: 0px 0.64rem;
  margin-top: 0.5rem;
}
.types-of-cancer-main-container h2,
.patientsReview-main-section h2 {
  font-size: 1rem;
  font-weight: 700;
  color: #000;
  line-height: 1.07rem;

  @media (max-width: 768px) {
    margin-top: 1rem;
  }
}

.types-of-cancer-main-container h2 > span,
.patientsReview-main-section > h2 > span {
  color: var(--brandClr);
  font-size: 1rem;
}

.typesofcancer-subcontainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.72rem;
  margin-top: 1rem;
}

.typesofcancer-subcontainer__card {
  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;
  box-shadow: 0px 3.8683040142059326px 17.40736961364746px 0px #9ea8bd4f;
  box-shadow: 0.5380151271820068px 0.5380151271820068px 3.228090763092041px 0px
    #00000026;
}

.typesofcancer-subcontainer__card > img {
  width: 4.4rem;
  height: 4.4rem;
  position: absolute;
  top: 1.28rem;
}

.typesofcancer-subcontainer__card > p {
  font-size: 1rem;
  font-weight: 600;
  height: 1.15rem;
  color: #000;
  position: absolute;
  top: 6.36rem;
  text-transform: capitalize;
  line-height: 0.9rem;
}

.popup-container {
  background-color: #f0d0dd;
  width: 16.81rem;
  height: 36.31rem;
  display: flex;
  flex-direction: column;
}

div:where(.swal2-container) .swal2-html-container {
  margin: auto !important;
  height: 100% !important;
  overflow: hidden !important;
}

div:where(.swal2-container) button:where(.swal2-close):hover {
  transform: none;
  background: var(--brandClr) !important;
  color: #fff !important;
  border: none;
  outline: none;
}

.popup-container > img {
  width: 16.81rem;
  height: 16.5rem;
}
.popup-container__text-container {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #f0d0dd;
  margin: 1.66rem 0px;
}

.popup-container__text-container > h3 {
  color: var(--brandClr);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.7rem;
}
.popup-container__text-container > form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.swal2-close {
  top: 0.8rem !important;
  left: -0.8rem !important;
}
.popup-container__text-container > form > input {
  width: 15.18rem;
  height: 2.07rem;
  background-color: #fff;
  color: #000;
  border: none;
  outline: none;
  border-radius: 0.19rem;
  padding: 0 0.52rem;
  margin-bottom: 1.06rem;
  font-size: 0.72rem;
  font-weight: 400;
  margin-bottom: 1.27rem;
  box-shadow: 1px 1px 2px 0px #3e434740;
}

.popup-container__text-container > form > label {
  font-size: 1rem;
  font-weight: 600;
  color: #000 !important;
  margin: 0.65rem 0px;
}

.popup-container__text-container > form > input:focus {
  border: none;
  outline: none;
}

.popup-container__text-container > form > button,
.popup-container__text-container > form > a > button {
  background-color: var(--brandClr);
  width: 10.5rem;
  height: 2.81rem;
  border-radius: 0.27rem;
  color: #fff;
  border: none;
  outline: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  font-weight: 600;
}

.popup-container__text-container > form > a {
  text-decoration: none;
  color: #fff;
}

.popupbtn1,
.popupbtn1 > img {
  width: 1.35rem;
  height: 1.35rem;
  border: none;
  outline: none;
  cursor: pointer;
  position: relative;
  background-color: transparent;
  right: -3.8rem;
  top: 1.1rem;
}

.popupbtn2 {
  display: none;
}

div:where(.swal2-container) div:where(.swal2-popup) {
  background-color: transparent !important;
  /* width: 17.86rem !important;
    height: 41.45rem !important; */
}

@media screen and (min-width: 768px) {
  .typesofcancer-subcontainer {
    gap: 0.62rem;
  }
  .types-of-cancer-main-container h2,
  .patientsReview-main-section > h2 {
    margin-bottom: 0.5rem;
  }
  .types-of-cancer-main-container br,
  .patientsReview-main-section br {
    display: none;
  }
  .typesofcancer-subcontainer__card {
    width: 5.81rem;
    height: 6.58rem;
    border-radius: 0.26rem;
    box-shadow: 0px 7.144636154174805px 32.15086364746094px 0px #9ea8bd4f;

    box-shadow: 0.9936969876289368px 0.9936969876289368px 5.96218204498291px 0px
      #00000026;
  }

  .swal2-html-container {
    width: 25.1rem;
  }
  .typesofcancer-subcontainer__card > img {
    width: 3.37rem;
    height: 3.37rem;
    top: 0.6rem;
  }
  .typesofcancer-subcontainer__card > p {
    font-size: 0.62rem;
    top: 4.61rem;
    width: 5.1rem;
    font-weight: 600;
    line-height: 0.6rem;
  }
  .popup-container {
    height: 13.11rem;
    width: 100%;
    flex-direction: row;
    align-items: center;
  }
  .popup-container > img {
    width: 12.6rem;
    height: 100% !important;
  }
  .popup-container__text-container {
    height: 100%;
    margin: auto;
  }

  .popup-container__text-container > h3 {
    margin-top: 0.9rem;
    font-size: 0.74rem !important;
    margin-bottom: 0.43rem;
  }
  .popup-container__text-container > form > input {
    width: 10.9rem;
    height: 1.22rem;
    border-radius: 0.11rem;
    font-size: 0.47rem;
    margin-bottom: 0.64rem;
  }
  .popup-container__text-container > form > button,
  .popup-container__text-container > form > a > button {
    padding: 0.3rem 0.45rem;
    width: 5.03rem;
    height: 1.39rem;
    font-size: 0.62rem;
    margin-bottom: 0.4rem;
  }

  .popupbtn1,
  .popupbtn1 > img {
    display: none;
  }

  .popupbtn2,
  .popupbtn2 > img {
    display: block;
    width: 1.26rem !important;
    height: 1.26rem !important;
    border: none;
    outline: none;
    cursor: pointer;
    position: relative;
    background-color: transparent;
    left: 11.8rem;
    top: 0.7rem;
  }

  div:where(.swal2-container) div:where(.swal2-popup) {
    background-color: transparent !important;
    /* width: 24.11rem !important;
    height: 15.58rem !important; */
  }

  .popup-container__text-container > form > label {
    margin: 0.4rem 0 0.2rem 0px;
    position: relative;
    bottom: 0.35rem;
  }
}
