/* === Grundlayout === */
body {
    background-color: black;
    color: orange;
    font-family: "Courier New", Courier, monospace;
    margin: 0;
    padding: 0;
}

header {
    background-color: black;
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    margin-bottom: 20px;
}

#headerImage {
    width: 100%;
    height: auto;
    display: block;
    max-width: 600px;
    margin: 0 auto;
}

/* === Navigation === */
nav {
    background-color: black;
    display: flex;
    justify-content: center;
    padding: 1em 0;
    width: 100%;
    flex-shrink: 0;
    margin-bottom: 0;
    z-index: 0;
    border-top: 1px dotted orange;
    border-bottom: 1px dotted orange;
}

nav img {
    margin: 0 1em;
    cursor: pointer;
}

.nav-button {
    max-width: 130px;
    width: 100%;
    height: auto;
    transition: background-image 0.3s ease-in-out;
}

#nav1:hover {
    content: url('../NAV/Universum_on.png');
}

#nav2:hover {
    content: url('../NAV/News_on.png');
}

#nav4:hover {
    content: url('../NAV/BackHome_on.png');
}

#nav5:hover {
    content: url('../NAV/ZumAutor_on.png');
}

/* === Main: Quantum-Core + Buttons === */
main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0;
    margin: 0;
}

.core-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin: 20px auto;
    flex-wrap: wrap;
}

#quantum-core {
    width: 300px;
    height: auto;
    animation: pulse-core 2s infinite;
}

.vexnet-button img {
    width: 150px;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.vexnet-button img:hover {
    transform: scale(1.05);
}

#btn-VEXNET_DB:hover {
    content: url('../NAV/VEXNET_DB_on.png');
}

#btn-HALL:hover {
    content: url('../NAV/HALL_on.png');
}

@keyframes pulse-core {
    0% { filter: drop-shadow(0 0 10px yellow); }
    50% { filter: drop-shadow(0 0 20px gold); }
    100% { filter: drop-shadow(0 0 10px yellow); }
}

.more-to-come {
  animation: pulse-sign 2s infinite;
}

@keyframes pulse-sign {
  0% { filter: drop-shadow(0 0 5px cyan); }
  50% { filter: drop-shadow(0 0 15px magenta); }
  100% { filter: drop-shadow(0 0 5px cyan); }
}


/* === Footer === */
footer {
    background-color: black;
    padding: 5px;
    text-align: center;
    border-top: 1px solid orange;
    color: orange;
    font-family: "Courier New", Courier, monospace;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 50px;
}

.footer-links a {
    text-decoration: none;
    color: orange;
    font-size: 0.875rem;
    font-weight: normal;
}

.footer-links a:hover {
    color: yellow;
    text-decoration: underline;
}

/* === Responsive === */
@media (max-width: 768px) {
    #headerImage {
        max-width: 350px;
        margin-top: 10px;
    }

    .nav-button {
        max-width: 90px;
        height: auto;
        cursor: pointer;
        transition: background-image 0.3s ease-in-out;
        margin: 0 2px;
    }

    .core-row {
        flex-direction: column;
		gap: 5px;
		margin: 20px auto;
    }

    .vexnet-button img {
        width: 120px;
    }

    #quantum-core {
        width: 250px;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 1em;
    }

    .footer-links a {
        white-space: nowrap;
    }
}
