:root {
  --black: #121212;
  --beige400: #DCD8D3;
  --beige100: #F1F0EA;
  --beige300: #CFCFCF;
  --pureWhite: #FFFFFF;
  --grey: #545454;
  --red: #F95D3B;
  --enterBorder: #0D0D0D;
  --enterAlphaHover: 70%;
}

.blocks {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-left: 50%;
}
.blocks .blocks-inner .block-line {
  white-space: nowrap;
  display: inline-block;
  position: relative;
  font-size: 0px;
  height: calc(20vh - 2.5px);
  width: max-content;
}
.blocks .blocks-inner .block-line:nth-child(odd) {
  transform: translateX(0);
}
.blocks .blocks-inner .block-line:nth-child(even) {
  transform: translateX(-100%);
}
.blocks .blocks-inner .block-line .block {
  display: inline-block;
  height: 100%;
  padding: 5px;
  aspect-ratio: 1.8;
  overflow: hidden;
}
.blocks .blocks-inner .block-line .block .block-content {
  display: block;
  width: 100%;
  height: 100%;
  background-color: var(--beige400);
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  isolation: isolate;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  mask-image: radial-gradient(white, black);
}
.blocks .blocks-inner .block-line .block .block-content::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px var(--beige400);
}
.blocks .blocks-inner .block-line .block .block-content .cache {
  position: absolute;
  z-index: 3;
  inset: 0;
  background-color: var(--beige400);
  overflow: hidden;
}
.blocks .blocks-inner .block-line .block .block-content .cache .x {
  position: absolute;
  z-index: 1;
  font-size: 12px;
  bottom: 32px;
  left: 20px;
}
.blocks .blocks-inner .block-line .block .block-content .cache .caption {
  position: absolute;
  z-index: 1;
  font-size: 12px;
  font-weight: 500;
  bottom: 18px;
  left: 20px;
  overflow: hidden;
  font-family: SuisseIntlMono;
}
.blocks .blocks-inner .block-line .block .block-content .cache .caption .number {
  color: var(--grey);
  margin-right: 4px;
}
.blocks .blocks-inner .block-line .block .block-content .cache .caption .title {
  color: var(--black);
  text-transform: uppercase;
}
.blocks .blocks-inner .block-line .block .block-content .image {
  width: 100%;
  height: 100%;
  text-align: center;
}
.blocks .blocks-inner .block-line .block .block-content .image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: relative;
  z-index: 2;
}

.block-line-enter {
  display: inline-block;
}