/* Content Forge — Contact page */

.contact {
  height: 108rem;
  overflow: hidden;
}

.contact__title {
  position: absolute;
  left: 24rem;
  top: 30.1rem;
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 20.7rem;
  line-height: 0.9;
  letter-spacing: -1.242rem;
  text-transform: uppercase;
  color: #fff;
  z-index: 2;
}

.contact__cube {
  position: absolute;
  left: 78.1rem;
  top: 22.5rem;
  width: 32.2rem;
  height: 32.3rem;
  object-fit: contain;
  object-position: bottom;
  z-index: 3;
  pointer-events: none;
}

.contact__nice {
  position: absolute;
  left: calc(50% + 15.3rem);
  transform: translateX(-100%);
  top: 68.1rem;
  font-family: 'Unbounded', sans-serif;
  font-weight: 400;
  font-size: 2.2rem;
  letter-spacing: 0.22rem;
  line-height: 1.4;
  text-transform: uppercase;
  text-align: right;
  color: var(--cream);
  z-index: 2;
}

.contact__mail {
  left: calc(83.33% - 11.4rem);
  top: 48.6rem;
  width: 14.1rem;
  height: 14.1rem;
  transform: rotate(12.13deg);
}

.contact__inq {
  position: absolute;
  left: calc(79.17% - 24.7rem);
  top: 57rem;
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 2.2rem;
  letter-spacing: 0.22rem;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--cream);
  z-index: 2;
}

.contact__hello {
  position: absolute;
  left: calc(83.33% - 32.7rem);
  top: 63.9rem;
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 6rem;
  line-height: 1;
  letter-spacing: -0.36rem;
  text-transform: uppercase;
  color: var(--lime);
  z-index: 2;
}
.contact__hello:hover { text-decoration: underline; }

.contact__domain {
  position: absolute;
  left: calc(87.5% - 40.7rem);
  top: 71.1rem;
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: 0.18rem;
  text-transform: uppercase;
  color: var(--lime);
  z-index: 2;
}
.contact__domain:hover { text-decoration: underline; }

.contact__arrow {
  position: absolute;
  left: calc(58.33% - 5.3rem);
  top: 74.9rem;
  width: 36.3rem;
  z-index: 2;
}

.contact__bar {
  position: absolute;
  left: 24rem;
  right: 24rem;
  bottom: 12.4rem;
  display: flex;
  justify-content: space-between;
  font-family: 'Unbounded', sans-serif;
  font-weight: 300;
  font-size: 1.4rem;
  color: #fff;
  z-index: 2;
}

@media (max-width: 820px) {
  .contact {
    height: auto;
    min-height: 100vh;
    padding: 11rem 2rem 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .contact__cube { order: 1; position: static; width: 21rem; height: 21rem; }
  .contact__title {
    order: 2;
    position: static;
    margin-top: -3rem;
    font-size: 6.4rem;
    letter-spacing: -0.38rem;
  }
  .contact__nice {
    order: 3;
    position: static;
    transform: none;
    text-align: center;
    margin-top: 2rem;
    font-size: 1.4rem;
  }
  .contact__inq {
    order: 4;
    position: static;
    margin-top: 6.6rem;
    font-size: 1.4rem;
    text-align: center;
  }
  .contact__inq br { display: none; }
  .contact__hello { order: 5; position: static; margin-top: 1rem; font-size: 4rem; letter-spacing: -0.24rem; }
  .contact__domain { order: 6; position: static; margin-top: 0.8rem; font-size: 1.6rem; }
  .contact__bar {
    order: 7;
    position: static;
    margin-top: 8rem;
    flex-direction: column;
    align-items: center;
    gap: 2.6rem;
  }
  .contact__mail {
    position: absolute;
    left: auto;
    right: 1rem;
    top: 53.6rem;
    width: 7.6rem;
    height: 7.6rem;
  }
  .contact__arrow {
    position: absolute;
    left: 3rem;
    top: 46rem;
    width: 9rem;
    transform: rotate(60deg) scaleX(-1);
  }
}
