/* Arrange the original paintings directly on the standard preview background. */
.cars-collection {
  container-type: inline-size;
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.cars-collection__piece {
  position: absolute;
  top: 8%;
  left: -3%;
  width: 36%;
  padding: 0.8%;
  background: #fffaf0;
  box-shadow: 0 1.8cqw 2.8cqw -1cqw #5e432d55, 0 0 0 1px #684a2920;
  transform: rotate(-5deg);
}

.cars-collection__piece--lightning {
  top: 42%;
  left: 32%;
  z-index: 1;
  transform: rotate(1deg);
}

.cars-collection__piece--sally {
  left: 67%;
  transform: rotate(5deg);
}

.cars-collection .cars-collection__piece img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  border-radius: 0;
  object-fit: contain;
}
