.performer-img { max-width: 57%; } @media screen and (max-width: 600px) { .performer-img { max-width: 100%; } } .performers-container { display: flex; flex-wrap: wrap; width: 80%; justify-content: space-between; align-items: baseline; .performer-name { width: 30%; font-size: x-large; border-right: solid 1px; border-left: solid 1px; margin-bottom: 4%; border-radius: 3px; } } @media screen and (max-width: 600px) { .performers-container { .performer-name { width: 100%; margin-bottom: 10%; text-align: left; padding-left: 5%; } .performer-name::before { content: '>> '; } } }