nav {
    display: none;
    flex-direction: column;
  }
  nav.open {
    display: flex;
  }
  @media (min-width: 600px) {
    nav {
      display: flex !important;
      flex-direction: row;
    }
  }
  .slider img {
    width: 300;
    height: auto;
    display: block;
  }

  /* Grundlayout */
body {
  margin: 20px 40px;
  font-family: 'Georgia', serif;
  background-color: #fff;
  color: #000;
}

/* Navigation */
nav {
  text-align: center;
  padding: 0.5rem;
  border-bottom: 2px solid #000000;
  font-size: 14px;
  background-color: #ffffff8e;
}

nav a {
  margin: 0px 15px;
  text-decoration: none;
  color: #000;
  font-weight: normal;
}

/* Name / Titel */
header h1 {
  text-align: center;
  font-size: 40px;
  display: inline-block;
  margin: 40px 20px;
  padding: 5px 15px;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  background: rgba(255, 255, 255, 0.082);
  backdrop-filter: blur(8px);
  border-radius: 24px;
  margin: 32px 32px 48px 32px;
  box-shadow: 0 8px 40px 0 rgba(0,0,0,0.04);
}
nav a {
  margin-left: 32px;
  text-decoration: none;
  color: #000000;
  font-size: 18px;
  font-weight: 500;
  transition: color 0.2s;
}
nav a:hover {
  color: #595180;
}




body {
  background: url("hintergrund.2.jpg") no-repeat top center, linear-gradient(to bottom right, #f5e4f8, #fff);
  background-size: cover;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 0;
}
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("hintergrund.2.jpg") no-repeat center top;
  background-size: cover;
  opacity: 0,3;
  z-index: -1;
}


.gedreht {
  transform: rotate(90deg);
}

.video-gallery {
  width: 60%;
  margin: 40px auto;
}

.my-video-slider video {
  width: 100%;
  border-radius: 10px;
}


/* Textbox im Hauptbereich */
main {
  padding: 2rem;
}

main p {
  padding: 1rem;
  width: 300px;
  background-color: #fdfdfd;
}

section {
  margin-left: 0px;
  margin-bottom: 0px;
}

/* Footer */
footer {
  margin: 10px;
  font-size: 12px;
  position: absolute;
  bottom: 0;
  left: 30px;
  padding: 10px;
}



body::before {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
}

body::after {
  bottom: 0;
  right: 0;
  border-left: none;
  border-top: none;
}




header {
  background-image: url('Website.JPG'); /* Pfad zum Blumenbild */
  background-size: cover;
  background-position: center;
  height: 300px;
  position: relative;
}

header h1 {
  position: absolute;
  bottom: 10px;
  left: 25px;
  color: white;
  font-size: 24px;
  background-color:rgba(255, 255, 255, 0.082);
  padding: 5px;
  border-radius: 10px;
  backdrop-filter: blur(8px);
  border-radius: 24px;
  box-shadow: 0 8px 40px 0 rgba(0,0,0,0.04)
}

@media (max-width: 600px) {
  .nav-button {
    font-size: 1.5rem;
    margin: 10px;
  }
  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.gallery img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.gallery img.rotated {
  transform: rotate(90deg);
  transform-origin: center center;
}


footer {
  text-align: left;
  margin-bottom: 0px;
}



