@font-face {
  font-family: "andalemofont";
  src: url("AndaleMono.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

::-webkit-scrollbar {
  display: none;  /* Chrome, Safari and Opera */
}

body {
  background: transparent; 
  color: black;
  padding: 0;
  /* padding: 0 24px; */
  margin: 0;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: Consolas, Courier, monospace;
  background: white;
}



#canvasContainer {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow: auto;
    cursor: pointer;
    z-index: 20;
    font-family: "andalemofont", monospace;  
}

#myCanvas {
    width: 1000px;
    height: 1000px;
    transition: transform 1s;
}

#text-area {
  color: #f1efef;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  height: 100%;
}


#content {
  white-space: pre-wrap; /* Keeps line breaks and wraps text */
  word-break: break-all; /* Breaks the word at the end of the line */
  text-align: justify; /* Justifies the text */
  font-size: 1vh;
}


#textOuterContainer {
  position: absolute;
  overflow: auto;
  height: 100%;
  /* width: 100%; */
  cursor: pointer;
  display: flex;
  flex-direction: column-reverse; /* Added to reverse the direction of the div */
  z-index: 10;
}

#textContainer {
  height: 300px; 
  overflow-y: auto;
  white-space: pre-wrap; 
  color: lightgray;
  font-size: 8px;
}

#textContainer::-webkit-scrollbar {
  display: none; /* Hide the scroll bar */
}

#loading {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 50px;
  overflow: hidden;
  background: #ffffff00;
  color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
}

#loading p {
  display: inline-block;
  padding-left: 100%;
  white-space: nowrap;
  animation: scrolling 40s linear infinite;
}

#viewDesk {
  display: none;
  z-index: 200;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 50px;
  overflow: hidden;
  background: white;
  color: #000;
  /* display: flex; */
  justify-content: center;
  align-items: center;
}

#viewDesk p {
  display: inline-block;
  padding-left: 100%;
  white-space: nowrap;
  animation: scrolling 10s linear;
}

@keyframes scrolling {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
