/*
    © 2025 abcDEF®: Ingenieurwissen mit KI. Alle Rechte vorbehalten. 🦀
    Autor: Niels Buntrock
    Verwendung ohne Genehmigung nicht gestattet.
*/

@import url('https://fonts.googleapis.com/css2?family=Genos:wght@400;700&display=swap');

html, body {
    font-family: 'Genos', sans-serif;
    text-align: center;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    background-color: black;
    color: limegreen;
}

body {
    display: flex;
    flex-direction: column;
    width: 100%;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 20px;
}

h1 {
    color: #abcDEF;
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
}

.error-title {
    color: #E84343;
    font-size: 3rem;
}

.content {
    max-width: 600px;
    text-align: center;
}

nav {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

nav a {
    color: #abcDEF;
    text-decoration: none;
    font-weight: bold;
    margin: 5px 10px;
    padding: 8px 12px;
    transition: all 0.3s ease-in-out;
    font-size: 1.1rem;
    display: inline-block;
}

nav a:hover {
    color: limegreen;
    text-decoration: underline;
}

.terminal-text {
    font-size: 2.5rem;
    font-weight: bold;
    background-color: black;
    color: limegreen;
    padding: 15px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
}

.terminal-text a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
}

.terminal-highlight {
    text-decoration: none;
    transition: text-decoration 0.3s ease-in-out;
}

.terminal-text a:hover .terminal-highlight {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
    color: limegreen;
}

.terminal-text-logo {
    font-size: 2.5rem;
    font-weight: bold;
    background-color: black;
    color: #abcDEF;
    padding: 5px;
    border-radius: 5px;
}

.cursor-container {
    display: inline-flex;
    align-items: center;
}

.blinking-cursor {
    animation: blink 1.2s infinite ease-in-out;
}

@keyframes blink {
    0%   { opacity: 1; }
    20%  { opacity: 0.6; }
    40%  { opacity: 0.2; }
    60%  { opacity: 0.1; }
    80%  { opacity: 0.6; }
    100% { opacity: 1; }
}

.glowing-sparkle {
    animation: sparkle-glow 2s infinite ease-in-out;
}

@keyframes sparkle-glow {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

footer {
    width: 100%;
    text-align: center;
    padding: 10px 0;
    margin-top: auto;
    font-size: 0.9rem;
    color: #AABBCC;
}

footer a {
    text-decoration: none;
    color: inherit;
}

footer a:hover {
    text-decoration: underline;
}

.brand-highlight {
    color: #abcDEF;
}

a {
    color: #AABBCC;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

@media only screen and (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

    nav a {
        font-size: 1.2rem;
        padding: 10px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .content {
        padding: 20px;
        max-width: 90%;
        text-align: center;
    }

    footer {
        font-size: 0.8rem;
        padding: 15px 0;
    }
}