/* Grundlegende Schriftarten und Hintergrund */
html {
  font-size: 16px; /* Anpassen der Schriftgröße für bessere Lesbarkeit */
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;

  /*background-image: url("../Bilder/upscalemedia-transformed.jpeg"); */
  background-size: cover;        /* Bild füllt gesamten Bildschirm */
  background-position: center;   /* Zentriert das Bild */
  background-repeat: no-repeat;  /* Kein Wiederholen */
  background-attachment: fixed;  /* Bleibt beim Scrollen stehen */

  color: whitesmoke;
  display: flex;
  flex-direction: column;
  align-items: center;

  padding-top: 220px; /* Abstand vom Balken */
}

/* Balken oben (jetzt über die ganze Breite) */
.impressum-header {
  background-color: #1d3c5f;
  padding: 50px 0;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000; /* Sicherstellen, dass der Balken immer oben bleibt */
  text-align: center;
  color: white;
}

.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
}

.logo {
  height: 50px;
  margin-right: 10px; /* Abstand zwischen Logo und Name */
}

.site-name {
  font-size: 35px;
  font-weight: bold;
}

/* Damit der Inhalt unter dem Balken korrekt angezeigt wird */
body {
  padding-top: 220px; /* Abstand vom Balken, damit der Inhalt nicht verdeckt wird */
}

/* Impressum Inhalt */
.impressum-content {
  padding: 20px;
  background-color: #8BC34A;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  color: #333;
}

.impressum-content h1 {
  color: #ffffff;
  font-size: 32px;
  margin-bottom: 20px;
}

.impressum-content p {
  font-size: 16px;
  line-height: 1.6;
  color: #ffffff;
}

.impressum-content strong {
  color: #333;
}

/* Anpassungen für den Button und Formulare */
button {
  padding: 10px 15px;
  background-color: #1e90ff; /* Dodger Blue */
  color: white;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

button:hover {
  background-color: #1c86ee; /* Dunkleres Blau für Hover-Effekt */
}

/* Media Queries für mobile Ansicht */
@media (max-width: 768px) {
  .logo-container {
      flex-direction: column; /* Logo und Name untereinander auf kleinen Bildschirmen */
  }
  .site-name {
      font-size: 20px;
  }
  .impressum-content {
      padding: 15px;
  }
}

/* Popup Style */
.popup {
  display: none; /* Standardmäßig versteckt */
  position: fixed;
  z-index: 1001; /* Sicherstellen, dass es über der Seite liegt */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* Halbtransparentes Overlay */
  color: #333;
}

/* Popup-Inhalt */
.popup-content {
  position: absolute;

  top: 20%;

  left: 50%;

  transform: translateX(-50%);

  background-color: white;
  padding: 20px;

  max-width: 800px;
  width: 90%;

  max-height: 70vh;
  overflow-y: auto;
  
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

/* Schließen Button */
.close-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 30px;
  cursor: pointer;
}

/* Hover für den Schließen Button */
.close-btn:hover {
  color: red;
}

.profile-menu {
  position: absolute;
  right: 30px;
  top: 40px;
}

.profile-icon {
  font-size: 28px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 0;
  background-color: transparent;
  color: white !important;
}


.dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 45px;
  background-color: white;
  min-width: 160px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}

.dropdown-menu a {
  display: block;
  padding: 12px;
  text-decoration: none;
  color: #333;
}

.dropdown-menu a:hover {
  background-color: #f1f1f1;
}

.show {
  display: block;
}