body {
  overflow-x: hidden;
}

body,
html {
  touch-action: pan-y;
}

#scrolly {
  position: relative;
  /* background-color: #f3f3f3; */
  /* padding: 1rem; */
}

.scrolly-text {
  position: relative;
  padding: 0;
  /* max-width: 30rem; */
  /* width: 500px; */
  top: -60vh;
}

/* .sticky-thing {
  position: -webkit-sticky;
  position: sticky;
  left: 0;
  width: 100%;
  margin: 0;
  background-color: #8a8a8a;
  z-index: 0;
  top: 12.5vh;
  height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
} */

.sticky-thing {
  position: -webkit-sticky;
  position: sticky;
  /* left: 500px; */
  /* width: 100%; */
  margin: 0;
  /* background-color: #8a8a8a; */
  z-index: 0;
  top: 60px;
  /* Center everything inside */
  /* display: flex;
  align-items: center;
  justify-content: center; */
}

.sticky-thing img {
  height: 100vh;
  /* overflow-x: hidden; */
  /* transform: translateX(100vw); */
}

.sticky-thing p {
  font-size: 8rem;
  font-weight: 900;
  color: #fff;
}

.step {
  margin: 0 auto 0 auto;
  /* margin: 20px 0; */
  color: #000;
  /* height: 250px; */
  width: 500px;
}

.step-p-container {
  padding-bottom: 75%;
}

.step:last-child {
  margin-bottom: 0;
}

.step.is-active p {
  background-color: goldenrod;
  color: #3b3b3b;
}

.step p {
  text-align: center;
  padding: 1rem;
  background-color: #e5e3d7;
  border: 2px solid #000;
  box-shadow: 1px 4px 5px 0px rgba(0, 0, 0, 0.25);
  color: #000;
  font-feature-settings: "liga" off, "clig" off;
  /* Body/Default */
  font-family: "Proxima Nova";
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 32px; /* 160% */
}

#scrolly-image {
  object-fit: cover; /* Ensures the image maintains its aspect ratio and covers the container */
  height: 100vh; /* Constrain image height to the viewport */
  /* width: 100%; */
  object-position: top;
}

.chapter-nav-scrolly {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
}

.chapter-button-scrolly {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 26px;
  padding: 0 2%;
  text-decoration: none;
  transition: 0.3s ease;
  width: min(470px, 100%);
  height: 400px;
}

.scrolly-p {
  color: #000;
  text-align: center;
  font-family: "Proxima Nova";
  font-size: 28px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

/* General mobile styles */
@media only screen and (max-width: 768px) {
  /* Styles for mobile devices */
  .step {
    width: 80vw;
    height: auto;
  }
  .hero-h1 {
    font-size: 40px;
    line-height: 100%;
  }
  .chapter-button-scrolly {
    height: 380px;
    justify-content: flex-start;
  }
  .chapter-nav-scrolly,
  .scrolly-p {
    padding-left: 20px;
    padding-right: 20px;
  }
  .modal-logo-text {
    display: flex;
    justify-content: center;
  }
}
