body {
    background-repeat: no-repeat;
    background-position: center;
    background-image: url("media/index/bg.png");
    background-size: cover;
    width: 100%;
    height: 100vh;
    margin: 0;
    position: relative;
}

.flex-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: auto;
}

/* Ensure body takes background image height */
@media (max-width: 1920px) {
    .flex-container {
        position: absolute;
        top: calc(50vh + 50% - 50%); /* Adjust based on background height */
    }
}

p {
    font-family: monospace, sans-serif;
    font-size: 80%;
    color: white;
    position: absolute;
}

.shining-text {
    font-family: monospace, sans-serif;
    color: white; /* Classic green computer text */
    text-shadow:
        0 0 5px #00ff00,
        0 0 10px #00ff00,
        0 0 20px #008000; /* Glowing effect */
    animation:
        shine 2s infinite alternate,
        flicker 0.1s infinite;
}

/* Shimmering glow animation */
@keyframes shine {
    0% {
        text-shadow:
            0 0 5px #0088ff,
            0 0 10px #ffffff,
            0 0 20px #004980;
    }
    100% {
        text-shadow:
            0 0 10px #0092ff,
            0 0 20px #00ff46,
            0 0 30px #008000;
    }
}

/* Subtle flickering effect */
@keyframes flicker {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.9;
    }
    100% {
        opacity: 1;
    }
}

a:link {
    color: white;
}
a:visited {
    color: white;
}
a:hover,
a:active {
    background-color: rgb(90, 153, 255);
}
