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/News_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;
	text-align: center;
}

.content-box {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background-color: rgba(255, 165, 0, 0.1);
    border: 2px solid orange;
    border-radius: 10px;
    text-align: left;
    color: orange;
    font-family: "Courier New", Courier, monospace;
}


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) {
	
	#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;
    }
}


