/*:root {*/
/*--black: #000000;*/
/*--light-black:#555555;*/
/*--yellow: #FFFF55;*/
/*--dark-grey: #AAAAAA;*/
/*--grey: #bebdbd;*/
/*--light-green: #55FF55;*/
/*--dark-green: #00AA00;*/
/*--orange: #FF5555;*/
/*--dark-turqoise: #0/0AAAA;*/
/*--turqoise: #55FFFF;*/
/*--white: white;*/
/*--pink: #FD65FD;*/
/*--ascii-arena: #070766;*/
/*--grey-ascii-arena: #A1A1A1;*/
/*--light-grey: #FFFFFF;*/
/*--light-blue: #5555FF;*/
/*--blue: #0000AA;*/
/*--half-height: 7ch;*/
/*--transparent: transparent;*/
/*}*/


@font-face {
  font-family: PetMe;
  src: url(PetMe.ttf);
}
@font-face {
  font-family: IBMVGA8;
  src: url(AcPlus_IBM_VGA_8x16.ttf);
}
@font-face {
  font-family: IBMBIOS2Y;
  src: url(AcPlus_IBM_BIOS-2y.ttf);
}
@font-face {
  font-family: IBMEGA9;
  src: url(Px437_IBM_EGA_9x14.ttf);
}

html, body {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}


  body {
  overflow-y: hidden;
  font-size: 16px;
  /* scrollbar-width: thin; */
  scrollbar-color:  var(--light-black) var(--dark-grey);
  margin-top: 30px;
  background-color: black;
  /* font-size: 14px; */
  min-height: 100vh;
  /* overflow-x: hidden; */
    /*opacity: 0;*/
    /*transition: opacity 1s ease;*/
  }
  body.loaded {
    opacity: 1;
  }


* {
    font-size: 16px;
    margin: 0;
  padding: 0;
    box-sizing: border-box;
  font-family: inherit;
  font-weight: 200;
  /* line-height: must not be deleted for the slime animation to work; */
  line-height: 1;
  }

.font-refresh {
    letter-spacing: 0.0001px;
}

/* Firefox */

/* WebKit */
::-webkit-scrollbar {
  width: 12px;
  background-color: var(--white);
}

::-webkit-scrollbar-thumb {
  background-color: var(--dark-grey);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--dark-turqoise);
}


.flex-between-y {
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: space-between;

}

.scroll-box {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  overflow-y: auto;
  overflow-x: hidden;
  padding-top: 3em; /* push content down to avoid overlap with the fixed text */
}


ul, ol {
    list-style: none;
}
a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.z-2{
  z-index:2;
}

.z-1{
  z-index:1;
}

.z-0{
  z-index:0;
}

.relative{
  position: relative;
}

.scroll{
    overflow-y: auto;
}



.minus-3lh{
  margin-top: -3lh;
}

.bold {
  font-weight: 600;
}

.bg-black{
  background-color: var(--black);
}

.bg-grey{
  background-color: var(--grey);
}

.border-bottom-grey{
  border-bottom: var(--light-black) solid 1px;
  margin-top: 5px
}

.fade-in {
  opacity: 0;
  transition: opacity 1s ease;
}

.fade-in.show {
  opacity: 1;
}

.center-text{
  display: flex;
  align-items: center;
}

.center{
  display:flex;
  justify-content: center;
}

.link-list li a{
  z-index: 1;
  position: relative;
  padding-right: 8px;
}

/*.nav__link{*/
/*text-decoration: none;*/
/*}*/
/**/
/*.nav__link:hover{*/
/*  color: var(--turqoise);*/
/*  text-decoration: none !important;*/
/**/
/*}*/

.first-letter-link{
  color: white;
}

a.link::before {
    content: "» ";
    color: var(--dark-turqoise);
  white-space: nowrap;
}

a.link {

    background-color: var(--grey);
    text-decoration: none;
    /*color: #007BFF; /* Color on hover (blue in this case) */
    color: var(--blue); /* Color on hover (blue in this case) */
    transition: color 0.2s ease;
}

a.link:hover {
    color: var(--turqoise); /* Color on hover (blue in this case) */
}


a.link-line {
    text-decoration: underline;
    /*color: #007BFF; /* Color on hover (blue in this case) */
    color: var(--blue); /* Color on hover (blue in this case) */
    transition: color 0.2s ease;
}

a.link-line:hover {
    color: var(--turqoise); /* Color on hover (blue in this case) */
}

.responsive-span,
.responsive-span-vertical {
  pointer-events: none;
    user-select: none;
    z-index: -1;
}


    .left-section {
      display: flex;
      flex-direction: row-reverse;
      justify-content: flex-start;
      flex: 1;
      overflow: hidden;
      white-space: nowrap;
    }

    .center-section {
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 2;
    }

    .right-section {
      display: flex;
      flex-direction: row;
      justify-content: flex-start;
      flex: 1;
      overflow: hidden;
      white-space: nowrap;
    }


.dark-turqoise{
  color:var(--dark-turqoise)
}


.blue{
  color:var(--blue)
}

.light-blue{
  color:var(--light-blue)
}
.yellow{
  color:var(--yellow);
}

.light-green{
  color: var(--light-green);
}


.turqoise{
  color: var(--turqoise);
}

.dark-green{
  color:var(--dark-green);
}

.black{
color: var(--black) !important;
}

.black-bg{
color: var(--black) !important;
  background-color: var(--black);
}

.orange{
 color: var(--orange);
}

.purple{
  color: var(--purple);
}
.pink{
  color: var(--pink);

}

.bit-zero{
  color: var(--dark-green);
}
.bit-one{
  color: var(--light-green);
}

.outer {
  /*font: 1em/1.18 inherit;*/
  /*font-size: 2em;*/
  position: relative;
  width: min-content;
}

.trans-y-1ch{
  transform:translateY(-1ch)
}

.padding-1ch{
  padding: 1ch
}

.padding-2ch{
  padding: 2ch
}

.small-margin-top{
  margin-top: var(--small-pad);
}


.dark-green{
  color:var(--dark-green);
}


.left-section, .right-section{
  margin-top: var(--small-pad);
}


.ascii-box {
  position: relative;
  color: var(--light-black);
}

.bg {
  position: absolute;
  margin: 0.5lh 0.5ch;
  left: calc(var(--x) * 1ch);
  top: calc(var(--y) * 1lh);
  width: calc(100% - var(--w) * 1ch);
  height: calc(100% - var(--h) * 1lh);
  background-color: var(--bg);
  /*box-shadow: 5px 5px 15px rgba(0, 0, 0, 1.3);*/
}


    /*pre.ascii-box {*/
    /*font: 1em/1.18 inherit;*/
    /*  font-family: monospace;*/
    /*}*/

.seperator {
  width: 100%;
  height: 1px;
  background-color: var(--black); /* Use background-color, not color */
  margin: 10px 0; /* Optional: vertical spacing */
}

#app{
  color: var(--grey);
  position: relative;
  z-index: 1;
}



.flex-horizontal{
  display: flex;
  flex-direction: row;
}

.ascii-logo span{
  background-color: transparent;
}


.ascii-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

/* ASCII center art */
.ascii-center-art {
  margin: 0;
  padding: 0;
  pointer-events: none;
}

/* ASCII grid wrapper */
.ascii-grid-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  pointer-events: none;
}

/* Repeated ASCII items */
.ascii-repeat-item {
  margin: 0;
  padding: 0;
}


    .background-pre {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      white-space: pre;
      /*font-family: monospace;*/
      font-size: 12px;
      line-height: 1;
      z-index: -1;
      color: var(--grey);
      pointer-events: none;       /* let content be clickable */
      overflow: hidden;
    }

    .ascii-background {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: -1;
      display: flex;
      justify-content: center;
      align-items: center;
      overflow: hidden;
      background-color: #f0f0f0;
      user-select: none; /* Disable text selection */
    }

    .ascii-container {
      position: relative;
    }

    .center-art {
      color: #333;
      opacity: 0.15;
      margin: 0;
      padding: 0;
      pointer-events: none;
    }

    .repeating-grid {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      display: grid;
      pointer-events: none;
    }

    .repeat-item {
      margin: 0;
      padding: 0;
      color: #333;
      opacity: 0.15;
      pointer-events: none;
    }

    /* Page Content */
    .page-content {
      position: relative;
      z-index: 1;
      padding: 2rem;
      text-align: center;
    }

    .headline {
      font-size: 3rem;
      margin-bottom: 2rem;
      color: #333;
      text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.7);
    }

    /* Additional page content styling */
    .content-section {
      max-width: 800px;
      margin: 0 auto;
      background-color: rgba(255, 255, 255, 0.85);
      padding: 2rem;
      border-radius: 8px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }


.nav-wrapper{
  position: fixed;
  top: 0;
  width:100%;
  z-index:1000;
}

.nav {
  position: fixed;
  display: flex;
  justify-content: space-between;
  background-color: var(--black); /* background-color: var(--dark-green); */
  color: white;
  padding: 5px;
  padding-bottom: 8px;
  position: relative;
  z-index: 2;
  width: 100%;

  /*background: transparent url("../outline.png") no-repeat scroll 10ch 7px;*/
}

.navbar{
  padding: 0px 1ch;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex: 1 1 500px; /* grow: 1, shrink: 1, base size: 450px */
  max-width: 500px;

  border: var(--light-black) solid;
}

.navbar-side{
  flex: 1;
  border: var(--light-black) solid;
  background-color: var(--light-black);
  /*width: 100%;*/
  /*flex-grow: grow;*/
}

.nav-dots {
position:relative;
transform: translateY(-10px);
color: var(--grey);
z-index: 10;
}



.nowrap{
  white-space: nowrap;
}

.font-controls {
        }


select {
    all: unset; /* remove default styles */
    -webkit-appearance: auto; /* for Safari/Chrome */
    -moz-appearance: auto;    /* for Firefox */
    appearance: auto ;         /* standard */
    color: var(--turqoise);            /* font (text) color */
    /*padding: 5px;*/
    /*margin-left: 5px;*/
}


option{
      background-color: green; /* box background */
}

.bracket{
  color: var(--yellow);
}

.white{
color:var(--white) !important;
}
.target-text {
  color: white;
  opacity: 0;
  transition: opacity 2s ease-in;
}

.target-text.visible {
  opacity: 1;
}


.fade-in {
  opacity: 0;
  animation: fadeInBackground 4s ease-in forwards;
}

.fade-in-fast{

  opacity: 0;
  animation: fadeInBackground 2s ease-in forwards;
}

.fade-in-bg{

  animation: fadeInBackground 1.5s ease-in forwards;
  opacity: 0;
/*z-index: -1;*/
  animation-delay: 2s;
    }


@keyframes fadeInBackground {
  to {
    opacity: 1;
  }
}

@keyframes fadeInLogo {
  from {
    opacity: 0;
    transform:
      translate(calc(50vw - 50%), calc(50vh - 50% - var(--half-height)))
      scale(0.6);
  }

  to {
    opacity: 1;
    transform:
      translate(calc(50vw - 50%), calc(50vh - 50% - var(--half-height)))
      scale(0.6);
  }
}

@keyframes fadeIn {
  to { opacity: 1; }
}



@keyframes grow {
  from {
    transform:
      translate(calc(50vw - 50%), calc(50vh - 50% - var(--half-height)))
      scale(0.6);
  }
  to {
    transform:
      translate(calc(50vw - 50%), calc(50vh - 50% - var(--half-height)))
      scale(1);
  }
}

@keyframes moveBack {
  from {
    transform:
      translate(calc(50vw - 50%), calc(50vh - 50% - var(--half-height)))
      scale(1);
  }
  to {
    transform:
      translate(0, 0)
      scale(1);
  }
}


nav a {
  color: var(--white); /* Matches the nav text color */
  text-decoration: none; /* Removes underline */
}

.nav a:hover {
  text-decoration: underline; /* Optional: add hover effect */
}


.white{
    color: var(--dark-green)
}

.light-green {
    color: var(--light-green);
}




.content {
  position:relative;
  z-index:1;
}

#example1{
  background-color: white;
}

.center-flex{
position: relative;
display: flex;
flex-direction: row;
}

.column-flex{
  display: flex;
  flex-direction: column;
}

.column-align-center{
  display: flex;
  flex-direction: column;
  align-items: center;
}
.center-flex {
    display: flex;
    justify-content: center;
    align-items: stretch; /* ensures children match height of tallest item */
    width: 100%;
    box-sizing: border-box;
  flex-direction:column;
  }



.center-pre-wrapper {
  margin-top: var(--small-pad);
  position: relative;
  display: inline-block;
}

.background-layer {
  position: absolute;
  top: 6ch;
  bottom: 8ch;
  left: 0;
  right: 0;
  background-color: var(--black); /* Your desired background */
  z-index: 0;
}




.center-pre {
  position: relative;
  z-index: 10;
}

/*  #ascii-logo {*/
/*	position: relative;*/
/*    white-space: pre;*/
/*    text-align: center;*/
/*    min-width: fit-content;*/
/*z-index: 2;*/
/*	background: black;*/
/*  }*/

  .left-box{
    text-align: right;
  }
  .left-box,
  .right-box {
	background: black;
    color: var(--dark-grey);
    flex: 1;
  }


.container {
  display: flex;
  width: 100%;
}

.space {
  flex: 1; /* equal space on both sides */
}

.content {
  width: 100%;
  max-width: 1200px;
}

.triangle {
margin-top: 50px;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
    flex-direction: column;

}

.triangle span {
background-color: var(--dark-grey);
color: var(--white);
  padding-bottom: 2px;
}

.dots {
  color: var(--orange);
}

.percents {
  color: var(--pink);
}


.ascii-transparent {
background-color: transparent !important;
}




.dot-seperation{
  z-index: 1;
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: baseline;
  overflow: hidden;
}

.dot-seperation span {
  position: relative;
  background: var(--grey);
  padding-left: 8px;
  z-index: 2;
  text-align: right;
}

/* The dot leader line */
.dot-seperation::before {
  content: "................................................................................................";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.1ch;
  z-index: -1;
  color: var(--light-black);
  letter-spacing: 2px;
  white-space: nowrap;
  overflow: hidden;
}

/* Mobile: flex column below 480px */
@media (max-width: 480px) {
  .dot-seperation {
    flex-direction: column;
     margin-bottom: 5px;
  }


.dot-seperation span {
  text-align: left;
}

}

/* Tablet: flex column below 768px */
/*@media (min-width: 768px) {*/
/*  .dot-separation {*/
/*    flex-direction: column;*/
/*  }*/
/*}*/

