/* General Styles */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  color: #ffd700; /* Gold */
  background: linear-gradient(180deg, #001f3f, #00264d); /* Adjusted dark blue gradient for better contrast */
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #003f7f;
  color: #ffd700;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5);
  padding: 5px 0; /* Reduced vertical spacing */
}

nav {
  display: flex;
  justify-content: center;
  gap: 15px;
}

nav a {
  color: #ffd700;
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 5px;
  transition: background 0.3s ease;
}

nav a:hover {
  background: #ffd700;
  color: #003f7f;
}

section {
  padding: 40px 20px;
  max-width: 800px;
  margin: 20px auto;
  background: rgba(0, 31, 63, 0.85); /* Slightly transparent background for subtle separation */
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5); /* Soft shadow for definition */
}

h2 {
  text-align: center;
  color: #ffd700;
}

.carnival-image {
  display: block;
  margin: 20px auto;
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.7); /* Image shadow for better integration */
}

/* Smooth scrolling for section focus */
html {
  scroll-behavior: smooth;
}

/* Sticky Nav with Scroll Animation */
header.scrolled {
  transform: translateY(-100%);
  transition: transform 0.3s;
}

nav {
  position: relative;
}

footer {
  text-align: center;
  background: #003f7f;
  color: #ffd700;
  padding: 20px;
  border-top: 2px solid #ffd700;
}

footer a {
  color: #ffd700;
  text-decoration: underline;
}

footer a:hover {
  color: #ffdf00;
  text-decoration: none;
}

/* Form Styles */
form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

input, textarea, button {
  font-size: 1rem;
  padding: 10px;
  border: 1px solid #ffd700;
  border-radius: 5px;
}

input:focus, textarea:focus {
  outline: none;
  border-color: #003f7f;
  background: #f0f8ff;
}

button {
  background: #ffd700;
  color: #003f7f;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background: #003f7f;
  color: #ffd700;
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.popup-content {
  background: rgba(0, 31, 63, 0.85);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  max-width: 500px;
}

.popup-content button {
  margin-top: 10px;
  padding: 10px 20px;
  background: #ffd700;
  color: #003f7f;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.popup-content button:hover {
  background: #003f7f;
  color: #ffd700;
}

a {
  color: #32CD32; /* Standardfarbe des Links */
  text-decoration: none; /* Entfernt die Unterstreichung */
  transition: color 0.3s ease; /* Sanfte Übergangsanimation */
}

a:hover {
  color: #FFA500; /* Farbe, wenn der Mauszeiger darüber schwebt */
  text-decoration: underline; /* Optionale Unterstreichung beim Hover */
}

#datenschutz {
  display: none;
}

#datenschutz:target {
  display: block;
  padding: 20px;
  background: #fff;
  color: #000;
  border: 2px solid #003f7f;
  border-radius: 10px;
  margin: 20px;
}