/* Reset and box-sizing */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body styling with a space-themed background */
body {
  font-family: 'Orbitron', sans-serif;
  background: url('https://www.solarsystemscope.com/textures/download/8k_stars_milky_way.jpg') no-repeat center center fixed;
  color: #a5a7cf;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh; /* Full height for centering */
  overflow-x: hidden;
}

/* Title styling */
h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  color: #a5a7cf; /* Neon blue */
  text-align: center;
  margin-bottom: 30px;
}

/* Section styling with centered layout */
section#data-comparison {
  padding: 60px 60px;
  background-color: rgba(0, 0, 0, 0.8); /* Dark transparent background */
  max-width: 1600px;
  margin: 60px auto;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5); /* Glowing space effect */
  text-align: center; /* Ensure text and elements are centered */
}

/* Form styling */
form {
  max-width: 600px;
  margin: 15 auto;
}

/* Form group */
.form-group {
  margin-bottom: 20px;
}

/* Label styling */
label {
  font-size: 1.2rem;
  display: block;
  margin-bottom: 8px;
}

/* Input and select styling */
input, select {
  width: 100%;
  padding: 15px;
  background: rgba(255, 255, 255, 0.1); /* Light transparent background */
  border: none;
  color: #7d7d7d;
  font-size: 1rem;
  border-radius: 5px;
}

/* Focus effect on input and select */
input:focus, select:focus {
  outline: none;
  border: 1px solid #00d9ff; /* Neon blue border on focus */
}

/* Submit button styling */
button[type="submit"] {
  width: 40%;
  padding: 11px;
  background-color: #02079c; /* Neon blue button */
  color: #cccdf0;
  font-weight: bold;
  cursor: pointer;
  border: none;
  font-size: 1.1rem;
  border-radius: 3px;
  transition: background-color 0.3s ease;
}

/* Hover effect for the submit button */
button[type="submit"]:hover {
  background-color: #00a3c9;
}

/* Hide unused sections based on the date range type */
.hidden {
  display: none;
}

/* Image result styling */
#landsat-results img, #landsat-images img {
  width: 300px; /* Set the desired width */
  height: auto; /* Maintain aspect ratio */
  margin: 10px 0;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1); /* Slight glow effect around the image */
}

/* Center the image containers */
#landsat-results, #landsat-images {
  display: flex;
  justify-content: center;
  flex-wrap: wrap; /* Allows images to wrap onto the next line if needed */
}

/* Center text and images inside the containers */
#landsat-results, #landsat-images {
  display: flex;
  justify-content: center;
  flex-direction: column; /* Ensures content is stacked vertically */
  align-items: center; /* Centers the content horizontally */
}
