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: 600px;
    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/ZumBuch_on.png');
}

#nav2:hover {
    content: url('../NAV/Leseprobe_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-section p {
    font-size: clamp(12px, 2vw, 18px);
    line-height: 1.5;
    margin: 10px 0;
}

#book-image {
    max-width: 400px;
    height: auto;
    border: 5px solid lightpink;
    border-radius: 10px;
    animation: pulse 1.5s infinite;
    box-shadow: 0 0 15px lightpink;
    transition: transform 0.3s ease-in-out;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 15px lightpink;
    }
    50% {
        box-shadow: 0 0 30px hotpink;
    }
    100% {
        box-shadow: 0 0 15px lightpink;
    }
}

.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;
	}
	
	.book-link {
		font-size: 1rem;
		padding: 10px 20px;
		max-width: 90%;
		box-sizing: border-box;
	}
	
	#book-image {
        width: 95%;
        height: auto;
        margin: 0 auto;
    }
	
	#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;
    }
	
	    .footer-links {
        flex-wrap: wrap;
        gap: 1em;
    }
    
    .footer-links a {
        white-space: nowrap;
    }	
}



