body {
  margin: 0;
  overflow: hidden;
  background-color: #000;
}

canvas {
  display: block;
}

/* General styles for overlays */
.overlay {
  position: absolute;
  color: #ffffff9c;
  font-family: Arial, sans-serif;
  font-size: 13px;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 10px;
  border-radius: 5px;
  z-index: 1;
}

#overlay-top-left {
  top: 10px;
  left: 10px;
  min-width: 250px;
  max-width: 300px;
}

#overlay-top-right {
  top: 10px;
  right: 10px;
}

#overlay-bottom-left {
  bottom: 10px;
  left: 10px;
}

#overlay-bottom-right {
  bottom: 10px;
  right: 10px;
}

/* Styles for the follow link */
#followX {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #ffffff;
  padding: 5px 5px;
  background-color: #000000;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

#followX:hover {
  background-color: #333333;
}

.x-logo {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  border-radius: 50%;
}

/* Styles for sliders and text area */
.slider-container {
  margin-top: 10px;
}

.slider-label {
  margin-bottom: 5px;
  margin-left: 5px;
  display: block;
}

.slider {
  width: 200px;
}

#info-area {
  margin-top: 10px;
  padding: 5px;
  border: 1px solid #4a4a4a;
  border-radius: 5px;
  max-width: 230px;
}

h3 {
  font-size: 14px;
}

a:visited {
  color: #bfbfbf;
}

/* Slider Styles */
input[type="range"] {
  -webkit-appearance: none;
  /* width: 100%; */
  height: 6px;
  background: #444;
  border-radius: 3px;
  outline: none;
  margin: 5px 5px;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  background: #888;
  cursor: pointer;
  border-radius: 50%;
  /* border: 2px solid #555; */
  transition: background 0.3s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  background: #aaa;
}

input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: #888;
  cursor: pointer;
  border: 2px solid #555;
  border-radius: 50%;
  transition: background 0.3s ease;
}

input[type="range"]::-moz-range-thumb:hover {
  background: #aaa;
}

input[type="range"]::-moz-range-track {
  background: #444;
  height: 6px;
  border-radius: 3px;
}

/* Styles for collapsible headers */
.slider-section-header {
  cursor: pointer;
  padding: 10px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  margin-top: 10px;
  transition: background-color 0.3s ease;
}

.slider-section-header:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Styles for collapsible content */
.slider-section-content {
  display: none; /* Hidden by default */
  margin-top: 5px;
  padding-left: 10px;
  border-left: 2px solid #444;
}

/* Active class to show the content */
.slider-section-content.active {
  display: block;
}

.slider-section-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.slider-section-content.active {
  display: block;
  max-height: 1000px; /* A high enough value to accommodate content */
  padding: 10px 0;
}

.large-button {
  padding: 10px 20px;
  background-color: #505fb3;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  margin-top: 10px;
}

.large-button:hover {
  background-color: rgb(42, 56, 136);
}

.radio-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.radio-container input[type="radio"] {
  /* Remove default browser styling */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  /* Size and shape */
  width: 16px;
  height: 16px;
  border-radius: 50%;
  /* Unselected state styling */
  border: 2px solid #888; /* Medium grey border */
  background-color: #222; /* Dark grey background */
  /* Interaction */
  cursor: pointer;
  outline: none;
}

.radio-container input[type="radio"]:checked {
  /* Selected state styling */
  background-color: #888; /* Medium grey fill */
  border-color: #aaa; /* Lighter grey border */
}

.radio-container input[type="radio"]:hover {
  /* Hover effect for unselected state */
  border-color: #aaa;
}

.radio-container input[type="radio"]:checked:hover {
  /* Hover effect for selected state */
  background-color: #999; /* Slightly lighter grey */
}

.radio-container label {
  /* Label styling to match theme */
  color: #ffffff9c; /* Semi-transparent white */
  font-family: Arial, sans-serif;
  font-size: 13px;
  cursor: pointer;
}

.main-data {
  color: #ffffffe4;
}
.detail-data {
  color: rgba(141, 141, 141, 0.827);
}
