.about-card {
  grid-template-columns: 270px 1fr;
}

.about-portrait {
  position: relative;
  isolation: isolate;
  overflow: visible;
  width: 240px;
  height: 360px;
  min-width: 240px;
  min-height: 360px;
  max-width: 240px;
  max-height: 360px;
  aspect-ratio: 2 / 3;
  margin: 0;
  place-self: center;
}

.about-portrait::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 28px;
  background: #6bd1c7;
  background: conic-gradient(
    from 215deg,
    rgba(107, 209, 199, .98),
    rgba(11, 122, 117, .42) 30%,
    rgba(255, 255, 255, .82) 50%,
    rgba(107, 209, 199, .24) 72%,
    rgba(107, 209, 199, .98)
  );
  box-shadow:
    0 0 0 5px rgba(107, 209, 199, .06),
    0 18px 42px rgba(0, 0, 0, .22);
  z-index: 1;
}

.about-portrait::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 2px;
  width: calc(100% + 14px);
  height: calc(100% + 14px);
  border: 1px solid rgba(107, 209, 199, .58);
  border-radius: 32px;
  box-shadow: 0 0 0 7px rgba(107, 209, 199, .035);
  z-index: 0;
}

.about-photo {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: 2 / 3;
  object-fit: contain;
  object-position: center;
  border: 2px solid rgba(255, 255, 255, .72);
  border-radius: 24px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .18);
}

@media (max-width: 900px) {
  .about-card {
    grid-template-columns: 1fr;
  }

  .about-portrait {
    width: 220px;
    height: 330px;
    min-width: 220px;
    min-height: 330px;
    max-width: 220px;
    max-height: 330px;
    margin-inline: auto;
    place-self: start center;
  }
}

@media (max-width: 420px) {
  .about-portrait {
    width: 200px;
    height: 300px;
    min-width: 200px;
    min-height: 300px;
    max-width: 200px;
    max-height: 300px;
  }

  .about-portrait::after {
    top: 3px;
    left: 2px;
    width: calc(100% + 12px);
    height: calc(100% + 12px);
    border-radius: 28px;
  }

  .about-photo {
    border-radius: 22px;
  }
}
