--img-clip:"M 0 -50 L 200 -50 L 200 150 C 100 150 0 250 0 150 Z";/* unfortunatly it isn't possible (as far as I know) to use custom properties in clip paths */
--img-shadow:drop-shadow(5px5px2pxrgba(000/0.5));
--name-txt-clr:#9c6868;
--bg-blur:0;/* background image default blur */
--bg-blur-hover:5px;/* background image blur on hover */
font-family:'Ubuntu',sans-serif;
display:grid;
grid-template-columns:repeat(2,1fr);
gap:25%;
margin:autoauto;
width:auto;
}
@media(min-width:500px){
.profiles{
--grid-cols:3;
margin:23px20%;
}
}
.avatar{
position:relative;
width:var(--size);
height:var(--size);/* for older browsers */
aspect-ratio:1;
}
.avatar-img{
clip-path:path(var(--img-clip));
}
.avatar-img::before{
content:'';
position:absolute;
display:blocl;
inset:50%000;
z-index:-1;
border-radius:20px;
background-color:var(--bg-clr);/* fallback if image not defined as custom property */