html, body {
  min-height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', 'Arial', sans-serif;
  padding-top: 4.5rem;
  background-color: #00153E;
  background-size: 100% auto;
  background-repeat: repeat-y;
  background-position: top;
  background-image: url(../images/background.jpeg);
  letter-spacing: 0.01em;
  color: #fff;
}

.alert-pre {
  word-wrap: break-word;
  word-break: break-all;
  white-space: pre-wrap;
}

/* Navigation */
.navbar {
  padding-top: 2em;
  padding-bottom: 2em;
  background: transparent !important;
}

.navbar-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.navbar-brand img {
  height: 34px;
  margin-right: 14px;
}

.navbar-brand .helper-text {
  font-size: 24px;
}

.navbar-collapse {
  padding-left: 30px;
}

/* Main Content */
main .title {
  margin-bottom: 6rem;
}

main .subtitle {
  font-weight: 300;
  font-size: 22px;
  opacity: 0.5;
}

iframe, video {
  width: 100%;
  aspect-ratio: 16 / 9;
  box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.2);
  border-radius: 6px;
}

/* Drop down */
#userDropdown {
  font-family: 'Brandon Text', 'Brandon', 'Arial', sans-serif;
  margin: 10px 0;
  padding: 1rem 0;
  min-width: 220px;
  background-color: #fff1;
  backdrop-filter: blur(5px);
  box-shadow: 0 0 15px -10px #d2d3e436;
  border: 1px solid #ffffff29;
}

#userDropdown .dropdown-divider {
  margin: 1rem 0;
  border-color: rgba(255, 255, 255, 0.15);
}

#userDropdown .dropdown-item-text {
  padding-left: 1.3rem;
  padding-right: 1.3rem;
}

#userDropdown .dropdown-item-text.main-text {
  font-size: 18px;
  font-weight: 400;
  color: #fff;
}

#userDropdown .dropdown-item-text.support-text {
  margin-top: -2px;
  font-size: 14px;
  font-weight: 400;
  text-transform: lowercase;
  color: #fff5;
}

#userDropdown .dropdown-item {
  padding-left: 1.3rem;
  padding-right: 1.3rem;
}

#userDropdown a.dropdown-item {
  color: #fff5;
  font-size: 15px;
  font-weight: 400;
}

#userDropdown a.dropdown-item:hover {
  background-color: #fff1 !important;
  color: #fff !important;
}

.gallery-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8); /* Dunkler Hintergrund */
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden; /* Versteckt das Overlay standardmäßig */
  z-index: 1000; /* Stellt sicher, dass das Overlay über anderen Inhalten liegt */
}

.gallery {
  width: 90%;
  height: 90%;
  position: relative;
  background: white; /* Hintergrundfarbe der Galerie */
}

iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 10px;
  background-color: rgba(0,0,0,0.5);
  text-decoration: none;
}

#prevLink {
  left: 0;
}

#nextLink {
  right: 0;
}