/* Site-specific overrides on top of the Start Bootstrap "Personal" theme (styles.css). */

/* Hero: the theme expects a cut-out photo with a transparent background.
   For a regular square photo, keep it inside the gradient frame. */
.profile .profile-img.profile-photo {
  height: auto;
  max-height: none;
  width: 86%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  top: 50%;
  bottom: auto;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 1.5rem;
}

/* Projects: logo panel next to the project description */
.project-logo {
  align-self: stretch;
  min-width: 16rem;
  padding: 2rem;
}
/* Icon used as a logo for projects that don't have one yet */
.project-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 8rem;
  height: 8rem;
  font-size: 3.5rem;
}
.project-logo img {
  max-height: 8rem;
  width: auto;
}

/* Language switch in the navbar */
.nav-lang {
  border: 1px solid currentColor;
  border-radius: 0.5rem;
  padding: 0.25rem 0.6rem !important;
}
@media (min-width: 992px) {
  .nav-lang {
    margin-left: 0.5rem;
  }
}
