.main_mt2 {
  margin-top: -300px;
  margin-bottom: 100px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.width_5 {
  width: 50%;
}

.width_10 {
  width: 100%;
}

.card2 {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.card2_details {
  margin-right: 10px;
  background: #f7f4ff;
  position: relative;
  padding: 20px;
  height: 310px;
}

.card2_details_flex {
  display: flex;
  margin-right: 10px;
  background: #f7f4ff;
  position: relative;
  padding: 20px;
  height: 200px;
}

.card2_text {
  color: #9d77f3;
  font-weight: 600;
  font-size: 20px;
}

.img_height {
  height: 160px;
}

@media only screen and (max-width: 1920px) {
  .main_mt2 {
    margin-top: -240px;
  }
}

@media only screen and (max-width: 1440px) {
  .main_mt2 {
    margin-top: -140px;
  }
}

@media only screen and (max-width: 900px) {
  .main_mt2 {
    margin-top: -100px;
    flex-direction: column;
  }
  .width_5 {
    width: 100%;
  }
  .card2_details_flex {
    display: block;
    height: auto;
  }
  .card2_details {
    height: auto;
  }
}

@media only screen and (max-width: 600px) {
  .main_mt2 {
    margin-top: -70px;
    margin-bottom: 100px;
  }
  .card2 {
    display: block;
    justify-content: space-between;
    margin-top: 20px;
    height: auto;
  }

  .card2_details {
    margin-right: 0px;
  }

  .card2_text {
    margin-top: 0px;
    margin-left: 0px;
    padding-top: 10px;
  }

  .img_height {
    height: 124px;
  }
}
