I'm trying to wrap a row of 4 elements on to 2 rows, see screenshot, but I want them to also be responsive when the screen is pinched or the resolution is different, I can't figure it out. see code.
.cats {
display: flex;
flex-wrap: wrap;
justify-content: space-evenly;
gap: 25px;
}
.cat {
width: 49%;
position: relative;
}