.referral {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 50;
  height: 100%;
  min-height: 650px;
  /*  */
  border-radius: 16px;
  border: 4px solid transparent;
  background: linear-gradient(#2d2d4b, #2d2d4b) padding-box,
    var(--button-gradient) border-box;
  background-clip: padding-box, border-box;
  overflow: hidden;
  /*  */
  margin-left: 20px;
  margin-right: 20px;
}

.referral::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/assets/bgForReferral-program.png');
  background-size: cover;
  background-position: center;
  z-index: -1;
  opacity: 0.7;
}
.referral.container div {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.referralh2 {
  color: var(--white30);
}
.referralp {
  color: #f0f0fb;
}
.referrala {
  background-color: #ffffff;
  padding: 15px 44px 15px 44px;
  width: 256px;
  border-radius: 12px;
  text-align: center;
  color: var(--pink);
  transition: all 0.4s cubic-bezier(0.075, 0.82, 0.165, 1);
}
.referrala:hover {
  transition: all 0.4s cubic-bezier(0.075, 0.82, 0.165, 1);
  scale: 1.02;
}
.referral-program_girl {
  position: absolute;
  right: 10%;
  bottom: 0;
  width: 533px;
  height: 652px;
  z-index: 1;
  display: none;
}
@media (min-width: 768px) {
  .referral > div > div {
    max-width: 40%;
  }
  .referral > div > div::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    background-color: rgba(43, 37, 37, 0.425);
    width: 100%;
    height: 100%;
    filter: blur(32px);
    border-radius: var(--brad);
  }
}
@media (min-width: 1200px) {
  .referral.container div {
    width: 50%;
  }
  .referral-program_girl {
    display: block;
  }
  .referral {
    margin-top: 150px;
  }
}
