/* Copyright © 2025 Skinsurf (SURFNET)
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
https://creativecommons.org/licenses/by-nc-sa/4.0/ */


html, body {
  margin: 0;
  height: 100%;
  background: black;
  color: #0ffab3;
  font-family: 'Courier New', monospace;
  overflow: hidden;
  font-size: 3.5vw;
}

@media (min-width: 768px) {
  html, body {
    font-size: 16px;
  }
}

body::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0, 255, 0, 0.05),
    rgba(0, 255, 0, 0.05) 1px,
    transparent 1px,
    transparent 2px
  );
  z-index: 1;
  pointer-events: none;
}

#terminal {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100vh;
  padding: 10px;
  box-sizing: border-box;
  white-space: pre-wrap;
  overflow-y: auto;
  z-index: 2;
  text-shadow: 0 0 5px #0ffab3;
  -webkit-overflow-scrolling: touch;
}

.blinking-cursor {
  display: inline-block;
  width: 10px;
  background-color: #0ffab3;
  animation: blink 1s steps(1) infinite;
}

@keyframes blink {
  50% { background-color: black; }
}

input {
  position: absolute;
  top: -9999px;
}

::selection {
  background: rgba(0, 255, 0, 0.2);
}

a {
  color: #0ffab3;
  text-decoration: underline;
}
a:hover {
  color: #00ffaa;
}

/* Minimized windows bar */
#minimizedWindows {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 51, 0, 0.8);
  padding: 5px;
  display: flex;
  gap: 5px;
  z-index: 10000;
}

.minimized-window-btn {
  background: black;
  color: #00ff00;
  border: 1px solid #00ff00;
  font-family: monospace;
  cursor: pointer;
  padding: 2px 5px;
}

.minimized-window-btn:hover {
  background: #003300;
}