@import url("css.css");
body {
  position: relative;
  background: #ddd;
  width: 100vw;
  height: 25em;
  font-family: Lato, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  --scrolled: 0em;
  overflow-x: hidden;
}
@media screen and (min-width: 895px) {
  body {
    font-size: 10em;
  }
}

h1 {
  position: fixed;
  height: 50vh;
  margin: 20vh auto 0;
  color: #1d1d1d;
  background: url("../image/duotone(1).png") 50% 50%;
  background-size: contain;
  background-repeat: no-repeat;
}

p {
  height: 0.8em;
  line-height: 0.8em;
  margin: 0;
  padding: 0;
  text-shadow: 0px 0px 1px rgba(255, 255, 255, 0.3);
  text-align: left;
  letter-spacing: 0.05em;
}

.white {
  color: #ededed;
  text-shadow: 0px 0px 1px rgba(0, 0, 0, 0.8);
}

h1 .line {
  position: relative;
  height: 0.8em;
  overflow: hidden;
}

.line:first-of-type {
  transform: skew(60deg, -30deg) scaleY(0.66667);
}

.line:nth-of-type(2) {
  left: 0.33em;
  transform: translateX(0.12em) skew(0deg, -30deg) scaleY(1.33333);
}

.line:last-of-type {
  left: 0.75em;
  transform: translateX(0.155em) skew(60deg, -30deg) scaleY(0.66667) !important;
}

.line__wrap {
  transform: translateY(calc(var(--scrolled)*-0.8));
}

.line:nth-of-type(2) .line__wrap {
  --scrolled: 1em;
}

.line:last-of-type .line__wrap {
  --scrolled: 2em;
}

.content {
  position: fixed;
  font-size: 18px;
  width: 66%;
  margin: 0 auto;
  bottom: 0;
}
.content--unpinned {
  position: relative;
}

.content p {
  line-height: 0.8em;
  font-weight: 400;
  text-transform: none;
  margin: 0 auto 1.6em;
}