body {
  margin: 0;
  background-color: black;
  overflow-y: scroll;
}

#header-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 20px;
  padding-right: 20px;
  z-index: 1000;
  backdrop-filter: blur(4px);
}

#button-wrapper {
  padding-right: 64px; /* Feinjustierung – z. B. 10px vom Rand */
}

#logo {
  height: 60px;
  width: auto;
}

#toggle-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#note-icon {
  color: gray;
  transition: color 0.3s ease;
}

#note-icon.playing {
  color: white;
}

#media-container {
  padding-top: 80px; 
  display: flex;
  flex-direction: column;
  align-items: center;
}
img, video {
  max-width: 94vw;
  max-height: 94vh;
  margin: 6px 0;
  transition: all 0.3s ease;
  border-radius: 8px;
}
.media {
  max-width: 94vw;
  max-height: 94vh;
  margin: 6px 0;
  transition: all 0.3s ease;
}

.media.inactive {
  transform: scale(0.75);
  filter: blur(5px);
  opacity: 0.7;
}

#login-wrapper-container {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 10px;
}

#login-wrapper {
  padding: 30px 20px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
  width: 260px;
}

#login-wrapper h2 {
  font-size: 18px;
  margin-bottom: 15px;
}

#login-wrapper input {
  padding: 6px 10px;
  font-size: 14px;
  border: none;
  border-radius: 6px;
  margin-bottom: 10px;
  width: 100%;
  background-color: #222;
  color: white;
}

#login-wrapper button {
  padding: 6px 12px;
  font-size: 14px;
  border: none;
  background-color: #444;
  color: white;
  border-radius: 6px;
  cursor: pointer;
}

#scrollToTopBtn {
  position: fixed;
  bottom: 30px;
  right: 20px;
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-bottom: 20px solid rgba(255, 255, 255, 0.4);
  cursor: pointer;
  z-index: 999;
  transition: border-bottom-color 0.3s ease, transform 0.3s ease;
}

#scrollToTopBtn:hover {
  border-bottom-color: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}
#login-wrapper button:hover {
  background-color: #666;
}

#code-error {
  color: red;
  margin-top: 10px;
  font-size: 13px;
}
