html, body {
  margin: 0;
  background: #171C12;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html {
  overflow-x: hidden;
}

.line-grid-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, 36px);
  grid-template-rows: repeat(auto-fill, 36px);
  justify-content: center;
  align-content: center;
}

.line-cell {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.line {
  width: 2px;
  height: 24px;
  background: #1D462F;
  border-radius: 0%;
  transform-origin: center;
  transform: rotate(0deg);
  /* easeInOutBack-style overshoot: bounces past target on the way in AND back */
  transition: transform 0.7s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.line.rotated {
  transform: rotate(90deg);
  background: #2DBD6E;
}

/* Real page content sits above the background grid */

#home {
  min-height: 100vh;
}

#about {
  min-height: 40vh;
  background: #171C12;
}

#work {
  min-height: 40vh;
  background: #d2cbba;
}

#cta-section {
  min-height: 20vh;
  background: #2DBD6E;
}

#footer {
  min-height: 40vh;
  background: transparent;

}

.content {
  position: relative;
  z-index: 1;
  min-height: fit-content;
  display: flex;
  flex-direction: column;
  align-items: left;
  justify-content: left;
  text-align: left;
  padding: 2rem;
  box-sizing: border-box;
  pointer-events: none; 
}

.content h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.content p {
  color: #e4e1da;
  max-width: 480px;
}

.heading {
  font-family: 'Google Sans Flex';
  font-style: normal;
  font-weight: 400;
  font-size: 60px;
  line-height: 60px;
  /* or 100% */
  display: flex;
  align-items: flex-end;
  color: #d2cbba;
}

.pull-out {
  font-family: 'Google Sans Flex';
  font-style: normal;
  font-weight: 400;
  font-size: 40px;
  line-height: 40px;
  /* or 100% */
  display: flex;
  align-items: flex-end;
  color: #1D462F;
}

.body-text {
  max-width: 30ch; 
  font-family: 'Google Sans Flex';
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 20px;
  display: flex;
  align-items: flex-end;
  color: #d2cbba;
}

.body-text-green {
  max-width: 30ch;
  font-family: 'Google Sans Flex';
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 20px;
  /* or 100% */
  display: flex;
  align-items: flex-end;
  color: #1D462F;
}

.body-serif {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 20px;
  color: #d2cbba;
  margin-bottom: 8rem;
}

.display-text {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: 80px;
  line-height: 82px;
  color: #d2cbba;
  margin-bottom: 0rem;
}

.display-text-green {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: 80px;
  line-height: 82px;
  color: #1D462F;
  margin-bottom: 0rem;
}

.section {
  min-height: 100vh;   /* each section takes at least one full screen */
  display: flex;
  align-items: center;
  justify-content: left;
  padding: 4rem 2rem;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  pointer-events: none; 
}

.columns {
  display: grid;
  grid-template-columns: 1fr 1fr;   /* two equal columns */
  gap: 2rem;
  width: 100%;   /* add this line */
  max-width: 1800px;
}

/* button */

.cta-button {
  margin-top: 1rem;
  box-sizing: border-box;
  position: relative;
  width: 140px;
  height: 60px;
  border: 2px solid#1D462F;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #FFFFFF;
  cursor: pointer;
  pointer-events: auto;   /* required since parent sections have pointer-events: none */
  background: transparent;
  transition: background 0.3s ease, border-style 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
  background: #1D462F;
  border-style: solid;
  transform: scale(1.05);
}

.cta-text {
  font-family: 'Google Sans Flex';
  font-style: normal;
  font-size: 18px;
  font-weight: 500;
  display: flex;
  text-align: center;
  color: #1D462F;
}

.cta-button:hover .cta-text {
  color: #d2cbba; /* dark text once the button fills with purple, for contrast */
}

@media (max-width: 700px) {
  .columns {
    grid-template-columns: 1fr;
  }

  .heading {
    font-size: 60px;
    line-height: 60px;
  }

  .body-text {
    font-size: 16px;
    line-height: 22px;
  }

  .section {
    padding: 4rem 1.5rem;
  }

  .display-text {
    font-size: 56px;
    line-height: 56px;
  }

  .display-text-green {
    font-size: 56px;
    line-height: 56px;
  }

  .pull-out {
    font-size: 28px;
    line-height: 28px;
  }
}