.profile-image {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 350px;
  height: 200px;
  overflow: hidden;
  z-index: 0;
  box-sizing: border-box;
}

.profile-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, var(--background) 10%, rgba(0, 21, 255, 0) 50%, rgba(255, 0, 0, 0) 90%);
  pointer-events: none;
  z-index: 1;
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

@media (max-width: 640px) {
  .profile-image {
    left: 0;
    transform: none;
    width: 100vw;
    max-width: 100vw;
    height: 250px;
    margin: 0;
    padding: 0;
    border-radius: 0;
  }
  
  .profile-image img {
    width: 100vw;
    min-width: 100vw;
    object-fit: cover;
    object-position: center;
    margin: 0;
    padding: 0;
  }
}

.title {
  font-size: 27px;
  font-weight: 700;
  margin: -30px 0 0.25rem;
  z-index: 100;
  animation: fadeInUp 0.8s ease-out;
}

.subtitle {
  color: var(--text-color-secondary);
  margin: 7px 0 1.5rem;
  font-size: 14px;
  z-index: 100;
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}