.profile { display: flex; flex-direction: column; margin-bottom: 36px; @media screen and (max-width: $desktop-breakpoint) { flex-direction: row; align-items: center; margin-bottom: 16px; } &__avatar { width: 120px; height: 120px; margin: 0 0 12px 0; flex-shrink: 0; @media screen and (max-width: $desktop-breakpoint) { margin: 0 16px 0 0; } @media screen and (max-width: $mobile-breakpoint) { width: 98px; height: 98px; } img { width: 100%; height: 100%; border-radius: 100%; object-fit: cover; } } &__name { font-size: 0.9rem; font-weight: 600; color: $color-body-accent-text; } &__description { font-size: 0.8rem; font-weight: 400; color: $color-body-text; margin: 8px 0; } &__socials { list-style: none; display: flex; color: $color-body-text; li { margin-right: 8px; transition: 0.2s; &:hover { filter: brightness(0); } a { text-decoration: none; color: inherit; i { font-size: 1.4rem; } } } } }