body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  color: white;
  overflow: hidden;
}

h1{
  margin-top: 0px;
  margin-bottom: 0px;
  font-size: 50px;
}

h2{
  margin-top: 10px;
  margin-bottom: 0px;
  font-size: 35px;
  text-align: center; /* Zentriert den Text horizontal */
  white-space: normal; /* Erlaubt den Umbruch des Textes */
  overflow-wrap: break-word; /* Erlaubt den Umbruch innerhalb von Wörtern, falls notwendig */
}

.content-to-hide-wrapper {
  display: flex;
  justify-content: center; /* Horizontales Zentrieren */
  align-items: center; /* Vertikales Zentrieren */
  height: 100%;
  padding-top: 20px;
}

.container {
  display: flex;
  flex-direction: column;
  height: 75vh;
  width: 90vw;
  background-color: rgba(0, 0, 0, 0.7); /* Schwarzer Hintergrund */
  -webkit-box-shadow: 0px 0px 15px -1px rgba(255,255,255,1);
  -moz-box-shadow: 0px 0px 15px -1px rgba(255,255,255,1);
  box-shadow: 0px 0px 15px -1px rgba(255,255,255,1);
  border-radius: 25px;
}

.top-container {
  flex: 1;
  display: flex;
  flex-direction: column; /* untereinander anzeigen */
  position: relative;
  height: 40%; /* Höhe anpassen, da die Container nun untereinander sind */
}

.top {
  flex: 1;
  padding: 0px;
  box-sizing: border-box;
  display: flex; /* Flex-Layout für innere Ausrichtung */
  flex-direction: column; /* Elemente innerhalb der .top-Container untereinander anzeigen */
  align-items: center; /* Zentrierung der Elemente horizontal */
  justify-content: center; /* Zentrierung der Elemente vertikal */
  overflow: scroll;
}

.bottom {
  height: 60%;
  padding: 0px;
  box-sizing: border-box;
}

.carousel-container {
  overflow-x: auto; /* Erlaubt das horizontale Scrollen */
  overflow-y: hidden; /* Verhindert vertikales Scrollen */
  width: 100%;
  height: 100%;
  white-space: nowrap; /* Verhindert den Umbruch von Elementen auf die nächste Zeile */
}

.carousel {
  display: flex; /* Die Bilder werden nebeneinander angezeigt */
  height: 100%;
  margin-right: 20px;
  padding: 0;
}

.carousel img {
  height: 90%;
  display: inline-block; /* Hält die Bilder nebeneinander, funktioniert zusammen mit white-space: nowrap; */
  margin-left: 10px;
  margin-top: 10px;
}

.carousel img {
  opacity: 0.6;
  border-radius: 10px;
}

.carousel img.active {
  opacity: 1;
  -webkit-box-shadow: 0px 0px 15px -4px rgba(201,32,201,1);
  -moz-box-shadow: 0px 0px 15px -4px rgba(201,32,201,1);
  box-shadow: 0px 0px 15px -4px rgba(201,32,201,1);
}

.buttons {
  display: flex; /* Flexbox verwenden, um die Elemente nebeneinander anzuordnen */
  align-items: center; /* Vertikale Zentrierung der Elemente */
  margin-top: 25px;
}

.button-gallery, .button-details {
  background-color: transparent;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  cursor: pointer;
  border-radius: 10px;
  transition: 0.5s;
}

.button-gallery {
  border: 2px solid #00f3ff;
  color: #00f3ff;
}

.button-details {
  border: 2px solid #d333a1;
  color: #d333a1;
}

.button-gallery:hover {
  background-color: rgba(0, 243, 255, 0.2);
  box-shadow: 0 0 20px #00f3ff, 0 0 40px #00f3ff, 0 0 60px #00f3ff;
}

.button-details:hover {
  background-color: rgba(211, 51, 161, 0.2);
  box-shadow: 0 0 20px #d333a1, 0 0 40px #d333a1, 0 0 60px #d333a1;
}

.divider {
  width: 2px; /* Breite des Trennstrichs */
  height: 20px; /* Höhe des Trennstrichs */
  background-color: white; /* Farbe des Trennstrichs */
  margin: 0 25px; /* Abstand zu den Buttons */
}

@media (max-width: 767px) {
  .content-to-hide-wrapper{
    padding-top: 0px;
  }
  .carousel img{
    height: 90%;
  }
  h1{
    font-size: 30px;
    margin-bottom: 20px;
  }
  h2{
    font-size: 25px;
    margin-bottom: 20px;
  }
  .divider{
    margin: 0 20px; /* Abstand zu den Buttons */
  }
  .top-container{
    height: 50%;
  }
  .bottom{
    height: 50%;
    margin-bottom: 10px;
    margin-left: 10px;
    margin-right: 10px;
  }
}