body {
    background-color: black;
    color: orange;
    font-family: "Courier New", Courier, monospace;
    margin: 0;
    padding: 0;
}

header, main, footer {
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

header {
    text-align: center;
    margin-bottom: 20px;
}

#headerImage {
    max-width: 600px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

nav {
    background-color: black;
    display: flex;
    justify-content: center;
    padding: 1em 0;
    border-top: 1px dotted orange;
    border-bottom: 1px dotted orange;
}

.nav-button {
    max-width: 130px;
    height: auto;
	cursor: pointer;
    transition: background-image 0.3s ease-in-out;
	margin: 0 1em;
}

#nav1:hover {
    content: url('../NAV/Universum_on.png');
}

#nav2:hover {
    content: url('../NAV/BackHome_on.png');
}

#nav4:hover {
    content: url('../NAV/News_on.png');
}

#nav5:hover {
    content: url('../NAV/ZumAutor_on.png');
}

.central-content {
    display: grid;
    grid-template-columns: 4fr 0.5fr 4.2fr 0.5fr 4fr; /* Eine Zeile */
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    margin: 0 auto;
}

.person-left {
    grid-column: 1;
	grid-row: 1;
	justify-self: end;
	min-width: 220px;
    max-width: 220px;
}

button.prev-button {
    grid-column: 2;
	grid-row: 1;
    justify-self: end;
}

.reading-sample {
    grid-column: 3;
	grid-row: 1;
	min-width: 600px;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

button.next-button {
    grid-column: 4;
	grid-row: 1;
    justify-self: start;
}

.person-right {
    grid-column: 5;
	grid-row: 1;
	justify-self: start;
	min-width: 280px;
    max-width: 280px;
}

.person-left img, .person-right img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.persons {
    display: contents;
}

.button-container {
	display: contents;
}


audio {
    width: 100%;
    max-width: 500px;
    margin: 1rem auto;
    display: block;
    border-radius: 10px;
    background-color: #212121;
    color: #00ff00;
    border: 2px solid #00ff00;
}

audio::-webkit-media-controls-panel {
    background-color: #212121;
    border-radius: 10px;
}

audio::-webkit-media-controls-play-button,
audio::-webkit-media-controls-timeline,
audio::-webkit-media-controls-volume-slider {
    color: #00ff00;
}

audio::-webkit-media-controls-current-time,
audio::-webkit-media-controls-time-remaining-display {
    color: #ffffff;
}

.sample-image-container {
    margin-top: 20px;
}

.sample-image-container img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

button.prev-button, button.next-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid orange;
    background-color: #212121;
    color: white;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 0 8px orange;
}

footer {
    background-color: black;
    color: orange;
    font-family: "Courier New", Courier, monospace;
    padding: 5px;
    text-align: center;
    border-top: 1px solid orange;
    margin-top: 20px;
}

.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: 1200px) {

	#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;
    }

    .central-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        max-width: 100%;
        margin: 0 auto;
        overflow: hidden;
    }

    .reading-sample {
        order: 1;
        width: 98%;
        margin: 0 auto;
        text-align: center;
		min-width: 200px;
    }

    audio {
        width: 95%;
    }

    .button-container {
        order: 2;              
        display: flex;         
        justify-content: center;
        gap: 1rem;
        
    }

    .prev-button, .next-button {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        border: 2px solid orange;
        background-color: #212121;
        color: white;
        font-size: 1rem;
        box-shadow: 0 0 8px orange;
        cursor: pointer;
    }

    .persons {
        order: 3;               
        display: flex;          
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
		align-items: flex-end;
        
    }

    .person-left {
		min-width: 125px;
        max-width: 125px;
    }

    .person-right {
		min-width: 160px;
        max-width: 160px;
    }

    .person-left img, .person-right img {
        max-width: 100%;       
        height: auto;
		max-width: 160px;
    }
	
	 .footer-links {
        flex-wrap: wrap;
        gap: 1em;
    }
    
    .footer-links a {
        white-space: nowrap;
    }
}
