.profile-photo {
  aspect-ratio: 1;
  max-width: 365px;
  overflow: hidden;
  background: #cbd8e6;
}

.profile-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 36%;
}
