body {
  --color-bg: #faebd7;
  --color-text: #24221f;
  --color-link: #595980;
  --color-link-hover: #000;
}

.content__type {
  font-size: 7vw;
  margin: 0 auto;
  text-align: justify;
  font-family: condor-compressed, sans-serif;
  font-weight: 300;
  text-transform: uppercase;
  padding: 5rem 0;
  line-height: 1;
  backface-visibility: hidden;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: -moz-none;
  -o-user-select: none;
  user-select: none;
  background-size: 80%;
}

.content__type-special {
  font-size: 29vw;
  display: block;
  margin: 0 auto;
  text-align: center;
}

.content__img {
  width: 100%;
  display: block;
  backface-visibility: hidden;
}

/* Effect Styles */

.fold-scroller {
  /* Twice the fold's width */
  width: 60vw;
}

.fold {
  overflow: hidden;
  height: 60vh;
  /*  half the fold-scroller width */
  width: 30vw;
}
/* center fold + both side folds need to add up to 100vh  */
.fold-before,
.fold-after {
  height: 20vh;
}

.side-left .fold-before-1 {
  transform: skewX(40deg);
}

.side-left .fold-after-1 {
  transform: skewX(-40deg);
}

.side-right .fold-before-1 {
  transform: skewX(-40deg);
}

.side-right .fold-after-1 {
  transform: skewX(40deg);
}

/* Required a is for the effect */
.wrapper-3d {
  position: relative;
  perspective: 250px;
  transform-style: preserve-3d;
}

.fold-after {
  position: absolute;
  transform-origin: top center;
  right: 0;
  left: 0;
  top: calc(100%);
}

.fold-before {
  position: absolute;
  transform-origin: bottom center;
  left: 0;
  right: 0;
  bottom: calc(100%);
}

.content__item {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  counter-increment: itemcounter;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.content__item::before {
  color: var(--color-number);
  position: absolute;
  top: 0;
  left: 0;
  content: counters(itemcounter, ".", decimal-leading-zero);
}

.link {
  cursor: pointer;
  font-size: 18px;
  position: relative;
  white-space: nowrap;
  color: #a0893d;
}

.link::before,
.link::after {
  position: absolute;
  width: 100%;
  height: 1px;
  background: currentColor;
  top: 100%;
  left: 0;
  pointer-events: none;
}

.link::before {
  content: '';
  /* show by default */
}



.link--eirene {
  font-family: europa, sans-serif;
  font-weight: bold;
}

.link--eirene::before {
  height: 7px;
  border-radius: 20px;
  transform: scale3d(1, 1, 1);
  transition: transform 0.2s, opacity 0.2s;
  transition-timing-function: cubic-bezier(0.2, 0.57, 0.67, 1.53);
}

.link--eirene:hover::before {
  transition-timing-function: cubic-bezier(0.8, 0, 0.1, 1);
  transition-duration: 0.4s;
  opacity: 1;
  transform: scale3d(1.2, 0.1, 1);
}

.link--eirene span {
  transform: translate3d(0, -4px, 0);
  display: inline-block;
  transition: transform 0.2s 0.05s cubic-bezier(0.2, 0.57, 0.67, 1.53);
}

.link--eirene:hover span {
  transform: translate3d(0, 0, 0);
  transition-timing-function: cubic-bezier(0.8, 0, 0.1, 1);
  transition-duration: 0.4s;
  transition-delay: 0s;
}

@media screen and (min-width: 53em) {
  .frame {
      text-align: left;
      z-index: 100;
      display: grid;
      align-content: space-between;
      width: 100%;
      max-width: none;
      padding: 3rem 3.5rem;
      pointer-events: none;
      grid-template-columns: 50% 50%;
      grid-template-rows: auto auto auto;
      grid-template-areas: 'title links'
          '... ...'
          'author ...';
  }

  .frame__title-wrap {
      grid-area: title;
  }

  .frame__title {
      margin: 0;
  }

  .frame__tagline {
      position: relative;
      margin-left: 0;
  }

  .frame__links {
      grid-area: links;
      padding: 0;
      justify-self: end;
      align-self: start;
      justify-content: start;
  }

  .frame__author {
      grid-area: author;
  }

  .frame a {
      pointer-events: auto;
  }
}
.link--ersa {
  padding: 0 10px;
  font-family: halyard-display, sans-serif;
  letter-spacing: 1px;
  text-indent: 1px;
  text-transform: uppercase;
}

.link--ersa::before {
  top: 50%;
  height: 2px;
  transform-origin: 100% 50%;
  transform: scale3d(0, 1, 1);
  transition: transform 0.3s cubic-bezier(0.4, 1, 0.8, 1);
}

.link--ersa:hover::before {
  transform-origin: 0% 50%;
  transform: scale3d(1, 1, 1);
}

.link--ersa span {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.4, 1, 0.8, 1);
}

.link--ersa:hover span {
  transform: scale3d(1.1, 1.1, 1.1);
}

