.profile {
  position: relative;
  height: 900px;
  /* padding-bottom: 40%; */
}

.profile .img_wrapper {
  width: 100%;
  height: 300px;
}

.profile .img_wrapper .banner {
  width: 100%;
  height: 100%;
}

.profile .profile_card {
  width: 60%;
  position: absolute;
  left: 50%;
  top: 100px;
  transform: translateX(-50%);
  padding: 30px 0;

  z-index: 2;
  background: #ffffff;
  box-shadow: 0px 2px 5px #00000029;
}

@media (min-width: 0px) and (max-width: 574px) {
  .profile {
    height: auto;
  }

  .profile .img_wrapper {
    width: 100%;
    height: 120px;
  }

  .profile .profile_card {
    width: 100%;
    padding: 20px 0px;
    position: unset;
    transform: none;
  }
}

@media (min-width: 575px) and (max-width: 767.98px) {
  .profile {
    height: auto;
  }

  .profile .profile_card {
    width: 98%;
    top: 90px;
    position: unset;
    transform: none;
    margin: 10px auto 0px;
    padding: 20px 20px;
  }

  .profile .img_wrapper {
    width: 100%;
    height: 150px;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .profile {
    position: relative;
    /* padding-bottom: 30%; */
    height: 700px;
  }

  .profile .img_wrapper {
    width: 100%;
    height: 170px;
  }

  .profile .profile_card {
    width: 80%;
    top: 140px;
  }
}

@media (min-width: 1200px) and (max-width: 1499px) {
  .profile {
    position: relative;
    /* padding-bottom: 30%; */
    height: 800px;
  }

  .order-tabs-wrapper {
    height: 500px;
    overflow: auto;
  }

  .profile .img_wrapper {
    width: 100%;
    height: 170px;
  }

  .profile .profile_card {
    width: 80%;
    top: 140px;
  }
}
