/* styles.css */
    body {
      position: absolute;
      width: 100vw;
      height: 100vh;
      margin: 0;
      padding: 0;
      overflow-x: hidden;
      font-family: 'Times New Roman', Times, serif;
      background-color: transparent;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      transition: background-color 2s ease;
      -webkit-text-fill-color: #8d8d8d;
      font-size: 15px; /* Increase the base font size */

    }
    video {
      position: fixed;
      top: 50%;
      left: 50%;
      width: 100%;
      height: 100%;
      object-fit: cover;
      transform: translate(-50%, -50%);
      z-index: -1;
      mix-blend-mode:screen;
      opacity: 0.30;

    }
    .carousel-container {
      position: absolute;
      width: 100vw;
      height: 100vh;
      overflow: hidden;
      z-index: 2;
    }
    .sun {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%) rotateX(10deg); /* Apply 3D rotation */
      width: 150px;
      height: 150px;
      background-color: rgb(249, 249, 242);
      border-radius: 50%;
      box-shadow:
    0 0 80px rgb(255, 254, 222),
    0 0 1000px rgb(244, 243, 209);
      z-index: 1;
      transition: 'background-color' 0.5s, 'box-shadow' 0.5s;
      transition-duration: 1s;
      animation: haloPulse 10s infinite;
    }

@keyframes haloPulse {
  0%, 100% {
    box-shadow:
      0 0 50px rgba(255, 254, 222, 0.8),
      0 0 80px rgba(244, 243, 209, 0.6),
      0 0 100px rgba(244, 243, 209, 0.4);
  }
  50% {
    box-shadow:
      0 0 100px rgba(255, 254, 222, 1),
      0 0 150px rgba(244, 243, 209, 0.8),
      0 0 200px rgba(244, 243, 209, 0.6);
  }
}
.HaloPulse {
  mix-blend-mode: color;
  z-index: 1;
}
    .moon {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%)rotateX(10deg); /* Apply 3D rotation */;
      width: 150px;
      height: 150px;
      background-color: black;
      border-radius: 50%;
      box-shadow: 0 0 35px rgb(241, 255, 44);
      z-index: 1;
      display: none;
      transition: 'background-color' 1.5s, 'box-shadow' 2s;
      transition-duration: 2s;
    }
    .babymoon {
  position: absolute;
  width: 13px; /* Taille de la nouvelle Lune */
  height: 13px;
  background-color: rgb(222, 222, 222);
  border-radius: 50%;
  z-index: 1; /* Assure que la nouvelle Lune est au-dessus de la Terre */
  animation: orbit-luna 4s linear infinite; /* Orbite autour de la Terre */
  top: 30%; /* Position verticale ajustée */
  left: 40%; /* Position horizontale ajustée */
  cursor: pointer; /* Ajout du style du curseur */
  pointer-events: auto; /* Activation des événements de pointeur */
    /* Ajout du contour lumineux */
    box-shadow: 0 0 20px 5px rgb(212, 232, 250); /* Utilisez les valeurs qui conviennent à votre design */
  }       
    .carousel {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 100%;
      height: 100%;
      transform: translate(-50%, -50%);
      pointer-events: none; /* Ensure that only planets are clickable */
    }
    .orbit {
      position: absolute;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      transform-origin: center;
      pointer-events: none; /* Ensure that only planets are clickable */
    }
    .neptune {
  position: absolute;
  background-color: #85addb; /* Blue color for Neptune */
  width: 57px;
  height: 57px;
  border-radius: 50%;
  cursor: pointer; /* Ajout du style du curseur */
  /* Ajout du contour lumineux */
  right: 20%; /* Adjust this value to center Neptune horizontally */
  top: 30%; /* Adjust this value to center Neptune vertically */
  z-index: 999; /* Ensure Neptune is on top of other elements */
  pointer-events: auto; /* Activation des événements de pointeur */
  animation: orbit10 3000s linear infinite;
}
.romanus {
  position: absolute;
  background-color: 	#E32A19; /* Blue color for Neptune */
  width: 25px;
  height: 25px;
  border-radius: 50%;
  cursor: pointer; /* Ajout du style du curseur */
  /* Ajout du contour lumineux */
  left: 65%; /* Adjust this value to center Neptune horizontally */
  top: 50%; /* Adjust this value to center Neptune vertically */
  z-index: 999; /* Ensure Neptune is on top of other elements */
  pointer-events: auto; /* Activation des événements de pointeur */
  animation: orbit10 2000s linear infinite;
}
.M {
  position: absolute;
  background-color: rgb(247, 255, 86) ;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 70px 	rgb(208, 255, 0);
  left: 50%;
  top: 50%;
  z-index: 1000; /* Augmentez le z-index */
  pointer-events: auto;
  animation: orbit12 4000s linear infinite;

}
    .planet {
      position: absolute;
      width: 100px;
      height: 100px;
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
      text-align: center;
      text-decoration: none;
      writing-mode: vertical-lr; /* Vertical writing mode from right to left */
      transform: translate(-50%, -50%); /* Rotate the text */
      background-color: transparent;
      padding: 5px;
      box-sizing: border-box;
      cursor: pointer;
      transition: color 1s, color 1s;
      pointer-events: auto; /* Ensure planets are clickable */
      left: 50%;
      top: 50%;
      -webkit-text-fill-color: #8d8d8d;
      font-size: 15px;
    }
  
    .planet:hover {
      transform: scale(1.1);
      animation: rotate 2s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
    .planet:hover + .info {
      visibility: visible;
      opacity: 1;
    }
    .info {
      position: absolute;
      bottom: 10%;
      left: 50%;
      transform: translateX(-50%);
      visibility: hidden;
      opacity: 0;
      transition: visibility 0.3s, opacity 0.3s;
      padding: 10px 20px;
      border-radius: 10px;
      box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    }
    .info p {
      margin: 0;
      font-size: 16px;
    
    }
    .negative {
  filter: invert(100%);
}
    
    .planet-text {
  fill:#8d8d8d; /* Adjust this color as needed */
  font-size: 12px;
  text-anchor: middle;
}
    @keyframes orbit1 {
      0% {
        transform: rotate(0deg) translateX(100px) rotate(0deg);
      }
      100% {
        transform: rotate(360deg) translateX(100px) rotate(-360deg);
      }
    }
    @keyframes orbit2 {
      0% {
        transform: rotate(0deg) translateX(200px) rotate(0deg);
      }
      100% {
        transform: rotate(360deg) translateX(200px) rotate(-360deg);
      }
    }
    @keyframes orbit3 {
      0% {
        transform: rotate(0deg) translateX(300px) rotate(0deg);
      }
      100% {
        transform: rotate(360deg) translateX(300px) rotate(-360deg);
      }
    }
    @keyframes orbit4 {
      0% {
        transform: rotate(0deg) translateX(400px) rotate(0deg);
      }
      100% {
        transform: rotate(360deg) translateX(400px) rotate(-360deg);
      }
    }
    @keyframes orbit5 {
      0% {
        transform: rotate(0deg) translateX(500px) rotate(0deg);
      }
      100% {
        transform: rotate(360deg) translateX(500px) rotate(-360deg);
      }
    }
    @keyframes orbit6 {
      0% {
        transform: rotate(0deg) translateX(600px) rotate(0deg);
      }
      100% {
        transform: rotate(360deg) translateX(600px) rotate(-360deg);
      }
    }
    @keyframes orbit7 {
      0% {
        transform: rotate(0deg) translateX(700px) rotate(0deg);
      }
      100% {
        transform: rotate(360deg) translateX(700px) rotate(-360deg);
      }
    }
    @keyframes orbit8 {
      0% {
        transform: rotate(0deg) translateX(800px) rotate(0deg);
      }
      100% {
        transform: rotate(360deg) translateX(800px) rotate(-360deg);
      }
    }
    @keyframes orbit-luna {
      0% {
        transform: rotate(0deg) translateX(50px) rotate(0deg);
      }
      100% {
        transform: rotate(360deg) translateX(50px) rotate(-360deg);
      }
    } 
      @keyframes orbit10 {
      0% {
        transform: rotate(0deg) translateX(900px) rotate(0deg);
      }
      100% {
        transform: rotate(360deg) translateX(900px) rotate(-360deg);
      }
    } 
    
    .orbit:nth-child(1) {
      animation: orbit1 14.5s linear infinite;
    }
    .orbit:nth-child(2) {
      animation: orbit2  37s linear infinite;
    }
    .orbit:nth-child(3) {
      animation: orbit3 60s linear infinite;
    }
    .orbit:nth-child(4) {
      animation: orbit4 113s linear infinite;
    }
    .orbit:nth-child(5) {
      animation: orbit5  712s linear infinite;
    }
    .orbit:nth-child(6) {
      animation: orbit6 1771s linear infinite;
    }
    .orbit:nth-child(7) {
      animation: orbit7 5045s linear infinite;
    }
    .orbit:nth-child(8) {
      animation: orbit8 40.8s linear infinite;
    }
    .orbit:nth-child(10) {
      animation: orbit8 9898s linear infinite;
    }
    .orbit:nth-child(11) {
      animation: orbit8 2000s linear infinite;
    }
    .answer-box {
      position: absolute;
      top: 40px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 2;
    }

    .answer-input {
    font-family: "Exo Black", sans-serif;
      width: auto;
      height: auto;
      padding: 5px;
      font-size: 15px;
      background-color: transparent;
      color: white;
      margin-right: 10px;
    }

#constellationSvg {
  z-index: -1;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
    }

    .constellationPoint {
      stroke-opacity: 1;
      fill: #ffffff; 
      stroke-width: 0.1px;
      
    }

    .constellationLine {
      stroke: #ffffff;
      stroke-width: 0.2px;
    }

    .navigation {
      position: fixed;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 10px;
      z-index: 999;
    }
    .navigation button {
      background: rgba(255, 255, 255, 0.5);
      border: none;
      border-radius: 50%;
      width: 50px;
      height: 50px;
      cursor: pointer;
      font-size: 1.5rem;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .navigation button:hover {
      background: rgba(255, 255, 255, 0.7);
    }
    #unidentifiedObject, #unidentifiedObject2 {
        position: absolute;
        width: auto; /* Smaller size */
        height: auto; /* Smaller size */
        cursor: pointer;
        z-index: 3;
        transition: transform 1s ease, opacity 1s ease;
        opacity: 0;
        pointer-events: none; /* Désactiver les événements de pointer par défaut */
      }
      
      @keyframes moveObject {
        0% { transform: translate(0, 0); }
        25% { transform: translate(10px, -10px); }
        50% { transform: translate(0, -20px); }
        75% { transform: translate(-10px, -10px); }
        100% { transform: translate(0, 0); }
      }
      
    /* For larger screens */
@media only screen and (min-width: 768px) {
  .container {
    width: 750px; /* Adjust width as needed */
    margin: 0 auto; /* Center align the container */
  }
}

/* For smaller screens */
@media only screen and (max-width: 767px) {
  .container {
    width: 100%; /* Full width */
    padding: 10px; /* Adjust padding as needed */
  }
}

