/* Full-screen centered layout */
body {
  margin: 0;
  padding: 0;
  height: 100vh;
  width: 100vw;
  display: flex;
  justify-content: center;
  background-color: #f0f0f0; /* fallback background color */
  background-image: url('background.jpg'); /* optional background image */
  background-size: cover;
  background-position: center;
  font-family: 'Courier New', Courier, monospace;
}

/* Container for text + button */
.center-content {
  text-align: center;
  color: #222;
}

.body-content {
  text-align: center;
  color: #222;
  padding-left: 18%;
  padding-right: 18%;
  padding-top: 10%;
}
.center-text {
  margin: 0.5rem 0.5; /* spacing between lines */
  font-size: 1.8rem;
  font-weight: bold;
}

 .center-text2 {
    margin: 0.5rem 0; /* spacing between lines */
    font-size: 1.2rem;
  }

  .body-text {
    margin: 0.5rem 0.5; /* spacing between lines */
    font-size: 1.2rem;
    font-weight: bold;
  }

 .body-text2 {
    margin: 1rem 1rem; /* spacing between lines */
    font-size: 1rem;
    text-align: center;
    line-height: 1.5rem;
  }

  .body-text3 {
    margin: 1rem 1rem; /* spacing between lines */
    font-size: 1.1 rem;
    font-weight: bold;
    text-align: center;
    line-height: 1.5rem;}

  .bottom-text {
    position: absolute;
    bottom: 20px; /* distance from bottom */
    width: 100%;
    text-align: center;
    font-size: 1rem;
    color: #555;}

    .quote {
      padding-left: 18%;
    padding-right: 18%;
    }

    .citation {
      padding-left: 10%;
      padding-right: 5%;
      text-align: justify;
      line-height: 1.5;
    }

a.one:link {
  text-decoration: none;
  color: black;
}
a.one:visited {
  text-decoration: none;
  color: black;
}

    .typewriter {
  color: #222;
  font-size: 2rem;
  white-space: nowrap;
  overflow: hidden;
  border-right: 3px solid #222;
  animation: typing 3s steps(30, end), blink-caret 0.75s step-end infinite;
  margin-bottom: 30px; /* space between text and button */
}

/* Typewriter animation */
@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: #222; }
}

/* Button styling */
.main-button {
  background-color: #222;
  color: #fff;
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.main-button:hover {
  background-color: #444;
}
.image-container {
  display: flex;
  justify-content: center;
  align-items: flex-start; /* captions start under each image */
  gap: 70px; /* spacing between images */
}

/* Each image + caption group */
.image-item {
  text-align: center;
}

/* Images styling */
.image-item img {
  width: 270px; /* medium size, adjust as needed */
  height: auto;
  display: block;
  margin-bottom: 8px; /* space between image and caption */
  border-radius: 4px; /* optional rounded corners */
}

/* Captions styling */
.caption {
  font-size: 0.9rem;
  padding-top: 0.5rem;
  color: #222;
  margin: 0;
  width: 270px;
  text-align: center;
}

.bibliography {
  position: absolute;
  bottom: 10%; /* distance from bottom */
  width: 100%;
  text-align: center;
  font-size: 1rem;
  color: #555;}

  .in-text-image {
    width: 200px;
  }

  .top-spacer {
    height: 400px;           /* initial space above text */
    position: sticky;
    top: 0;                  /* sticks to top until scrolled out */
    background: transparent; /* invisible, just a spacer */}

    .tab {
      display: inline-block;
      margin-left: 600px;
  }