body {
  font-family: Arial, sans-serif;
  margin: 0;
}

.sidebar {
  background-color: #007bff;
  color: white;
  width: 250px; /* Oder die gewünschte Breite für das ausgefahrene Menü */
  height: 100vh;
  padding: 20px;
}

.sidebar-content, .sidebar-footer {
  display: flex;
  flex-direction: column;
}

.sidebar-link, .footer-link {
  text-decoration: none;
  color: white;
  padding: 10px 0;
}

.sidebar-link:hover, .footer-link:hover {
  text-decoration: underline;
}

.footer-button {
  padding: 10px;
  margin-top: 10px;
  border: none;
  border-radius: 20px;
  background-color: #0056b3;
  color: white;
  cursor: pointer;
  font-size: 16px;
}

.footer-button.highlight {
  background-color: #003e7e;
}

.main-content {
  margin-left: 250px; /* Gleiche Breite wie die Sidebar */
}

.content-section {
  background-color: white;
  margin: 20px;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.content-section h2 {
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.content-list {
  list-style: none;
  padding: 0;
}

.content-list li a {
  text-decoration: none;
  color: #007bff;
  padding: 5px 0;
  display: block;
}

.content-list li a:hover {
  padding-left: 5px;
  background-color: #f4f4f4;
}


header {
  background: #007bff;
  color: #fff;
  padding: 20px;
  display: flex;
  justify-content: space-between; /* Stellt sicher, dass die Kinder am Anfang und Ende sind */
  align-items: center;
}

#login-button {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  color: white;
  background-color: #673AB7;
  border-radius: 50px;
  box-shadow: 0 2px 5px 0 rgba(0,0,0,0.26), 0 2px 10px 0 rgba(0,0,0,0.16);
  cursor: pointer;
  transition: all 0.3s ease 0s;
}

#login-button:hover {
  background-color: #9575CD;
  box-shadow: 0 2px 10px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}
#login-button::after {
  content: " (" attr(data-username) ")";
}
#username-link {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 10px 20px;
  font-size: 16px;
  color: white;
  background-color: #673AB7;
  border-radius: 50px;
  box-shadow: 0 2px 5px 0 rgba(0,0,0,0.26), 0 2px 10px 0 rgba(0,0,0,0.16);
  text-decoration: none;
  transition: all 0.3s ease 0s;
}

#username-link:hover {
  background-color: #9575CD;
  box-shadow: 0 2px 10px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}

footer {
  color: #333; /* Dunkelgrau, passend zum Text, kann je nach Bedarf angepasst werden */
  text-align: center;
  padding: 10px;
  position: relative; /* Geändert von 'absolute' zu 'relative' */
  bottom: 0;
  width: 100%;
}


.header-logo {
  height: 60px;
  margin-right: 20px;
}


.search-container form {
  display: flex;
}

.search-container input[type="search"] {
  padding: 10px;
  border: none;
  border-radius: 20px 0 0 20px;
  outline: none;
}

.search-container button {
  padding: 10px;
  background-color: #f39c12;
  color: white;
  border: none;
  border-radius: 0 20px 20px 0;
  cursor: pointer;
  transition: background-color 0.3s;
}

.search-container button:hover {
  background-color: #e67e22;
}

.main-content {
  max-width: 800px;
  margin: 30px auto;
  text-align: center;
}

.main-content p {
  font-size: 18px;
  line-height: 1.6;
}

.links {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-top: 20px;
}

.links a {
  text-decoration: none;
  background-color: #3498db;
  color: white;
  padding: 10px 15px;
  border-radius: 20px;
  transition: background-color 0.3s, transform 0.3s;
}

.links a:hover {
  background-color: #2980b9;
  transform: translateY(-3px);
}

.login-container {
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: 1000; /* Stellt sicher, dass das Popup über anderen Elementen liegt */
}

.g_id_signin {
  /* Stil-Anpassungen für den Google-Login-Button */
  cursor: pointer;
  border: 1px solid #ccc;
  padding: 5px 10px;
  border-radius: 5px;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Weitere Stil-Anpassungen, um das Aussehen des Buttons zu verfeinern */



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

.google-login-content {
  background: white;
  padding: 20px;
  border-radius: 5px;
  text-align: center;
}

.google-login-content p {
  margin: 15px 0;
}

.google-login-content button {
  cursor: pointer;
}

#customBtn {
  background-color: #4285f4;
  color: white;
  width: 190px;
  border-radius: 5px;
  padding: 10px 20px;
  margin: 5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

#customBtn:hover {
  box-shadow: 0 2px 6px 0 rgba(66, 133, 244, 0.6);
}


.google-login-popup {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 300px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, transform 0.3s, visibility 0s linear 0.3s; /* Schnelle Animation mit Verzögerung beim Verschwinden */
  transform: translateY(-20px); /* Startet etwas oberhalb seiner endgültigen Position */
  z-index: 1001; /* Stellt sicher, dass das Popup sichtbar ist */
}

.google-login-popup.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s; /* Keine Verzögerung beim Einblenden */
}
/* Popup-Positionierung und Styling */
#rmOrganism .rmPopup__container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  z-index: 1000;
}

.cookie-consent-container {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #353535;
  color: white;
  padding: 20px;
  text-align: center;
  box-shadow: 0px -2px 5px rgba(0,0,0,0.2);
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  display: none; /* Versteckt das Banner zunächst */
}

.content-container p {
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.5;
}

.content-container a {
  color: #4e9af1;
  text-decoration: none;
}

.content-container a:hover {
  text-decoration: underline;
}

.button-container {
  margin-top: 10px;
}

.button-container button {
  padding: 10px 20px;
  margin: 0 10px;
  border: none;
  background-color: #4CAF50;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border-radius: 5px;
}

.button-container button:hover {
  background-color: #45a049;
}

#declineCookieConsent {
  background-color: #f44336;
}

#declineCookieConsent:hover {
  background-color: #da190b;
}

#userButton {
  position: fixed;
  top: 10px;
  right: 10px;
  padding: 20px 40px;
  background-color: white;
  color: black;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 18px;
}
.popup {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
}

.popup-content {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  max-width: 500px;
  margin: auto;
}

.close-btn {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close-btn:hover,
.close-btn:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}