.demo-3 {
  --color-bg: #ece6df;
  --color-bg-alt: #8b8078;
  --color-title: #191818;
}

.home--hero {
  margin: 0;
  color: var(--color-text);
  /* background-color: var(--color-bg); */
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
  height: 100vh;
  /* background: url(../img/noise.png),
    radial-gradient(circle, var(--color-bg) 0%, var(--color-bg-alt) 100%);
  background-size: 150px, 100% 100vh; */
}

/* Page Loader */
/*
.js .loading::before,
.js .loading::after {
  content: "";
  position: fixed;
  z-index: 1000;
}

.js .loading::before {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-bg);
}

.js .loading::after {
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  margin: -30px 0 0 -30px;
  border-radius: 50%;
  opacity: 0.4;
  background: var(--color-link-hover);
  animation: loaderAnim 0.7s linear infinite alternate forwards;
}
*/

@keyframes loaderAnim {
  to {
    opacity: 1;
    transform: scale3d(0.5, 0.5, 1);
  }
}

.home--hero {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100%;
}

.home--hero .debug {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 1px;
  border-radius: 5px;
  background-color: red;
  transform: translate(-50%, -50%);
}

.home--hero .scene {
  perspective: 1000px;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100vw;
  left: 0;
  top: 0;
  z-index: 2;
}

.home--hero .card {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.home--hero .card__img {
  width: 7.5em; /* Initially 5em. */
  border-radius: 5px;
  aspect-ratio: 2/3;
  background-position: center;
  background-size: cover;
}

.home--hero .headings {
  text-align: center;
  position: relative;
  z-index: 10;
  text-transform: uppercase;
}

@media screen and (min-width: 640px) {
  .home--hero .card__img {
    width: 12.5rem; /* 200px / 16px. Initially 6em. */
  }
}
