.item-container {
  position: relative;
  border-radius: 1.5rem;
  padding: 5rem 2rem 2rem 2.5rem;
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 500ms;

  &:hover {
    transform: scaleX(0.9) scaleY(0.9);
  }
}

.background {
  overflow: hidden;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -50;
  border-radius: 1.5rem;
  background-color: rgb(39 39 42);

  img {
    position: absolute;
    object-fit: cover;
    pointer-events: none;
    width: 150%;
    height: 150%;
    max-width: 200%;
    filter: blur(100px) saturate(85%);
  }
}

.overlay {
  overflow: hidden;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border-radius: 1.5rem;
  background-color: rgb(39 39 42);
  opacity: 0.6;
}

.icon {
  width: 5.5rem;
  height: 5.5rem;
  pointer-events: none;
  position: absolute;
  top: -2.5rem;
}

.detail {
  margin-top: 0.75rem;
  mix-blend-mode: plus-lighter;

  &-title {
    display: inline-block;
    font-size: 1.5rem;
    line-height: 2rem;
    margin-bottom: 0.25rem;
    font-weight: normal;
    will-change: transform, text-indent;
  }

  &-description {
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 300;
    height: 3rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    pointer-events: none;
  }
}
