body {
    margin: 0;
    padding: 15px 20px;
    min-height: 99%;
    width: 100%;
    min-width: 550px;
    color: #519975;
    background: #211D1B;
    font-family: cursor, monospace;
    overflow-x: hidden;
  }
  ::selection {
    color: #211830;
    background-color: #519975;
  }
  ::-moz-selection {
    color: #211830;
    background-color: #519975;
  }
  textarea {
    left: -1000px;
    position: absolute;
  }
  b {
    font-weight: bold;
    text-decoration: underline;
  }
  /* Cursor Start */
  .cursor {
    font-size: 12px;
    color: #73ABAD;
    background-color: #73ABAD;
    position: relative;
    opacity: 1;
    height: 1.5em;
    width: 10px;
    max-width: 10px;
    transform: translateY(4px);
    overflow: hidden;
    text-indent: -5px;
    display: inline-block;
    text-decoration: blink;
    animation: blinker 1s linear infinite;
  }
  @keyframes blinker {
    50% {
      opacity: 0;
    }
  }
  #command {
    cursor: text;
    min-height: 50px;   /* grows when a long command wraps instead of spilling out */
    /* Prompt stays pinned to the bottom of the window while you scroll a long report, so
       what you type is always visible (like a terminal's input line). Where the output is
       short it just sits under it as before. */
    position: sticky;
    bottom: 0;
    z-index: 1;
    background: #211D1B;   /* same as body: output scrolls underneath, not through it */
    padding-top: 4px;
    color: #73ABAD;
    /* color: #ffffff; */
  }

  /* less / nano style status bar above the prompt; only shown when there is more below */
  #statusbar {
    display: flex;
    justify-content: space-between;
    background: #519975;        /* reverse video: prompt green as the bar */
    color: #211D1B;
    font-weight: bold;
    padding: 0 8px;
    margin-bottom: 6px;
    line-height: 1.5em;
    cursor: pointer;
    user-select: none;
  }
  #statusbar[hidden] {
    display: none;
  }
  #liner {
    line-height: 1.3em;
    word-break: break-all;   /* long input wraps at the screen edge, cursor stays at its end */
    margin-top: -2px;
    animation: show 0.5s ease forwards;
    animation-delay: 1.2s;
    opacity: 0;
  }
  #typer {
    white-space: pre-wrap;   /* typed spaces show, like a terminal (only on the typed text, not
                                the HTML indentation around it, or the input drops a line) */
  }
  #liner::before {
    color: #519975;
    content: "visitor@testing.com:~$";
  }
  #liner.password::before {
    content: "Password:";
  }
  @keyframes show {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  /* Cursor End */
  p {
    display: block;
    line-height: 1.3em;
    margin: 0;
    overflow: hidden;
    white-space: nowrap;
    margin: 0;
    letter-spacing: 0.05em;
    animation: typing 0.5s steps(30, end);
  }
  .no-animation {
    animation: typing 0 steps(30, end);
  }
  .margin {
    margin-left: 20px;
  }
  @keyframes typing {
    from {
      width: 0;
    }
    to {
      width: 100%;
    }
  }
  .index {
    color: #DCDCCC;
  }
  .color2 {
    color: #B89076;
  }
    .color3 {
    color: #ae5236;
  }
  .command {
    color: #73ABAD;
    text-shadow: 0 0 5px #73ABAD; 
  }

  .command:hover{
    cursor: pointer;
    color: #fff;
  }


  .error {
    color: #B89076;
  }
  .white {
    color: #fff;
  }
  .inherit,
  a {
    color: #9C8394;
  }
  a {
    text-decoration: inherit;
  }
  a:hover {
    background: #73ABAD;
    color: #211830;
  }
  a:focus {
    outline: 0;
  }

.project_img{
  display: block;
  /* margin-left: auto;
  margin-right: auto; */
  max-width: 500px;
  max-height: 500px;
  /* width: 50%; */
  margin-top: 10px;
  margin-bottom: 10px;
  transition:linear;
}

.project_title{
  text-align: center;
  color: #B89076;
}

.project_headers{
  color: #73ABAD;
  text-shadow: 0 0 5px #73ABAD;
  text-align: center;
}

.project_subtitle{
  color: #B89076;
  margin-top: 1.2em;
}

.project_quote{
  display: block;
  color: #9C8394;
  font-style: italic;
  border-left: 2px solid #9C8394;
  padding-left: 10px;
  margin: 4px 0;
}

.project_iframe{
  display: block;
  max-width: 100%;
}

.project_iframe iframe{
  max-width: 100%;
}

/* --zoom images: small enlarge button in the image's top-right corner, and the modal it opens */
.zoom_wrap{
  position: relative;
  display: inline-block;
  max-width: 100%;
  margin: 10px 0;
}

.zoom_wrap .project_img{
  margin: 0;
}

.zoom_btn{
  position: absolute;
  top: 6px;
  right: 6px;
  display: flex;
  padding: 4px;
  color: #73ABAD;
  background: rgba(33, 29, 27, 0.85);
  border: 1px solid #73ABAD;
  cursor: pointer;
}

.zoom_btn:hover{
  color: #fff;
  border-color: #fff;
}

.zoom_modal{
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.75);
}

.zoom_modal[hidden]{
  display: none;
}

.zoom_box{
  position: relative;
  width: 90vw;
  height: 90vh;
  padding: 36px 16px 16px;
  box-sizing: border-box;
  background: #211D1B;
  border: 1px solid #519975;
}

.zoom_img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.zoom_close{
  position: absolute;
  top: 4px;
  right: 8px;
  padding: 0 6px;
  font: inherit;
  font-size: 24px;
  line-height: 1;
  color: #73ABAD;
  background: none;
  border: none;
  cursor: pointer;
}

.zoom_close:hover{
  color: #fff;
}

body.zoom_open{
  overflow: hidden;
}

/* Two hero images side by side at the top of a report; they stack on narrow screens. */
.project_hero{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 100%;
}

.project_hero .project_img{
  flex: 1 1 300px;
  min-width: 0;
  max-width: calc(50% - 5px);
  max-height: none;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

@media (max-width: 700px){
  .project_hero .project_img{ max-width: 100%; }
}

/* Fenced code blocks from the markdown reports: one span per line, keep the
   spacing (ASCII diagrams, aligned comments) that .report would collapse. */
.project_code{
  display: block;
  white-space: pre;
  overflow-x: auto;
  border-left: 2px solid #9C8394;
  padding-left: 10px;
}

.project_table{
  border-collapse: collapse;
  margin: 4px 0;
}

.project_table th,
.project_table td{
  border: 1px solid #9C8394;
  padding: 2px 10px;
  text-align: left;
}

/* Weekly report prose: unlike the short one-line commands elsewhere, this
   content needs to wrap instead of running off-screen. white-space:normal
   still leaves single unbroken "words" (like the ~~~ border lines) alone,
   so borders stay a single decorative line like the rest of the site. */
.report {
  display: block;
  white-space: normal;
  overflow: visible;
  animation: none;
  max-width: 100ch;
}