/* ==========================================
   CONSTANT STREAM
   ROOM 02 — PHOTOGRAPHS
   ========================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;

  background: #fff7e8;
  color: #38415a;

  font-family: "Courier New", Courier, monospace;
}


/* LOBBY LINK */

.back-to-lobby {
  position: fixed;
  top: 25px;
  left: 28px;

  z-index: 1000;

  color: #38415a;

  font-size: 10px;
  letter-spacing: 3px;

  text-decoration: none;

  mix-blend-mode: multiply;
}

.back-to-lobby:hover {
  text-decoration: underline;
}


/* ENTRANCE */

.photo-entrance {
  position: relative;

  min-height: 100vh;

  padding: 130px 8vw;

  background:
    linear-gradient(
      180deg,
      #d9f4ff 0%,
      #fff5ce 55%,
      #ffcfdf 100%
    );
}

.tiny-label {
  font-size: 10px;
  letter-spacing: 5px;
}

.photo-title {
  margin: 60px 0 40px;

  font-family: Georgia, serif;

  font-size: clamp(80px, 15vw, 210px);
  line-height: .67;
  letter-spacing: -8px;

  color: white;

  text-shadow:
    5px 5px 0 #a8baff,
    10px 10px 0 #ff9fc5;
}

.photo-intro {
  margin-top: 60px;

  font-size: 13px;
  letter-spacing: 5px;
}

.photo-scroll {
  position: absolute;

  right: 8vw;
  bottom: 45px;

  text-align: center;

  animation: drift 2s ease-in-out infinite;
}

.photo-scroll span {
  display: block;

  margin-top: 8px;

  font-size: 9px;
  letter-spacing: 3px;
}

@keyframes drift {
  50% {
    transform: translateY(10px);
  }
}


/* APPROACH */

.approach {
  height: 85vh;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  background: #fff7e8;

  text-align: center;
}

.approach p {
  font-family: Georgia, serif;

  font-size: clamp(22px, 3vw, 38px);

  font-style: italic;

  opacity: .65;
}

.approach-arrow {
  margin-top: 80px;

  font-size: 24px;

  animation: drift 2s ease-in-out infinite;
}


/* EXHIBIT */

.exhibit {
  position: relative;

  height: 400vh;

  background: #dce9ed;
}


/* THIS IS THE IMPORTANT PART */

.sticky-photo {
  position: sticky;
  top: 0;

  width: 100%;
  height: 100vh;

  display: flex;
  justify-content: center;
  align-items: center;

  overflow: hidden;

  background: #cfdde2;
}

.sticky-photo img {
  width: 100%;
  height: 100%;

  object-fit: contain;

  object-position: center;
}


/* PHOTO LABEL */

.photo-number {
  position: absolute;

  top: 30px;
  right: 35px;

  padding: 9px 13px;

  background: rgba(255,255,255,.65);

  backdrop-filter: blur(5px);

  font-size: 9px;
  letter-spacing: 4px;

  color: #38415a;
}


/* MOVING CAPTIONS */

.caption {
  position: absolute;

  z-index: 10;

  padding: 12px 16px;

  background: rgba(255, 247, 232, .78);

  backdrop-filter: blur(5px);

  font-family: Georgia, serif;

  font-size: clamp(20px, 3vw, 40px);

  color: #38415a;
}

.caption span {
  display: block;

  margin-bottom: 8px;

  font-family: "Courier New", monospace;

  font-size: 9px;
  letter-spacing: 4px;
}

.caption-one {
  top: 110vh;
  left: 8vw;
}

.caption-two {
  top: 220vh;
  right: 8vw;
}

.caption-three {
  top: 325vh;
  left: 50%;

  transform: translateX(-50%);
}


/* AFTER PHOTO */

.after-photo {
  min-height: 100vh;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;

  background:
    linear-gradient(
      180deg,
      #dce9ed,
      #d9f4ff,
      #ffcfdf
    );
}

.waiting {
  font-size: 10px;
  letter-spacing: 5px;
}

.waiting-small {
  margin-top: 15px;

  font-family: Georgia, serif;
  font-style: italic;

  opacity: .6;
}

.return {
  margin-top: 100px;

  color: #38415a;

  font-size: 10px;
  letter-spacing: 3px;

  text-decoration: none;
}

.return:hover {
  text-decoration: underline;
}