@import "https://unpkg.com/open-props";
@import "https://unpkg.com/open-props/normalize.min.css";

.scrollport {
  -webkit-mask-image: linear-gradient(to right, #0000, #000, #000, #0000);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  display: flex;
  gap: var(--size-4);
  align-items: start;
  padding: var(--size-4);
}

.scrollport > div {
  block-size: var(--size-13);
  aspect-ratio: 1/.618;
  background-color: #212529;
  border-radius: var(--radius-3);
  box-shadow: var(--shadow-3);
}

.scrollport > div > img{
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image covers the entire div */
  border-radius: inherit; /* Ensures the image respects the border-radius */
  transition: transform 0.3s, box-shadow 0.3s;
}

.scrollport > div > img:hover{
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.scrollport > div > video{
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image covers the entire div */
  border-radius: inherit; /* Ensures the image respects the border-radius */
  transition: transform 0.3s, box-shadow 0.3s;
}

.scrollport > div > video:hover{
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

body {
  display: grid;
  place-content: center;
  background-color: #212529;
}