
  
  body {
    color: white;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(0, 0, 0);
    overflow: hidden;
    margin: 0;
    padding: 0;
    transition: transform 0.3s ease;
    font-family:'Parabole', sans-serif; 
 
   }
  


/* Allgemeine Eigenschaften */
  .solar-system {
    position: relative;
    height: 1000px;
    width: 1000px;
    isolation: isolate; /* Wichtig für mix-blend-mode */
  }
  

  .sun {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 100px;
    width: 100px;
    background-color: rgb(255, 255, 255);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 000;
}

   .sonne {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 150px;
  width: 150px;
  border: #fff;
  background-color: rgb(0, 0, 0);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
}

.planet.overlap {
  filter: invert(0%);
  opacity: 0.7; /* Reduziert die Sichtbarkeit bei Überlappung */
}

 .orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1.25px solid rgb(219, 173, 214);
    border-radius: 50%;
    background-color: rgb(255, 255, 255);
    mix-blend-mode: difference;
  }


  /* Planeten*/
  .planet {
    position: relative;
    top: 50%;
    left: 50%;
    background-color: rgba(0, 0, 0, 0);
    border-radius: 50%;
    transform-origin: -150px;
    transform: translateX(-50%) translateY(-50%);
    box-shadow: inset -20px -20px 30px rgba(0, 0, 0, 0.5), 
                20px 20px 50px rgba(0, 0, 0, 0.2);
    transform-style: preserve-3d;
    z-index: 10;
    display: inline-block;
    
  }


  .planet img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    filter: invert(100%); /* Invertiere die Farben */
    transition: filter 0.3s ease; /* Sanfter Übergang */
    mix-blend-mode: multiply;
    opacity: 1.0;
  }
    



/* Hover-Effekte*/ 

.planet:hover {
  content:"hallo";
  transform: translate(-50%, -50%) scale(5);
  animation-play-state: paused;
  transform: translate(-50%, -50%) scale(1.5);
  filter: none;
  z-index: 100;
  transform: scale(5); /* Vergrößert den Planeten auf 150% seiner Größe */
  box-shadow: none;
}

.planet img:hover {
filter: none;
transform: scale(5); /* Vergrößert den Planeten */
animation-play-state: paused;
}


.orbit:hover {
  animation-play-state: paused;
}


  /* Different orbits for each planet */
  .orbit:nth-child(2) {
    height: 400px;
    width: 400px;
    animation: rotate-and-flip 100s linear infinite;
  }
  
  .orbit:nth-child(3) {
    height: 800px;
    width: 800px;
    animation: rotate-and-flip 70s linear infinite;
  }
  
  .orbit:nth-child(4) {
    height: 900px;
    width: 100px;
    animation: rotate-and-flip 50s linear infinite;
  }
  
  .orbit:nth-child(5) {
    height: 100px;
    width: 1100px;
    animation: rotate-and-flip 60s linear infinite;
  }
 
  .orbit:nth-child(6) {
    height: 500px;
    width: 900px;
    animation: rotate-and-flip 100s linear infinite;
  }
  .orbit:nth-child(7) {
    height: 1100px;
    width: 1000px;
    animation: rotate-and-flip 50s linear infinite;
  }
 
  .orbit:nth-child(8) {
    height: 890px;
    width: 890px;
    animation: rotate-and-flip 70s linear infinite;
  }
  .orbit:nth-child(9) {
    height: 700px;
    width: 100px;
    animation: rotate-and-flip 10s linear infinite;
   
  }


/* Animations for each planet */
  .one{
    animation: orbit1 20s linear infinite;
    
  }
  
  .two {
    animation: orbit2 25s linear infinite;
  }
  
  .three {
    animation: orbit3 30s linear infinite;
  }
  
  .four{
    animation: orbit4 35s linear infinite;
  }

  .five {
    animation: orbit5 40s linear infinite;
  }

  .six {
    animation: orbit6 45s linear infinite;
  }
  
  .seven{
    animation: orbit7 50s linear infinite;
  }

  .eight {
    animation: orbit8 55s linear infinite;
  }






  /* Media Query */


  @media screen and (max-width: 1000px) 
  
   {}.solar-system {
      height: 1000px;
      width: 1000px;
    }
  
    .sun {
      height: 150px;
      width: 150px;
    }
  
    .planet {
      height: 200px;
      width: 200px;
    }
     
    .orbit:nth-child(2) {
      height: 300px;
      width: 300px;
    }
  
    .orbit:nth-child(3) {
      height: 500px;
      width: 500px;
    }
  
    .orbit:nth-child(4) {
      height: 700px;
      width: 700px;
    }
    .orbit:nth-child(5) {
      height: 900px;
      width: 900px;
   }

   .orbit:nth-child(6) {
    height: 900px;
    width: 200px;
   }

   .orbit:nth-child(7) {
    height: 300px;
    width: 700px;
   }

   .orbit:nth-child(8) {
    height: 800px;
    width: 600px;
   }

   .orbit:nth-child(9) {
    height: 300px;
    width: 900px;
   }

    /* Keyframes for planet orbits */
    @keyframes orbit1 {
      from {
        transform: rotate(0deg) translateX(-200px) rotate(0deg);
      }
      to {
        transform: rotate(360deg) translateX(-200px) rotate(-360deg);
      }
    }
  
    @keyframes orbit2 {
      from {
        transform: rotate(0deg) translateX(-350px) rotate(0deg);
      }
      to {
        transform: rotate(360deg) translateX(-350px) rotate(-360deg);
      }
    }
  
    @keyframes orbit3 {
      from {
        transform: rotate(0deg) translateX(-400px) rotate(0deg);
      }
      to {
        transform: rotate(360deg) translateX(-400px) rotate(-360deg);
      }
    }
  
    @keyframes orbit4 {
      from {
        transform: rotate(0deg) translateX(-450px) rotate(0deg);
      }
      to {
        transform: rotate(360deg) translateX(-450px) rotate(-360deg);
      }
    }

    @keyframes orbit5 {
      from {
        transform: rotate(0deg) translateX(-500px) rotate(0deg);
      }
      to {
        transform: rotate(360deg) translateX(-500px) rotate(-360deg);
      }
    }
  
     
    @keyframes orbit6 {
      from {
        transform: rotate(0deg) translateX(-550px) rotate(0deg);
      }
      to {
        transform: rotate(360deg) translateX(-550px) rotate(-360deg);
      }
    }
  
    @keyframes orbit7 {
      from {
        transform: rotate(0deg) translateX(-450px) rotate(0deg);
      }
      to {
        transform: rotate(360deg) translateX(-450px) rotate(-360deg);
      }
    }

    @keyframes orbit8 {
      from {
        transform: rotate(0deg) translateX(-800px) rotate(0deg);
      }
      to {
        transform: rotate(360deg) translateX(-800px) rotate(-360deg);
      }
    }
  


  /* Media Query 2 */


  @media screen and (max-width: 1000px) 

  {}
    .pluto {
      height: 200px;
      width: 200px;
    }
    .umlauf:nth-child(2) {
      height: 300px;
      width: 300px;
    }
  
    .umlauf:nth-child(3) {
      height: 500px;
      width: 500px;
    }
  
    .umlauf:nth-child(4) {
      height: 700px;
      width: 700px;
    }
    .umlauf:nth-child(5) {
      height: 900px;
      width: 900px;
   }

   .umlauf:nth-child(6) {
    height: 900px;
    width: 200px;
   }

   .umlauf:nth-child(7) {
    height: 300px;
    width: 700px;
   }

   .umlauf:nth-child(8) {
    height: 800px;
    width: 600px;
   }

   .umlauf:nth-child(9) {
    height: 300px;
    width: 900px;
   }

  


/* Keyframes für Orbit-Rotation */
@keyframes rotate-and-flip {
  0% {
    transform: translate(-50%, -50%) rotate(0deg) scaleX(1);
  }
  50% {
    transform: translate(-50%, -50%) rotate(180deg) scaleX(-1); /* Horizontal spiegeln */
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg) scaleX(1);
  }
}



/* Ensure the popup fills the viewport */
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.popup.visible {
  display: flex;
}

/* Style the popup content */
.popup-content {
  background-color: rgb(209, 19, 164);
  border-radius: 50%;
  width: 100vmin;
  height: 100vmin;
  max-width: 1000px;
  max-height: 1000px;
  padding: 0px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.close-popup {
  position: relative;
  top: 10px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1002;
  color: #ffffff;

}

.popup-gallery {
  
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  align-self: center;
}

.popup-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* This ensures the image fills the space */
  border-radius: 50%; /* Makes the image circular like the popup */
}

.info {
  position: absolute;
}

/* Navigation buttons */
.gallery-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0);
  color: rgb(255, 255, 255);
  mix-blend-mode: difference;
  border: none;
  padding: 10px 15px;
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

/* Close button */
.close-popup {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
  z-index: 10;
  color: black;
  background: white;
  border-radius: 50%;
  padding: 5px 10px;
}

/* Style the popup title */
.popup-title {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  color: white;
  margin-bottom: 10px;
  display: none;
}

/* Style the popup description text */
.popup-text {
  font-size: 1.2rem;
  text-align: center;
  color: lightgray;
  padding: 0 20px;
  display: none;
}

/* Container für das Sonnensystem */
#zoom-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  transform-origin: center;
  transition: transform 0.3s ease-in-out;
}



.intro-title {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 15rem;
  color: white;
  background: rgb(0, 0, 0);
  text-align: center;
  font-family: "Parabole", monospace;
  text-transform: uppercase;
  z-index: 2000;
  opacity: 1;
  mix-blend-mode: darken;
  animation: fadeOut 0.35s ease-in-out forwards;
  animation-delay: 6s;
}

@keyframes fadeOut {
  0% { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}


#zoom-wrapper {
  opacity: 1;
  transform: scale(3);
  transition: transform 10s ease-in-out;
}

/* When the intro title disappears, zoom out */
@keyframes zoomOut {
  0% { transform: scale(3); } /* Start at 300% */
  100% { transform: scale(1); } /* End at 100% */
}

/* Apply zoom animation after the intro fades */
.zoom-out {
  animation: zoomOut 10s ease-in-out forwards;
  animation-delay: 5s; /* Wait for the title to fade */
}

/* Info Button - Positioned in the Bottom Right */
.info-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0);
  color: white;
  font-size: 1.5rem;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  transition: background 0.3s ease-in-out;
}

/* Button Hover Effect */
.info-button:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* Hidden Info Text */
.info-text {
  position: absolute;
  bottom: 50px;
  right: 0;
  width: 300px;
  background: rgba(0, 0, 0, 0);
  color: white;
  padding: 10px;
  border-radius: 5px;
  font-size: 1rem;
  text-align: right;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

/* Show Text When Hovering Over the Button */
.info-button:hover .info-text {
  opacity: 1;
  visibility: visible;
}

/* Impressum Button - Positioned in the Top Right */
.impressum-button {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0);
  color: white;
  font-size: 1.5rem;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  transition: background 0.3s ease-in-out;
}

/* Button Hover Effect */
.impressum-button:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* Hidden Info Text */
.impressum-text {
  position: absolute;
  bottom: 50px;
  left: 0;
  width: 300px;
  background: rgba(0, 0, 0, 0);
  color: white;
  padding: 10px;
  border-radius: 5px;
  font-size: 1rem;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

/* Show Text When Hovering Over the Button */
.impressum-button:hover .impressum-text {
  opacity: 1;
  visibility: visible;
}

.gallery-info-text {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  width: 300px;
  padding: 20px;
  color: white;
  font-size: 16px;
  line-height: 1.4;
  border-radius: 8px;
  z-index: 1001; /* Ensure it's above the solar system but not over the popup */
  
}

.gallery-info-text h2 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #ffd700; /* Example: gold title */
}

.popup.visible + .gallery-info-text {
  display: block;
}

/* Positioning the text on the left 
.popup-text-left {
  position: absolute;
  left: -250px; /* Moves text to the left 
  top: 50%;
  transform: translateY(-50%);
  width: 200px;
  text-align: right;
  font-size: 1.5rem;
  color: white;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

/* Positioning the text on the right 
.popup-text-right {
  position: absolute;
  right: -250px; /* Moves text to the right 
  top: 50%;
  transform: translateY(-50%);
  width: 200px;
  text-align: left;
  font-size: 1.5rem;
  color: white;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

/* Make text visible when popup is active 
.popup.visible .popup-text-left,
.popup.visible .popup-text-right {
  opacity: 1;
}

