* {
  box-sizing: border-box;
}

body { 
    background-color: #000;
    background-image: radial-gradient(
        #0096008e, black 120%
    );
    min-height: 100vh;
    width: 100vw;
    color: hsl(154 84% 70%);
    text-shadow: 0 0 4px hsl(154 84% 70%);
    font-family: monospace;
    font-size: 16px;
    overflow-y: auto;
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
}
pre{
    margin: auto;
    display: table;
}
.page {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 60px;
  gap: 20px;
}
.topbar {
  display: flex;
  gap: 20px;
  padding: 8px 15px;
  border: 2px solid hsl(154 84% 70%);
  font-weight: bold;
}

.topbar a::before {
  content: "[ ";
}

.topbar a::after {
  content: " ]";
}
.container {
  flex:1;
  display: flex;
  height:100%;
  gap: 20px;
}

.sidebar {
    width: 250px; /* fixed width */
    padding: 20px;
    border: hsl(154 84% 70%);
    border-style: solid;
    border-width: 2px;
}

.button-group {
    display: flex;
    gap: 10px; /* spacing between buttons */
    flex-direction: column; /* optional: wrap to next line */
}

.main {
    flex: 1; /* takes remaining space */
    padding: 20px;
    border: hsl(154 84% 70%);
    border-style: solid;
    border-width: 2px;
}

.main img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
}

@keyframes lines {
    0% {background-position: 0px 0px}
    50% {background-position: 0px 0px}
    51% {background-position: 0px 2px}
    100% {background-position: 0px 2px}
}

#interlaced {
    position: fixed;
    background: repeating-linear-gradient(transparent 0px 1px, hsl(154 0% 0%/.3) 3px 4px);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    pointer-events: none;
    animation: lines 0.066666666s linear infinite;
}

@keyframes blink {
    0% {opacity: 0}
    30% {opacity: 1}
    70% {opacity: 1}
    100% {opacity: 0}
}

.blink {
    animation: blink 0.4s linear infinite;
}

.button {
    transition-duration: 0.4s;
    background-color: none;
    color: hsl(154 84% 70%);
    text-shadow: 0 0 4px hsl(154 84% 70%);
}

.button:hover {
    background-color: #4CAF50; /* Green */
    color: white;
}