#content h1 { text-align: center; } .artists { width: 700px; margin: auto; text-align: center; } .artists .artist { width: 160px; position: relative; margin: 5px; display: inline-block; } .artists .artist a { color: #929292; text-decoration: none; transition: .5s; } .artists .artist .logo { height: 160px; width: 160px; background-size: cover; background-color: white; border: none; border-radius: 5px; } .artists .artist-genre { display: flex; position: absolute; top: 0px; left: 0px; height: 150px; width: 150px; padding: 5px; align-items: center; justify-content: center; background-color: rgba(0, 0, 0, 0.6); border-radius: 5px; color: white; opacity: 0; transition: all 0.7s ease; } .artists .artist-genre:hover { opacity: 1; }