
:root {
  --primary-color: limegreen; /* Default color */
  --secondary-color: limegreen; /* Default color */
  transition: --primary-color 2s ease-in-out, --secondary-color 2s ease-in-out; /* Transition properties */
}



body {
  background-color: black;
  color: white;
  font-family: "MingLiU", monospace;
  font-family: "MingLiU_HKSCS", monospace;
  font-family: "MingLiU_HKSCS-ExtB", monospace;
  font-family: "MingLiU-ExtB", monospace;
  font-family: "Courier", monospace;
  margin: 0;
  padding: 0;
  user-select: none;
 animation: fadeIn 3s;
  -webkit-animation: fadeIn 3s;
  -moz-animation: fadeIn 3s;
  -o-animation: fadeIn 3s;
  -ms-animation: fadeIn 3s;
}
@keyframes fadeIn {
  0% {opacity:0;}
  100% {opacity:1;}
}

@-moz-keyframes fadeIn {
  0% {opacity:0;}
  100% {opacity:1;}
}

@-webkit-keyframes fadeIn {
  0% {opacity:0;}
  100% {opacity:1;}
}

@-o-keyframes fadeIn {
  0% {opacity:0;}
  100% {opacity:1;}
}

@-ms-keyframes fadeIn {
  0% {opacity:0;}
  100% {opacity:1;}


}
.terminal {
  line-height: 1.05;
  font-size: 100%;
  position: relative;
  height: 550px;
  overflow: hidden;
  width: 800px;
  flex-shrink: 0;
  margin: 50px auto;
  background-color: black;
  padding: 20px;
  border: 6px double var(--primary-color);
  display: flex;
  justify-content: center;
}

.left-half {
  align-items: center;
  display: flex;
  flex: 0.6;
  justify-content: center;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.left-half img,
.left-half video {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}

.slate-bar-bottom {
  border-top: 6px double var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: black;
  bottom: 0;
  height: 20px;
  left: 0;
  position: absolute;
  width: 100%;
  padding-left: 30px;
  padding-right: 30px;
}

.font-controls {
  display: flex;
  align-items: center;
}

.time-text {
  letter-spacing: 0.00em;
  margin-right: 30px;
}

.slate-bar-text-left {
  color: white;
  font-size: 16px;
  margin-left: 30px;
}

.slate-bar-text-right {
  color: white;
  font-size: 16px;
  margin-right: 30px;
}

.slate-bar-top {
  border-bottom: 6px double var(--primary-color);
  align-items: center;
  background-color: black;
  display: flex;
  height: 20px;
  justify-content: space-between;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

#terminal-container {
  max-height: 500px;
  overflow-y: auto;
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow-wrap: break-word;
  overflow-x: auto;

}

#output div:last-child {
  display: block;
}

.justified {
  text-align: justify;
  text-justify: inter-word;
}

.line {
  text-align: justify;
  text-justify: inter-word;
  margin-bottom: 5px;
  word-wrap: break-word;
  white-space: pre-wrap;
  overflow-wrap: break-word;
}

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

.thumbnails {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  
}

.thumbnail {

  width: 100px;
  height: 75px;
  margin: 2px;
  cursor: pointer;
  filter: grayscale(100%);
}

.thumbnail:hover {
  filter: grayscale(0%);
}



.thumbnail-scroll-container {

  height: auto;
  max-height: 530px; 
  overflow-y: auto;
  margin: 10px;

}


.thumbnail-scroll-container::-webkit-scrollbar {
  width: 15px;
  height: 15px;
}

.thumbnail-scroll-container::-webkit-scrollbar-thumb {
  background-color: transparent;
  border: 3px double var(--primary-color);
}

.thumbnail-scroll-container::-webkit-scrollbar-track {
  background-color: transparent;
}

.thumbnail-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.thumbnail-number {
  font-size: 12px;
  margin-top: 5px;
  color: white;
}
.thumbnail-wrapper:hover .thumbnail-number {
  color: var(--primary-color);
}

.enlarged-image {
  max-width: 640px;
  max-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: auto;
  background-color: black;
}

.navigation-buttons {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 10px;
  text-align: center; /* Center align content */
}



.button-container button {
  font-family: courier;
  background-color: black;
  color: white;
  border: 2px solid var(--primary-color);
  padding: 10px 20px;
  cursor: pointer;
  flex: 1; /* Allows buttons to take equal space */
  margin: 0 100px; /* Adjust the margins for spacing */

}

.button-container button:hover {
  background-color: var(--primary-color);
}

#tooltip {
  display: none;
  position: absolute;
  background-color: black;
  border: 4px double limegreen;
  padding: 10px;
max-width: 400px;
 color: limegreen;
  z-index: 1000;
}

