﻿* {
  box-sizing: border-box;
}

.container {
    max-width: 1200px;
    min-width: 400px;
    margin: 10px auto;
    background: white;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #ddd;
    padding: 10px;
    border-radius: 10px;
}

header {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 1200px;
    min-width: 400px;
    justify-content: space-between;
   
    padding: 30px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.logo {
	    margin-right: 10px;
}

.menu {
  	display: flex;
  	align-items: flex-end;
}	

nav {
    display: flex;
    flex-direction: row;
    margin-top: 15px;
    padding: 0;
    float: right;
}

nav a {
	text-decoration: none;
	color: #555555;
	transition: transform 0.5s ease;
}

nav a:hover {
	color: #5555555;
	scale: 1.1;
}

svg {
  	fill= #555555;
  	transition: transform 0.5s ease;
}

svg:hover {
	stroke: #555555;
  	fill: #555555;
  	scale: 1.1;
}

body {
    background-color: #f4f4f4;
    font-family: Arial, sans-serif;
    min-width: 440px;
    padding: 0;
}

main {
    display: flex;
    flex-direction: row;
    flex-flow: wrap;
    max-width: 1200px;
    min-width: 380px;
    padding: 0px;
    justify-content: center;
    border-bottom: 1px solid #eee;
}


.gallery {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 400px;
    min-height: 300px;
    justify-content: space-around;
    gap: 15px;
}

@media all and (min-width: 30em) {
.gallery {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    min-width: 500px;
    min-height: 500px;
  }
}

.gallery-item {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; /* Wichtig für das Overlay-Positionieren */
    flex: 1 1 0;
    overflow: hidden;
    margin: 15px;
    background: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
    transition: box-shadow 0.3s ease;
}
.gallery-item a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    object-fit: cover;
}

.gallery-item:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.45);
    transition: box-shadow 0.3s ease;
    cursor: pointer;
    scale: 1.01;
}

.overlay-text {
  position: absolute;
  bottom: 0; /* Oder top: 0; für oben */
  left: 0;
  width: 100%;
  background: rgba(0,0,0,0.6); /* Halbtransparenter Hintergrund */
  color: #fff;
  padding: 10px;
  text-align: center;
  font-size: 1.2em;
  box-sizing: border-box;
  transition: background 0.3s;
  pointer-events: none; /* Overlay ist nicht klickbar */
}

.footer-style {
		text-align: center;
		color: #0D59AB;
}

.text-style {
		color: #555555;
}

.auto-style3 {
		text-decoration: none;
}

.auto-style4 {
		font-size: smaller;
}

.auto-style5 {
		font-size: smaller;
		color: #555555;
}

.textblau-style {
		color: #0D59AB;
}