@font-face {
    font-family: "PrintChar21";
    src: url("assets/PrintChar21.woff") format("woff");
      font-weight: 1 1000;
  }

  a:link { text-decoration: none;
    color: #eee;}
  a:active {text-decoration: none;
    color: #eee;}
  a:visited { text-decoration: none;
    color: #eee;
  }
  a:hover { 
    color: #de710a;
    cursor: context-menu;
  }
  a img { border: none; }


  .hoverstate:hover{
    /* text-decoration: line-through; */
    color: #0b07e1;
    background-color: #eee;
  }

  button{
    background: #eee;
    color: #0b07e1;
    border: none;
    padding: 0;
    font: inherit;
    cursor: context-menu;
    outline: inherit;
    font-family: PrintChar21;
    font-size: 1.4em;
    letter-spacing: -0.1em;
    text-align: left;
    text-transform: uppercase;
    margin: 2rem;
  }

  button:hover{
    text-decoration:line-through;
  }

button:active {
  background: #0b07e1;
  color: #eee;
  transition: color 1s ease-in-out; /* Smooth transition */
}

button:focus{
  color: #de710a;
  filter: blur(0.5px);
}

.button-nav:active{
}


.memory-bank {
  position: relative;
  margin-top: 2em;
  overflow: scroll;
}

#memoryBank2 {
  display: none;
}

.box{
  margin: 0 0 20px 0;
}

.text-item {
  width: 100%;
  height: 40vh;
  overflow: scroll; 
  position: relative;
  margin-bottom: 20px;
}

 .text{
  overflow: scroll; 
 }

 .links{
  color: #eee;
 }

 .links:active{
  color: #eee;
 }

 .links{
  color: grey !important;
  background-color: #0b07e1 !important;
  text-decoration: line-through !important;
 }

 .spacer-before{
  position: relative;
  bottom: 0;
  width: 100%;
  height: 10vh;
  margin: .2rem;
  /* background-color: #eee; */
 }


 .spacer{
  position: relative;
  bottom: 0;
  width: 100%;
  height: 20px;
  margin: .2rem;
  color: #0b07e1;
  background-color: #eee;
  z-index: 10;
  overflow: auto;
  white-space: nowrap;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
 }

.spacer::-webkit-scrollbar {
  display: none;
}

#terminal {
  width: 100vw;
  height: 100vh;
  display: flex;
  position: absolute;
  justify-content: center;
  align-items: center;
  background-color: #0b07e1;
  z-index: 999;
}

.content{
}

#bootMessages {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #eee;
  width: 100%;
  font-size: 1.4em;
  white-space: pre-wrap;
  word-wrap: break-word;
  font-family: PrintChar21;
}

.type-container{
  display: flex;
  flex-direction: column;
  position: relative;
  justify-content: flex-start;
  align-items: flex-start;
}

.type-letters{
  left: 10vw;
}

.header-fade-element{
  opacity: 0; /* Initially hidden */
  transition: opacity 1s ease-in-out; /* Smooth transition */
}

/* Add this to your styles.css */
@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; 
    pointer-events: none;
    overflow: hidden;}
}

.fade-out {
  animation: fadeOut .2s forwards;
}


  p{
    color: #eee;
    font-family: PrintChar21;
    font-size: 1.4em;
    /* letter-spacing: -0.0em; */
    /* text-align: left; */
    text-transform: uppercase;
  }

  .p2{
    color: #eee;
    font-family: PrintChar21;
    font-size: .5rem;
    letter-spacing: .2em;
    text-align: left;
    text-transform: uppercase;
  }

  .p3{
    color: #0b07e1;
    font-family: PrintChar21;
    font-size: .5rem;
    letter-spacing: .2em;
    text-align: left;
    text-transform: uppercase;
  }

  h2 {
    color: #0b07e1;
    font-family: PrintChar21;
    font-size: 20px;
    /* background-color: #eee; */
    /* position: absolute; */
    text-transform: uppercase;
  }

.header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
}

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

body {
    height: 100%;
    margin: 0;
    /* color: #ffffff; */
    background-color: #0b07e1;
    font-family: PrintChar21;
    /* font-size: 20px; */
    /* font-kerning: auto; */
    letter-spacing: -0.2em;
    text-transform: uppercase;
}

.wait-cursor {
  cursor: wait;
}

.gridContainer{
    background-color: aqua;
    width: 80vw;
    height: 30vh;
}

.svg{
    position:sticky ;
    display: flex;
    top: 20vh;
    left: 10vw;
}

.main-container{
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 400px;
  transform: translate(-50%, -50%);
  /* background-color: rgb(255, 0, 106); */
}

.folder-header{
  display: flex;
  flex-direction: row;
  justify-content:space-evenly;
  align-items: center;
  margin: 0;
  /* background-color: yellow; */
  border-bottom: double #eee;
}

.index-naming{
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  top: 10px;
  margin: 0;
  background-color: #eee;
  border-bottom: double #eee;
}

.index-naming-object{
  color: #0b07e1;
  margin: .3em .1em 0 .1em ;
}

.idx-1{
  width: 20%;
}
.idx-2{
  width: 75%;
}
.idx-3{
  /* width: 20%; */
}

#box-left{
  overflow: hidden;
  width: 20%;
  /* background-color: #de710a; */
}

.middle-box{
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
}

.main-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
    padding: 10px 30px 10px 30px;
    height: 100%;
    border: #eee;
    color: #eee;
    border: 3px;
    border-style: double;
    border-radius: 5px;
    overflow: hidden;
}

#message{
  /* text-align: center; */
}

#loading-bar-container {
  /* color: #eee; */
  /* white-space: pre; */
  overflow: visible;
  margin: 8px;
}

.overlay{
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  margin-top: 20px;
  pointer-events: none;
  overflow: hidden;
  z-index: 999;
  background-color: #0b07e1;
	-webkit-animation: scale-down-ver-bottom 0.6s cubic-bezier(0.250, 0.460, 0.450, 0.940) 7s forwards;
	        animation: scale-down-ver-bottom 0.6s cubic-bezier(0.250, 0.460, 0.450, 0.940) 7s forwards;
}

/* subtle global highlight blur using backdrop-filter */
body::after{
  content: "";
  position: fixed;
  inset: 0;                     /* cover the viewport */
  pointer-events: none;         /* don't block interaction */
  z-index: 9999;                /* sit above everything */
  /* tiny translucent white ensures the backdrop-filter has something to work on
     and targets bright/white highlights specifically */
  background: rgb(255, 255, 255);
  -webkit-backdrop-filter: blur(.5px) saturate(0.08);
  backdrop-filter: blur(.5px) saturate(0.98);
  mix-blend-mode:difference;
}

/* tweak: if you want the blur to affect only light tones more strongly,
   increase the alpha in background (e.g. 0.03–0.06) or bump blur px */

/* Fallback for browsers without backdrop-filter */
@supports not ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))) {
  /* global subtle blur as fallback (may blur everything uniformly) */
  html {
    filter: blur(2px) saturate(0.98);
  }
  /* hide the fallback blur slightly on modal/overlay elements if needed */
  /* .no-blur { filter: none !important; } */
}

 @-webkit-keyframes scale-down-ver-bottom {
  0% {
    -webkit-transform: scaleY(1);
            transform: scaleY(1);
    -webkit-transform: opacity(1);
            transform: opacity(1);
    -webkit-transform-origin: 0% 100%;
            transform-origin: 0% 100%;
  }
  100% {
    -webkit-transform: scaleY(0);
            transform: scaleY(0);
    -webkit-transform-origin: 0% 100%;
            transform-origin: 0% 100%;
  }
}
@keyframes scale-down-ver-bottom {
  0% {
    -webkit-transform: scaleY(1);
            transform: scaleY(1);
    -webkit-transform-origin: 0% 100%;
            transform-origin: 0% 100%;
  }
  100% {
    -webkit-transform: scaleY(0);
            transform: scaleY(0);
    -webkit-transform: opacity(0);
            transform: opacity(0);
    -webkit-transform-origin: 0% 100%;
            transform-origin: 0% 100%;
  }
}

.nav-box{
  width: 100%;
  height: 100%;
  overflow: scroll;
  /* background: rgb(10,7,149);
  background: linear-gradient(0deg, rgba(10,7,149,1) 0%, rgba(4,2,131,0) 100%); */
}

.link-item {
  display: block;
  width: 100%;
  cursor: context-menu;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.link-item-object{
  /* background-color: #de710a; */
  overflow: hidden;
}

.link-item-row{
  display: flex;
  flex-wrap: nowrap;
  /* flex: 1 auto 1; */
  flex-direction: row;
  align-content: flex-start;
  justify-content: flex-start;
}

.preview-box{
  color: #eee;
  border-style: double;
  border-radius: 5px;
  margin: 0 0 0 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 999;
}

.preview-box img {
  width: 400px;
  height: auto; 
}

.preview-note{
  display: block;
  position: absolute;
  z-index: 999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.emojibox{
  display: flex;
  position: absolute;
  float: right;
  bottom: 0;
  right: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  overflow: hidden;
  /* background-color: green; */
	-webkit-animation: flicker-in-1 2s ease-in-out 12s both;
	        animation: flicker-in-1 2s ease-in-out 12s both;
}

.emoji{
  display: block;
}

.speechbubble{
  position: absolute;
  color: #eee;
  top: 5px;
  left: 5;
  width: 10vw;
  border: thin double #eee;
  border-radius: 2px;
  padding: 3px;
  /* background-color: #de710a; */
}

 @-webkit-keyframes flicker-in-1 {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 0;
  }
  10.1% {
    opacity: 1;
  }
  10.2% {
    opacity: 0;
  }
  20% {
    opacity: 0;
  }
  20.1% {
    opacity: 1;
  }
  20.6% {
    opacity: 0;
  }
  30% {
    opacity: 0;
  }
  30.1% {
    opacity: 1;
  }
  30.5% {
    opacity: 1;
  }
  30.6% {
    opacity: 0;
  }
  45% {
    opacity: 0;
  }
  45.1% {
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  55% {
    opacity: 1;
  }
  55.1% {
    opacity: 0;
  }
  57% {
    opacity: 0;
  }
  57.1% {
    opacity: 1;
  }
  60% {
    opacity: 1;
  }
  60.1% {
    opacity: 0;
  }
  65% {
    opacity: 0;
  }
  65.1% {
    opacity: 1;
  }
  75% {
    opacity: 1;
  }
  75.1% {
    opacity: 0;
  }
  77% {
    opacity: 0;
  }
  77.1% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  85.1% {
    opacity: 0;
  }
  86% {
    opacity: 0;
  }
  86.1% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}
@keyframes flicker-in-1 {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 0;
  }
  10.1% {
    opacity: 1;
  }
  10.2% {
    opacity: 0;
  }
  20% {
    opacity: 0;
  }
  20.1% {
    opacity: 1;
  }
  20.6% {
    opacity: 0;
  }
  30% {
    opacity: 0;
  }
  30.1% {
    opacity: 1;
  }
  30.5% {
    opacity: 1;
  }
  30.6% {
    opacity: 0;
  }
  45% {
    opacity: 0;
  }
  45.1% {
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  55% {
    opacity: 1;
  }
  55.1% {
    opacity: 0;
  }
  57% {
    opacity: 0;
  }
  57.1% {
    opacity: 1;
  }
  60% {
    opacity: 1;
  }
  60.1% {
    opacity: 0;
  }
  65% {
    opacity: 0;
  }
  65.1% {
    opacity: 1;
  }
  75% {
    opacity: 1;
  }
  75.1% {
    opacity: 0;
  }
  77% {
    opacity: 0;
  }
  77.1% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  85.1% {
    opacity: 0;
  }
  86% {
    opacity: 0;
  }
  86.1% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}


@media only screen and (max-width: 800px) {
  body {

  }

  .emojibox{
    display: none;
  }

  p{
    color: #eee;
    font-family: PrintChar21;
    font-size: .4em;
    line-height: 110%;
    letter-spacing: .1em;
    text-align: left;
    text-transform: uppercase;
  }

  .p2{
    color: #eee;
    font-family: PrintChar21;
    font-size: .5rem;
    letter-spacing: .2em;
    text-align: left;
    text-transform: uppercase;
  }

  .p3{
    color: #0b07e1;
    font-family: PrintChar21;
    font-size: .5rem;
    letter-spacing: .2em;
    text-align: left;
    text-transform: uppercase;
  }

  h2 {
    color: #0b07e1;
    font-family: PrintChar21;
    font-size: 1.8em;
    /* background-color: #eee; */
    /* position: absolute; */
    text-transform: uppercase;
  }

  .header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
  }

  .spacer-before{
    display: none;
   }

  .header-fade-element{
    opacity: 0; /* Initially hidden */
    transition: opacity 1s ease-in-out; /* Smooth transition */
    margin: 10px 0 10px 0;
  }
  
  .footer {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
  }

  #pressP{
    display: none;
  }

  .main-container{
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80vw;
    height: 80vh;
    transform: translate(-50%, -50%);
    /* background-color: rgb(255, 0, 106); */
  }

  .preview-note{
    display: block;
    position: absolute;
    align-items: center;
    z-index: 999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  .folder-header{
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: left;
    align-content: left;
    margin: 0 0 2em 0;
    border-bottom: double #eee;
  }

  .memory-bank {
    position: relative;
    margin-top: 2em;
    overflow: scroll;
  }
  
  .main-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
      padding: 30px;
      height: 100%;
      border: #eee;
      color: #eee;
      border-style: double;
      border-radius: 5px;
      overflow: scroll;
      /* background-color: #6da81c; */
  }

  #loading-bar-container {
    /* color: #eee; */
    /* white-space: pre; */
    overflow: visible;
    margin: 0;
  }

  .text-item {
    width: 100%;
    height: 40vh;
    overflow: scroll; 
    position: relative;
    margin-bottom: 20px;
  }
  
  #item-spacer{
    max-width: 30vw;
  }

   .text{
    overflow: scroll; 
    /* margin: 0 0 2em 0; */
   }
  
  .overlay{
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    margin-top: 20px;
    pointer-events: none;
    overflow: hidden;
    z-index: 999;
    background-color: #0b07e1;
    -webkit-animation: scale-down-ver-bottom 0.6s cubic-bezier(0.250, 0.460, 0.450, 0.940) 7s forwards;
            animation: scale-down-ver-bottom 0.6s cubic-bezier(0.250, 0.460, 0.450, 0.940) 7s forwards;
  }

  button{
    background: #eee;
    color: #0b07e1;
    border: none;
    padding: 0;
    font: inherit;
    cursor: context-menu;
    outline: inherit;
    font-family: PrintChar21;
    font-size: 1em;
    letter-spacing: -0.1em;
    text-align: left;
    text-transform: uppercase;
    margin: .5rem;
  }

  

}