/* =========================================================
   FILE      : css/dosen-avatar.css
   ISI       : Lingkaran inisial (avatar) pada kartu dosen.
   DIPAKAI DI: dosen-profesional.html
   ========================================================= */

.avatar {
    width: 64px;
    height: 64px;

    border-radius: 50%;

    display: grid;

    place-items: center;

    font:
        700 22px
        "Space Grotesk",
        sans-serif;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            var(--p),
            var(--p2)
        );
}

/* =========================================================
   FOTO DOSEN
   ========================================================= */

.dosen-avatar-wrapper {
  width: 70px;
  height: 70px;
  min-width: 70px;
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  flex-shrink: 0;
}

.dosen-foto {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

.dosen-inisial {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
}