*,
*::before,
*::after {
box-sizing: border-box;
}
body {
background: black;
/* ^^^ for demo purposes. because putting white on white is dumb */
}
.profile {
display: flex;
background: white;
padding: 0.25em;
border-radius: 10px;
justify-content: space-between;
max-width: 80%;
margin: 0 auto;
}
.profile__wrapper {
display: flex;
gap: .675em;
}
.profile__image {
background-size: cover;
aspect-ratio: 1;
width: 80px;
border-radius: 10px;
}
.profile__info {
display: flex;
flex-direction: column;
justify-content: space-between;
margin-block: .5em .25em;
}
.profile__name {
font-family: sans-serif;
color: hsl(0 0% 50%);
font-weight: 700;
}
.profile__number {
color: hsl(220 100% 50%);
font-size: .8rem;
}
.profile__msg>svg {
width: 1.5rem;
color: orange
}
.profile__call>svg {
width: 2rem;
color: orange;
}
.profile__buttons {
margin: auto 0;
margin-right: 1.5em;
display: flex;
gap: 1em;
justify-content: center;
align-items: center;
}
<div class="profile">
<div class="profile__wrapper">
<div class="profile__image" style="background-image: url('https://randomuser.me/api/portraits/men/83.jpg')"></div>
<div class="profile__info">
<div class="profile__info_wrapper">
<div class="profile__name">Uncle Joe</div>
<div class="profile__number">123456</div>
</div>
<div class="profile__nickname">Broseph</div>
</div>
</div>
<div class="profile__buttons">
<div class="profile__msg">
<svg xmlns="http://www.w3.org/2000/svg" id="Layer_1" data-name="Layer 1" viewBox="0 0 512 512"><defs><style>.cls-1{fill: CurrentColor;}</style></defs><path class="cls-1" d="M448,76.56A38.44,38.44,0,0,1,486.4,115v230.4a38.44,38.44,0,0,1-38.4,38.4H66.2l-7.5,7.5-33.1,33.1V115A38.44,38.44,0,0,1,64,76.56H448M448,51H64A64,64,0,0,0,0,115V443.21A17.78,17.78,0,0,0,17.92,461a17.42,17.42,0,0,0,12.45-5.25L76.8,409.36H448a64,64,0,0,0,64-64V115a64,64,0,0,0-64-64Z"/><path class="cls-1" d="M332.8,191.76H179.2a12.8,12.8,0,0,1,0-25.6H332.8a12.8,12.8,0,1,1,0,25.6Z"/><path class="cls-1" d="M332.8,243H179.2a12.8,12.8,0,1,1,0-25.6H332.8a12.8,12.8,0,1,1,0,25.6Z"/><path class="cls-1" d="M332.8,294.16H179.2a12.8,12.8,0,1,1,0-25.6H332.8a12.8,12.8,0,0,1,0,25.6Z"/></svg>
</div>
<div class="profile__call">
<svg xmlns="http://www.w3.org/2000/svg" id="Layer_1" data-name="Layer 1" viewBox="0 0 512 512"><defs>
<style xmlns="http://www.w3.org/2000/svg">
.svg__phone__call1 {
transform: rotate(-45deg);
transform-origin: center center
}
</style>
</defs><path xmlns="http://www.w3.org/2000/svg" class="svg__phone__call1" d="M258.7,80.74,236.91,101.4c-74.85,72.75-64.43,247,0,309.87l21.79,20.66c5.68,5.39,15.16,5.39,21.79,0l42.64-41.32a14.64,14.64,0,0,0,0-20.66L276.7,324.15l-50.22,3.59c-15.16-14.37-15.16-129.34,0-143.71l52.11,2.69,44.53-44a14.64,14.64,0,0,0,0-20.66L280.49,80.74C273.86,74.46,264.39,74.46,258.7,80.74Z" fill="CurrentColor"/></svg>
</div>
</div>