@import url('https://fonts.googleapis.com/css2?family=Rubik+Glitch&family=Special+Elite&family=Turret+Road:wght@400;700&display=swap');

/* Reset default styles */
#shape-analysis {
    background-image: url('../img/nightsky.jpg'); /* Path to your image */
    background-size: cover; /* Ensures it covers the full screen */
    background-position: center; /* Centers the image */
    background-attachment: fixed; /* Keeps it in place when scrolling */
    background-repeat: no-repeat; /* Prevents tiling */
    color: white;
    position: relative;
  }
  
  /* Container layout */
  #container {
    display: flex;
    height: 100vh; /* Full viewport height */
  }
  
  /* Night sky area */
  #night-sky {
    flex: 3; /* 75% of width */
    position: relative; /* for absolute positioning of shapes later */
    border-right: 2px solid #1F2833; /* separator line */
  }
  
  #ufo-sidebar {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 250px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 15px;
    border: 2px solid white;
    text-align: center;
    font-family: "Special Elite";
    margin-right: 50px;
}

.tooltip {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 14px;
  white-space: nowrap;
  pointer-events: none;
  display: none;
  z-index: 1000;
}

  
  #sidebar h2 {
    margin-top: 0;
  }
  
  #sidebar {
    width: 300px;
    background-color: #1F2833; /* Dark theme, tweak as needed */
    color: #00FF41; /* Terminal green for text */
    padding: 15px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#shape-info {
    background-color: #0B0C10; /* Slightly darker background for contrast */
    padding: 15px;
    border-radius: 8px;
    box-shadow: 2px 2px 5px rgba(0, 255, 65, 0.2);
}

#shape-title {
    font-size: 20px;
    margin-bottom: 5px;
}

#shape-details p {
    font-size: 16px;
    color: #C5C6C7; /* Slightly muted color */
}

#controls {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    background-color: #0B0C10;
    border-radius: 8px;
    box-shadow: 2px 2px 5px rgba(0, 255, 65, 0.2);
}

#shape-analysis h2{
  font-size: 24px;
}

/* Style dropdown */
#decade-select {
    background-color: #1F2833;
    color: white;
    padding: 5px;
    border: 1px solid white;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    margin-top: 10px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}


  .ufo-shape {
    position: absolute;
    cursor: pointer;
    transition: transform 0.3s ease;
    /* This will center any SVG or image */
    transform: translate(-50%, -50%);
  }
  
  .ufo-shape:hover {
    transform: translate(-50%, -50%) scale(1.2);
  }
