
@media (max-width: 600px) {
  header {
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
  }

  header h1 {
    font-size: 28px;
    text-align: center;
  }

  nav {
    width: 100%;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
  }

  nav ul li a {
    font-size: 18px;
  }
}


header {
  position: fixed;
  box-sizing: border-box;
  width: 100%;
  padding: 20px 20px;
  background-color: #222;
  z-index: 1000;
  color: white;
  display: flex;
  justify-content: space-between;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header h1 {
  margin-top: 10px;
}

nav {
  margin-top: 20px;
  margin-right: 20px;
  max-width: 100%;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

nav ul li a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  font-family:'Courier New', Courier, monospace;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #7af5a3;
}

body {
  margin: 0;
}


main {
  padding-top: 110px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: #333;

  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

@media (max-width: 600px) {
  main{
    padding-top: 340px;
  }
}

.backgroundMain {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.15)),
    url('img/map.png');
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
}


.contact-container {
  padding: 2rem;
  border-radius: 12px;
  max-width: 500px;
  width: 100%;
}

.contact-container h2,
.contact-container p {
  text-align: center;
  margin-bottom: 1rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  border: 1px solid;
  border-radius: 6px;
  font-size: 1rem;
  font-family: 'Courier New', Courier, monospace;
  color: whitesmoke;
  
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #07cc00;
  color: black
}

.contact-form button {
  padding: 0.75rem;
  background-color: #222;
  color: whitesmoke;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-family: 'Courier New', Courier, monospace;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: gray;
}


footer {
  background-color: #222;
  padding: 40px;
  font-size: 0.9rem;
  color: gray;
}


#impressum {
  display: flex;
  max-width: 100%;
  margin: 0 auto;
  text-align: left;
  line-height: 1.6;
}

.gallery-container {
  width: 50%;
  height: 50%;
  aspect-ratio: 1 /1;
  position: relative;
  margin: auto;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel {
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.carousel img.active {
  opacity: 1;
  pointer-events: auto;
}

.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 0.5rem;
  cursor: pointer;
  z-index: 1;
}

.nav.prev { left: 10px; }
.nav.next { right: 10px; }

h1,h2,h3,h4,h5 {
  font-family:'Courier New', Courier, monospace;
  color: whitesmoke
}


.shadowText {
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
  font-size: 15px;
}

p {
  font-family: 'Courier New', Courier, monospace;
}

.centerText {
  max-width: 75%;
  font-weight: bold;
  color: whitesmoke;
}

.kontakt-button {
  background-color: #000000;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-family: 'Courier New', Courier, monospace;
  font-weight: bolder;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.kontakt-button:hover {
  background-color: gray;
}