.container { max-width: calc(126rem / 16); display: flex; flex-direction: column; margin: 0; } .img { border-radius: 50%; margin: 0 auto; object-fit: cover; } .small { width: calc(110rem / 16); height: calc(110rem / 16); } .medium { width: calc(130rem / 16); height: calc(130rem / 16); } .caption { text-align: center; margin-top: calc(24rem / 16); } .name { font-weight: 700; color: var(--blue-2); } .role { font-weight: 600; color: var(--purple-2); } @media only screen and (max-width: calc(768rem / 16)) { .container { width: min-content; } .small { width: calc(85rem / 16); height: calc(85rem / 16); } .name, .role { font-size: calc(11rem / 16); } }