/* Define color variables at the root level */
:root {
    --neon-green: #feff00;
    --background-color: #040f00;
    --hover-text-color: #0a0a0a;
}


body {
    background-color: var(--background-color);
    color: var(--neon-green);
    font-family: 'Courier New', Courier, monospace;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100%;  /* Allows content to grow dynamically */
}
.container {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    max-width: 950px; /* Constrain max-width for readability */
    margin: 0 auto; /* Center content horizontally */
}


.logo {
    margin-top: 50px;
    width: 200px; /* Adjust size as needed */
    filter: drop-shadow(0 0 10px var(--neon-green));
}

#header-container {
}

h1 {
    min-height: 57px;
    font-size: 3em;
    text-shadow: 0 0 10px var(--neon-green), 0 0 20px var(--neon-green), 0 0 30px var(--neon-green);

}

.blinking {
    border-right: 2px solid; /* Simulate a cursor */
    animation: blink 1.7s steps(9) infinite;
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}
 
.links {
    display: flex;
    flex-wrap: wrap; /* Wrap items if they don't fit in one line */
    justify-content: center; /* Center the items horizontally */
    align-items: center; /* Center the items vertically */
    gap: 20px; /* Add space between the links */
    margin-top: 25px;
    max-width: 750px;
}

.link {
    background-color: rgba(0, 255, 153, 0.1); /* Semi-transparent neon color */
    border: 2px solid var(--neon-green);
    padding: 20px;
    margin: 5px;
    font-size: 1.5em;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    color: var(--neon-green);
    transition: 0.3s;
    position: relative;
    min-width: 150px; /* Set a minimum width for the links */
    text-align: center;
}

.link:hover {
    background-color: var(--neon-green);
    color: var(--hover-text-color);
    box-shadow: 0 0 15px var(--neon-green), 0 0 30px var(--neon-green);
}

/* Glitch effect */
.link:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    z-index: -1;
    animation: glitch 0.5s infinite;
}

@keyframes glitch {
    0% { transform: translate(0, 0); }
    25% { transform: translate(-5px, 5px); }
    50% { transform: translate(5px, -5px); }
    75% { transform: translate(-5px, -5px); }
    100% { transform: translate(0, 0); }
}

/* Styles for Web Apps */
.webapps-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
    width: 80%;
}

.webapp {
    background-color: rgba(0, 255, 153, 0.1); /* Neon background */
    border: 2px solid var(--neon-green);
    padding: 20px;
    border-radius: 10px;
    text-align: left;
}

.webapp h2 {
    font-size: 2em;
    color: var(--neon-green);
}

.webapp p {
    font-size: 1.2em;
    margin: 10px 0;
}

.webapp-example {
    max-width: 100%;
    height: auto;
    margin-top: 10px;
    border-radius: 8px;
    box-shadow: 0 0 15px var(--neon-green), 0 0 30px var(--neon-green);
}
