@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap');

/*********************************************
  * GLOBAL STYLES
  *********************************************/
:root {
  --text-size: 1em;
  --text-size-big: 3em;
  --plyr-color-main: #BC147E;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  scale: 100%;
  margin: 0;
  padding: 0;
  width: 100%;
  font-family: 'Open Sans', sans-serif;
  color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  min-height: 100vh;
  text-align: left;
  overflow-x: clip;
  /*overflow-y: scroll;*/
  background-color: white;
}

canvas {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.0);
}

h1{
  color: rgb(3, 15, 54);
  padding-top: 0.2em;
  text-transform: uppercase;

}

h2{
  padding-bottom: 0.1em;
}


p {

}

a {
  text-decoration: none;
  color: #cd4886;
}

.main {
  flex: 1;
}

.desktop-layout{
  display: none !important;
}

.mobile-layout{
  display: block;
}

.no-border {
  border: none !important;
  border-radius: 0 !important;
}



/* Platzhalter für JS-Inhalte */
.background-div {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  /*z-index: -1;*/
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(15, auto);
  gap: 10px;
  width: 100%;
  max-width: 1200px;
  z-index: 1;
  /* Setzt das Grid über das Hintergrund-div */
  margin: 0 auto;
  /* Zentriert das Grid */
  margin-top: 4em;
}

.grid-item {
  background-color: rgba(255, 255, 255, 0);
  text-align: left;
  padding: 20px;
  font-size: var(--text-size);
  border-radius: 14px;

}

/* Zeilen über alle Spalten */
.grid-item.full-width {
  grid-column: span 2;
}

.grid-item.right-aligned {
  text-align: right;
}

.grid-item.left-aligned {
  text-align: left;
}

.grid-item.head {
  font-size: 1.8em;
  margin: 0;
  padding-top: 0;
}

.grid-item.subhead {
  font-size: 1em;
  margin: 0;
  padding-top: 0;
}

.grid-item.img img {
  width: 50%;
}

.page-grid-container {
  display: grid;
  grid-template-columns: repeat(12, [col-start] minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  max-width: 1200px;
  z-index: 1;
  /* Setzt das Grid über das Hintergrund-div */
  margin: 0 auto;
  /* Zentriert das Grid */
  margin-top: 2em;
}

.page-grid-container.page-opener {
  margin-top: 5.5em;
  margin-bottom: 7em;
}

.page-grid-item {
  background-color: rgba(255, 255, 255, 0);
  text-align: left;
  /*padding: 20px;*/
  font-size: var(--text-size);
  border-radius: 14px;
  display: block;
  background-size: contain;
  background-repeat: no-repeat;
  grid-column: span 12;
}

.page-grid-item.full-width {
  /*grid-column: 1/12;*/
  grid-column: span 12;
}


.info-box {
  border: 1px solid #BC147E;
  background-color: rgba(0, 0, 0, 0.25);
  border-radius: 14px;
}

.button{
  background-color: rgba(255, 255, 255, 0.82);
  padding: 1em;
}

.button>a{
  color: rgb(40, 113, 133);
}

.buttonThumb{
  background-size: cover; 
  background-repeat: no-repeat; 
  background-position: center; 
  aspect-ratio: 3/2;
}


footer {
  height: 3em;
  display: flex;
  width: 100%;
  max-width: 1200px;
  position: absolute;
    bottom: 2em;

}

footer>a {
  color: white;
  text-decoration: none;
  font-size: 0.8em !important;
}

.dd-concept-logo {
  height: 3em;
}

.grid-footer {
  width: 100%;
}

.gradient-background {
  z-index: -1;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg,
      black 0%,
      rgba(188, 20, 126, 0.2) 25%,
      rgba(125, 78, 255, 0.15) 75%,
      black 100%);
  background-size: 400% 400%;
  animation: gradientAnimation 25s ease infinite;
}

@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}


/* Navigation menu styles */
.menu {
  position: fixed;
  top: -100%;
  right: 0;
  /*width: 100%;
        height: 100%;*/

  transition: top 0.3s ease-in-out;
  z-index: 50;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 14px;
  border: 1px solid #BC147E;
  background-color: rgba(0, 0, 0, 0.7);
  width: 100%;
}

.menu.open {
  top: 0;
}

.menu-list {
  list-style-type: none;
  text-align: left;
  border-radius: 14px;
  width: 100%;

}

.menu-item {
  padding: 15px;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.menu.open .menu-item {
  opacity: 1;
  transform: translateY(0);
}

.menu.open .menu-item:nth-child(1) {
  transition-delay: 0.1s;
}

.menu.open .menu-item:nth-child(2) {
  transition-delay: 0.2s;
}

.menu.open .menu-item:nth-child(3) {
  transition-delay: 0.3s;
}

.menu.open .menu-item:nth-child(4) {
  transition-delay: 0.4s;
}

.menu-item a {
  color: white;
  text-decoration: none;
  display: block;
  font-size: 24px;
  padding: 10px;
  width: 100%;
}

.menu-item a:hover {
  color: #BC147E;
}


.thumbnail{
  min-height: 8em;
  background-repeat: no-repeat;
  background-size: contain;
}

.info-box-side {
  /*
  border-radius: 14px;
  padding: 2em;
  padding-top: 1em;
  border: 1px solid #BC147E;
  background-color: rgba(0, 0, 0, 0.25);*/
}

@media (min-width: 769px) {
  body {
    /* padding-left: 15%;
     padding-right: 15%;*/

  }

  .mobile-layout{
    display: none;
  }

  .desktop-layout{
    display: block !important;
  }

  .grid-item.head {
    font-size: 3em;

  }

  .grid-item.subhead {
    font-size: 2em;
  }

  .page-grid-item.left8 {
    grid-column: span 8;
  }
  .page-grid-item.right3 {
    grid-column: span 3;
  }

  .page-grid-item.l4 {
    grid-column: span 4;
  }
  .page-grid-item.l5 {
    grid-column: span 5;
  }
  .page-grid-item.l7 {
    grid-column: span 7;
  }
  .page-grid-item.l8 {
    grid-column: span 8;
  }


  footer {
    height: 3em;
    display: flex;
    width: 100%;
  }

  footer>a {
    font-size: 1.0em !important;
  }

  .navbar a {
    display: block;
    width: 120px;

  }

  .menu {
    width: 30%;
  }

  .menu-item a {
    width: 100%;
  }

  .info-box-side {
    margin-left: 2em;
  }
}

#lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center;
}

#lightbox-img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

#lightbox.show {
  display: flex;
}

#iFrame {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center;
}

#iFrame.show {
  display: flex;
}



#close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  color: white;
  font-size: 40px;
  cursor: pointer;
  background: none;
  border: none;
}




/* splide */

.splide{
  padding-left: 1em;
  padding-right: 1em;
  padding-bottom: 1.5em;
}

.splide__slide{
  padding: 1em;
}

.splide__slide img {
  width: 100%;
  height: auto;
  object-fit:contain;
}

.splide__arrow{
  opacity: 1.0;
  background: none;
}

.splide__arrow--prev{
  left:0em;
}

.splide__arrow--next{
  right:0em;
}

.splide__arrow svg{
  fill: #cd4886;
}

/*iframe*/
.iframe-container {
  position: relative;
  width: 90%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  overflow: hidden;
}

.iframe-container iframe {
  position: absolute;
  top: 0;
  left: auto;
  bottom: 0;
  right: auto;
  width: 100%;
  height: 100%;
  border: 0;
}


/****
/ index Page Slider
*/

/** {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}*/

.slideshow-container {
  overflow: hidden; /* Prevents default scrolling */
}




.content {
  text-align: center;
  padding: 20px;
}

.nav-dots {
  position: fixed;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  z-index: 100;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  margin: 8px 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background-color: white;
  transform: scale(1.3);
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  opacity: 0.7;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
      transform: translateX(-50%) translateY(0);
  }
  40% {
      transform: translateX(-50%) translateY(-20px);
  }
  60% {
      transform: translateX(-50%) translateY(-10px);
  }
}



/*filter for exhibits*/
.filter-bar {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
      align-items: center;
      border-bottom: 1px solid #eee;
      padding-bottom: 1rem;
    }

    .filter-group {
      display: flex;
      gap: 0.5rem;
      flex-wrap: wrap;
    }

    .filter-label {
      font-weight: bold;
      margin-right: 0.5rem;
      text-transform: uppercase;
      font-size: 0.75rem;
      color: #666;
    }

    .tag {
      padding: 0.4rem 0.8rem;
      background: #f4f4f4;
      border-radius: 20px;
      cursor: pointer;
      border: 1px solid transparent;
      transition: all 0.2s;
    }

    .tag.selected {
      background: #333;
      color: white;
      border-color: #333;
    }

    .clear-btn {
      margin-left: auto;
      background: transparent;
      border: 1px solid #ccc;
      border-radius: 20px;
      padding: 0.4rem 0.8rem;
      cursor: pointer;
      font-size: 0.9rem;
    }

    .clear-btn:hover {
      background-color: #eee;
    }

    