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;
    padding: 5px;
    text-align: center;
    border-top: 1px solid orange;
}

#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;
}

.mail-to-cayden {
    max-width: 800px;
    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;
    box-sizing: border-box;
}

.mail-to-cayden input, 
.mail-to-cayden select, 
.mail-to-cayden textarea {
    width: 100%;
    max-width: 800px;
    padding: 10px;
    border: 1px solid orange;
    border-radius: 5px;
    background-color: black;
    color: orange;
    font-family: "Courier New", Courier, monospace;
    box-sizing: border-box;
}

.mail-to-cayden textarea {
    height: 250px;
    resize: none;
}

.mail-to-cayden textarea:focus, 
.mail-to-cayden input:focus, 
.mail-to-cayden select:focus {
    outline: none;
    border-color: yellow;
}


form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

input, select, textarea, button {
    font-family: "Courier New", Courier, monospace;
    font-size: 1rem;
    padding: 10px;
    border: 1px solid orange;
    border-radius: 5px;
    background-color: black;
    color: orange;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: yellow;
}

button {
    background-color: orange;
    color: black;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: yellow;
}

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;
    }
}
