body {
  background-color: #f8f8f5;
  color: #121212;
  font-family: 'Georgia', 'Times New Roman', serif;
  margin: 0;
  padding: 0;
}

#title {
  font-size: 8rem;
  text-align: center;
}

#subtitle {
  font-size: 3.5rem;
  text-align: center;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  color: #121212;
  letter-spacing: -0.5px;
}

#prompt {
  font-size: 2rem;
  text-align: center;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  color: #121212;
  letter-spacing: -0.5px;
}


#section-headings {
  font-size: 2.5rem;
  text-align: left;
  font-weight: 500;
  line-height: 1.2;
  margin-left: 1rem;
  margin-bottom: 0.5rem;
  color: #121212;
  letter-spacing: -0.5px;
  text-decoration: underline;
}



section {
  display: flex;
  min-height: 100vh;
  padding: 50px;
}

article {
  flex: 1;
}

p {
  margin-left: 4rem;
  margin-right: 4rem;
  text-align: justify;
    font-size: 1.2em;
}


.step {
  margin: 0 auto 300px auto;
  padding: 100px 0;
  padding-left: 20px;
  font-size: 1.2em;
}

figure {
  flex: 1;
  position: sticky;
  top: 10vh;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

#rotating-box, #fading-box {
  width: 150px;
  height: 150px;
  background-color: black;
  transition: all 0.4s ease;
  margin-bottom: 150px; 
}




#citation {
  font-family: sans-serif;
  font-size: 1rem;
  font-weight: 100;
  text-align: center;
  margin-left: 1rem;
}

.scrolly-container {
  position: relative;
  width: 100%;
  height: 300vh; /* allows scrolling */
}

/* Static image, centered, stays put */
#intro-image {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 0;
}

#intro-image img {
  max-height: 90vh;
  max-width: 100%;
  object-fit: contain;
}

/* Text overlay scrolls on top */
.scrolly-intro {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1; /* on top of image */
  padding: 5vh 0;
}


.step-intro {
  max-width: 600px;
  margin: 20rem auto;
  background: rgba(255, 255, 255, 0.85);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  font-size: 1.3rem;
  line-height: 1.6;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}


.spacer100 {
  height: 60vh; /* adjust to delay text entry more or less */
}
