@font-face {
  font-family: "Erbaum";
  src:
    url("fonts/Erbaum-Light.woff2") format("woff2"),
    url("fonts/Erbaum-Light.woff") format("woff");
  font-weight: light;
  font-style: normal;
}

body {
  margin: 0;
  background: rgb(0, 0, 0);
  font-family: "Erbaum", sans-serif;
}

.contact-email {
  font-size: clamp(10px, 1.5vw, 12px);
  letter-spacing: 0.08em;
  color: #f6eb16;
  position: absolute;
  bottom: 32px;
  width: 100%;
  text-align: center;
  margin: 0;
}

.contact-email a {
  color: #f6eb16;
  text-decoration: none;
}

.x89-inner {
  width: 30vw;
  max-width: 600px;
  min-height: 100dvh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.x89-inner img {
  width: 100%;
  height: auto;
  display: block;
}

.x89-inner h1 {
  font-family: "Erbaum", sans-serif;
  font-size: clamp(10px, 1.5vw, 12px);
  letter-spacing: 0.08em;
  color: #f6eb16;
  position: absolute;
  bottom: 15px;
  width: 100%;
  text-align: center;
  margin: 0;
}

.visual {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  animation: logoFade 6s ease-in-out infinite alternate;
}

.x89-inner h1::after {
  content: "";
  display: inline-block;
  width: 1.5em;
  text-align: left;
  animation: dots 1.5s steps(3, end) infinite;
}

@keyframes dots {
  0% {
    content: "";
  }
  20% {
    content: ".";
  }
  40% {
    content: "..";
  }
  60% {
    content: "...";
  }
  80% {
    content: "...";
  } /* pause */
  100% {
    content: "...";
  }
}

.stripes-mask {
  width: 90%;
  height: clamp(12px, 1.8vw, 20px);
  overflow: hidden;
}

.stripes {
  width: 200%;
  height: 100%;
  background: repeating-linear-gradient(
    135deg,
    #f6eb16 0px,
    #f6eb16 1px,
    transparent 2px,
    transparent 6px
  );

  transform-origin: left center;
  animation: moveStripes 20s linear infinite;
}

@keyframes moveStripes {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes logoFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* mobile */
@media (max-width: 600px) {
  .x89-inner {
    width: 70vw;

    .stripes-mask {
      width: 90%;
      height: clamp(12px, 3vw, 20px);
      overflow: hidden;
    }
  }
}
