.album-teaser {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: fit-content;
}
.album-teaser__image {
  display: flex;
  justify-content: center;
  position: relative;
}
.album-teaser__image picture {
  position: relative;
  border-radius: 5px;
  box-shadow:
    0 0 15px rgba(0,0,0,0.5);
}
.album-teaser__image picture::after {
  content: "";
  position: absolute;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.6);
}
.album-teaser__image picture img {
  border-radius: 5px;
}
.album-teaser__content {
  transition: all 50ms ease;
}
.album-teaser__title {
  font-size: 20px;
  font-weight: 600;
  display: flex;
  max-width: 200px;
}
.album-teaser__artist a {
  color: var(--black-dark);
  font-weight: 500;
  font-size: 16px;
}
.album-teaser__artist:hover a {
  text-decoration: none;
  cursor: pointer;
}
.album-teaser__link {
  color: var(--black-dark);
  text-decoration: unset;
  width: fit-content;
  justify-self: center;
}
@media all and (min-width: 1000px) {
  .album-teaser__image::before {
    content: "";
    background-image: url(../../images/icon-cd-cg.svg);
    width: 95%;
    height: 95%;
    position: absolute;
    top: 0;
    display: inline-block;
    background-size: 100%;
    background-repeat: no-repeat;
  }
  .album-teaser__image:hover::before {
    animation: spin 5s linear infinite;
  }
  .album-teaser__image picture {
    transition: all 50ms ease;
  }
  .album-teaser__image:hover picture,
  .album-teaser__image:hover + .album-teaser__content {
    transition: all 150ms ease;
    transform: translateY(30px);
  }
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
