/* General reset */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    background-color: #000;
    font-family: 'Courier New', Courier, monospace;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Aligns content at the top */
    background-size: cover; /* Ensures the background covers the entire viewport */
    background-attachment: fixed; /* Keeps the background fixed in place */
    background-position: center; /* Centers the background image */
}

/* CRT screen container */
.crt-screen {
    width: 100%;
    min-height: 100%; /* Ensures the container at least covers the full viewport */
    background-color: #000;
    padding: 20px;
    position: relative;
    box-sizing: border-box; /* Includes padding in height calculations */
}

/* CRT content with text */
.crt-content {
    color: #00ff00;
    font-size: 1.5em;
    line-height: 1.6;
    
    white-space: pre-wrap;
    background-size: cover; /* Ensures the background covers the entire viewport */
    background-attachment: fixed; /* Keeps the background fixed in place */
    background-position: center; /* Centers the background image */
}

/* Optional: Adding a flicker effect */
@keyframes crt-flicker {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.95;
    }
}

.crt-content {
    animation: crt-flicker 0.15s infinite;
}

/* Optional: Adding scanlines */
.crt-screen:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;    
    height: 100%;
    background: repeating-linear-gradient(
        to bottom,
        rgba(0, 255, 0, 0.05),
        rgba(0, 255, 0, 0.05) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    z-index: 1;
}

a:link { 
  text-decoration: none; 
  color: #00ff00;
} 
a:visited { 
  text-decoration: none; 
  color: #00ff00;
} 
a:hover { 
  text-decoration: none; 
  color: #00ff00;
} 
a:active { 
  text-decoration: none; 
  color: #00ff00;
}

/* Paragraph styling */
p {
    font-size: 1em;
    word-wrap: break-word; /* Ensure long words or URLs wrap */
    hyphens: auto; /* Enable hyphenation if needed */
}

#menu  {
    font-size: 15px;
    margin-top: -3.5%;
}

#top  {
    font-size: 15px;
}
