
body{
  background: linear-gradient(to right, #0B0653, #000000);
  width: 100%;
  height: 100%;
  overflow: hidden; 
}

  
#logo {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 9999; /* 他の要素よりも上に表示されるように設定 */
} 
#explain{
  position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999; 
    color: white;
}

#tabs {
  position: fixed;
  top: 30px;
  left: 240px;
  z-index: 9999;
}

#tabs a {
  color: white;
  margin-right: 20px;
  text-decoration: none;
  font-size: 18px;
}

#tabs a:hover {
  text-decoration: underline;
}

#sliderContainer {
  position: fixed;
  top: 40px;
  right: 40px;
  z-index: 9999; /* Ensure it's on top of other elements */
  text-align: center;
}

#sliderContainer .form-label {
  color: white;
  margin-bottom: 5px; /* Adjust spacing between label and slider */
}

#slider {
/* Adjust the width as needed */
}
a{color: white;}

#myDiv{
  width: 83%;
}
#sidebar{

 font-family: 'Noto Sans JP', sans-serif;
}

#infoDiv {
  font-size: 24px;
  margin-top: 5cm;
  }
  #planetDescription {
          text-align: left;
      }

     #planetInfo {
          text-align: center;
          margin-bottom: 20px;
      }
     #content {
        display: flex;
    }

    .control-panel {
      background-color: rgba(255, 255, 255, 0.8);
      padding: 20px;
      border-radius: 15px;
      position: fixed;
      right: 20px;
      top: 20px;
      bottom: 20px;
      width: 20%;
      overflow-y: auto;
      display: flex;
      flex-direction: column;
      transition: transform 0.3s ease-in-out;
  }
  .control-panel.collapsed {
      transform: translateX(100%);
  }
  .control-panel-content {
      display: flex;
      flex-direction: column;
      padding-top: 40px;
  }
  .form-label, .form-range, .form-select {
      color: #000;
  }
  .toggle-btn {
      position: fixed;
      top: 10px;
      right: 10px;
      z-index: 1000;
      background-color: rgba(255, 255, 255, 0.8);
      border: none;
      border-radius: 50%;
      width: 40px;
      height: 40px;
      display: flex;
      justify-content: center;
      align-items: center;
      cursor: pointer;
  }
  .toggle-btn svg {
      width: 24px;
      height: 24px;
  }

  @media screen and (max-width: 1024px) {
    #logo {
      top: 10px;
      left: 10px;
    }
  
    #explain {
      bottom: 10px;
      left: 10px;
    }
  
    #tabs {
      top: 20px;
      left: 250px;
    }
  
    #tabs a {
      margin-right: 10px;
      font-size: 16px;
    }
  
    #sliderContainer {
      top: 30px;
      right: 20px;
    }
  
    .control-panel {
      right: 10px;
      top: 10px;
      bottom: 10px;
      width: 30%;
    }
  
    .toggle-btn {
      top: 5px;
      right: 5px;
      width: 30px;
      height: 30px;
    }
  
    .toggle-btn svg {
      width: 20px;
      height: 20px;
    }
  }