header {
    text-align: center;
    padding: 20px 0;
}

header h1 {
    margin-bottom: 20px;
    font-size: 2.2rem;
}

.menu-wrapper {
    display: flex;
    justify-content: center;   /* Menü in die Mitte */
    align-items: center;       /* Vertikal ausrichten */
    gap: 40px;                 /* Abstand zwischen Logos und Menü */
}

.logo-left,
.logo-right {
    width: 250px;
    height: 250px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}

nav a {
    text-decoration: none;
    font-size: 1.2rem;
    color: black;
    font-weight: 500;
	transition: all 0.3s ease-in-out;
}

nav a:hover {
   	background-color: lightgray;
	border-radius: 0.5rem;
	font-size: 1.5rem;
}

body {
	width: 80%;
	margin: 1rem auto;
	padding: 2%;
	font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    /* Abgerundete Ecken und Schatten */
	border-radius: 2rem;
	box-shadow: #000000ff	0px 0px 10px;
}

main {
	display: flex;
	gap: 2rem;
	flex-direction: column;
}

article {
	flex: 0,75;
	
}


article figure {
	float: left;
	width: max-content;
	max-width: 15%;
	background: #ddd;
	padding: 0.85rem;
	margin-right: 2%;
	margin-left: 0;
	overflow: hidden;
	border-radius: 1rem;
}

/* Ich habe dem Bild auch einen border-radius gegeben, damit es symmetrisch aussieht! */
img {
	border-radius: 1rem;
	/* transition für Bild */
	transition: all 0.5s ease-in-out; 
}

/* Bild vergrößert beim Hoverm */
img:hover {
	transform: scale(1.2);
}


footer {
  background: lightgray;
  color: black;
  padding: 30px 20px;
  font-size: 14px;
  border-radius: 2rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-column h4 {
  margin-bottom: 10px;
  font-size: 15px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 5px;
}

footer a {
  color: black;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid #333;
  margin-top: 20px;
  padding-top: 10px;
  text-align: center;
  font-size: 13px;
}


@media (max-width: 40em) {
	main {
		display: block;
	}
	
	article figure {
		float: none;
	}
}
img {
	max-width: 100%;
	height: auto;
}