.foreground_wire {
  pointer-events: none;
  width: 100%;
  height: auto;
  max-width: 100%;
  position: fixed;
  z-index: 20;
  bottom: -20%;
}

/* .screw:nth-of-type(1) {
  animation-delay: 1s;
} */

html {
  max-width: 100%;
  overflow-x: hidden;
}

main {
  height: auto;
  font-size: 9pt;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
}

main::after {
  border-right: dotted 8pt black;
  -webkit-filter: drop-shadow(-2px -1px 1px rgba(63, 63, 63, 0.5));
  content: "";
  width: 100%;
  position: absolute;
  right: 6pt;
}

p {
  margin: 0;
  padding: 0;
  text-indent: -105%;
  margin-right: 12pt;
  /* text-align: justify; */
  text-justify: inter-word;
}

p::first-line {
  text-decoration: underline;
}

.main-title,
.video,
.video-filler,
.image,
.image-filler,
.text,
.text-filler,
span {
  font-weight: bold;
  max-width: 100%;
  margin-bottom: 4pt;
  padding-bottom: 4pt;
  position: relative;
}

span {
  border-radius: 3pt 3pt 0 0;
  padding-top: 2pt;
  border-top: 1pt inset silver;
  border-bottom: 2pt groove red;
  text-align: right;
  position: relative;
  font-weight: normal;
}

span::before {
  color: silver;
  position: absolute;
  left: 0;
  content: "";
}

span:nth-of-type(1)::before {
  content: "1.";
}

span:nth-of-type(2)::before {
  content: "2.";
}

span:nth-of-type(3)::before {
  content: "3.";
}

.main-title {
  grid-row: 1;
  grid-column: 2/4;
  font-size: 12pt;
  text-transform: uppercase;
  border-bottom: 1pt solid black;
}

.video-title {
  grid-row: 2;
  grid-column: 1/2;
}

.video {
  grid-row: 3;
  grid-column: 2/4;
  /* mask-image: url(/assets/images/graphics/shop-mask.svg); */
}

video {
  max-width: 100%;
  overflow: none;
}

.video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  display: block;
}

.video-filler {
  grid-row: 2;
  grid-column: 2/5;
  border-bottom: 2pt groove silver;
  /* background: linear-gradient(-90deg, rgba(200, 200, 200, 1) 0%, rgba(255, 255, 255, 1) 5%); */
}

.text-title {
  grid-row: 4;
  grid-column: 1/2;
  /* position: relative; */
}

.text {
  border-radius: 12pt;
  grid-row: 5;
  grid-column: 2/3;
  border-right: 2pt groove red;
  /* background: linear-gradient(-90deg, rgba(200, 200, 200, 1) 0%, rgba(255, 255, 255, 1) 5%); */
}

.text-filler {
  grid-row: 4;
  grid-column: 2/5;
  border-bottom: 2pt groove silver;
  /* background: linear-gradient(-90deg, rgba(200, 200, 200, 1) 0%, rgba(255, 255, 255, 1) 5%); */
}

.image {
  grid-row: 7;
  grid-column: 1 / 6;

  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12pt;

  width: 100%;

  overflow-x: auto;
  overflow-y: hidden;

  border-radius: 12pt;

  background: linear-gradient(180deg,
      rgba(200, 200, 200, 1) 0%,
      rgba(255, 255, 255, 1) 5%);

  border-right: 2pt groove red;

  margin-bottom: 20vh;

  scrollbar-width: none;

  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

.image::-webkit-scrollbar {
  display: none;
}

.image-title {
  grid-row: 6;
}

.image-filler {
  border-bottom: 2pt groove silver;
  grid-row: 6;
  grid-column: 2 / 5;
}

figure:first-of-type {
  margin-left: 25%;
}

figure {
  position: relative;
  margin: 0;
  padding: 0;

  flex-shrink: 0;

  content-visibility: auto;
  contain-intrinsic-size: 500px;
}

figure img {
  display: block;

  height: 500px;
  width: auto;

  object-fit: cover;
}

.blur-load {
  filter: blur(16px);

  transition:
    filter 0.35s ease-out,
    opacity 0.35s ease-out;

  opacity: 0.85;

  will-change: opacity;

  backface-visibility: hidden;

  transform: translateZ(0);
}

.blur-load.loaded {
  filter: blur(0);

  opacity: 1;
}

@media screen and (min-width: 375px) and (max-width: 768px) {
  * {
    grid-column: 1/3 !important;
  }

  main {
    grid-template-rows: auto;
    grid-template-columns: repeat(1, 1fr)
  }

  p {
    text-indent: 25%;
  }

  span {
    text-indent: 25%;
    text-align: left;
    position: relative;
  }

  .main-title {
    text-indent: 25%;
  }

  .video-title,
  .text-title,
  .image-title {
    /* border-bottom: none; */
  }

  .video,
  .text {
    max-width: 100%;
    margin-bottom: 48pt;
    padding-bottom: 4pt;
    border-right: none;
  }

  .video-filler,
  .text-filler {
    display: none;
  }

}