:root {
  --avatar-size: 16rem;
}

.avatar-wrapper {
  margin-bottom: var(--sizing-xl);
  width: 100%;
  justify-content: center;
  overflow: hidden;

  & .interior {
    width: var(--avatar-size);
    height: var(--avatar-size);
    border: 1px solid var(--accent-color);
    border-radius: var(--rounded-full);
    display: flex;
    padding: var(--sizing-lg);
    background-color: var(--color-lightest);
    justify-content: center;
    overflow: hidden;

    & picture > *,
    & img {
      width: 100%;
      height: 100%;
    }
  }
}

@media screen and (min-width: 768px) {
  :root {
    --avatar-size: 24rem;
  }
}