* {
  box-sizing: border-box;
}

.container {
  display: flex;
  padding: 10px;
  flex-direction: column;
}

.contentwrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 5px;
}

.album {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.albumart {
 width: 250px;
 height: 250px;
}

.albumhover:hover .albumrating {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.albumhover {
  position: relative;
 width: 250px;  
 height: 250px;
  }
  
.albuminfo {
  z-index: 3;
  overflow: hidden;
  flex-wrap: wrap;
  display: flex;
  flex-direction: column;
  width: 250px;
  
  padding: 10px;
  background: blue;
}

.albuminfo, h2 {
 font-family: verdana; 
 font-size: 12px;
}

.albumrating {
  position: absolute;
  top: -100;
  bottom: 0;
  left: 0;
  right: 0;
  
  background: rgba(0, 0, 0, 0.50);
  opacity: 0;
  pointer-events: none;
  color: white;
  padding: 1rem;

  transform: translateY(30%);
  transition: transform 0.4s ease;
}







