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;
}

footer {
    background-color: black;
    color: orange;
    font-family: "Courier New", Courier, monospace;
}

#headerImage {
    width: 100%;
    height: auto;
    display: block;
    max-width: 700px;
    margin: 0 auto;
}

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 {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0;
    margin: 0;
}

#newsflash {
    margin-top: 20px;
    text-align: center;
}

.text-section {
    max-width: 800px;
    margin: 0 auto;
    text-align: justify;
    hyphens: auto;
}

.text-section p {
    font-size: clamp(12px, 2vw, 18px);
    line-height: 1.5;
    margin: 10px 0;
}

.text-section h2 {
    margin-top: 34px;
    text-align: center;
    color: orange;
    font-size: clamp(18px, 2.5vw, 24px);
}

.news-lead {
    display: block;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    line-height: 1.5;
}

.release-lead {
    max-width: 800px;
    margin: 18px auto;
    padding: 0 20px;
    box-sizing: border-box;
    line-height: 1.5;
}

.author-quote {
    max-width: 720px;
    margin: 32px auto;
    padding: 22px 28px;
    box-sizing: border-box;
    border-left: 4px solid #ff2d2d;
    border-right: 4px solid #ff2d2d;
    border-radius: 10px;
    font-size: clamp(13px, 2vw, 18px);
    line-height: 1.6;
    font-style: italic;
    text-align: left;
    box-shadow: 0 0 15px rgba(255, 45, 45, 0.75);
    animation: pulse-eryk 2s infinite;
}

.author-quote cite {
    display: block;
    margin-top: 14px;
    text-align: right;
    font-style: normal;
    font-weight: bold;
}

.book-facts {
    text-align: center;
    line-height: 1.7 !important;
}

.phase-one {
    margin-top: 24px !important;
    text-align: center;
}

/* Standard für Hochkantmotive */
.eryk-portrait {
    width: 100%;
    max-width: 450px;
    height: auto;
    display: block;
    margin: 25px auto;
    border: 5px solid rgba(255, 45, 45, 0.9);
    border-radius: 10px;
    animation: pulse-eryk 2s infinite;
    box-shadow: 0 0 15px rgba(255, 45, 45, 0.85);
    transition: transform 0.3s ease-in-out;
}

@keyframes pulse-eryk {
    0% {
        box-shadow: 0 0 15px rgba(255, 45, 45, 0.85);
    }
    50% {
        box-shadow: 0 0 24px rgba(255, 65, 65, 0.95),
                    0 0 35px rgba(255, 45, 45, 0.35);
    }
    100% {
        box-shadow: 0 0 15px rgba(255, 45, 45, 0.85);
    }
}

.book-link {
    display: inline-block;
    background-color: orange;
    color: black;
    padding: 15px 30px;
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 5px;
    font-weight: bold;
    margin: 20px 0;
    transition: background-color 0.3s ease, transform 0.3s ease-in-out;
}

.book-link:hover {
    background-color: darkorange;
    transform: scale(1.1);
}

footer {
    background-color: black;
    padding: 5px;
    text-align: center;
    border-top: 1px solid orange;
}

.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;
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.2rem !important;
        text-align: center;
        margin: 10px 0;
    }

    .text-section {
        padding: 0 5vw;
    }

    .news-lead,
    .release-lead {
        padding-left: 5vw;
        padding-right: 5vw;
    }

    .author-quote {
        width: 88%;
        padding: 18px 20px;
    }

    .book-link {
        font-size: 1rem;
        padding: 10px 20px;
        max-width: 90%;
        box-sizing: border-box;
    }

    .eryk-portrait {
        width: 85%;
        max-width: 400px;
        height: auto;
        margin: 25px auto;
    }

    .nav-button {
        max-width: 90px;
        height: auto;
        cursor: pointer;
        transition: background-image 0.3s ease-in-out;
        margin: 0 2px;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 1em;
    }

    .footer-links a {
        white-space: nowrap;
    }
}
