body {
  padding: 20px;
  background-color: #f5f7f9;
  font-family: "new-science-mono", sans-serif, Arial;
  font-weight: 400;
  font-style: normal;
  box-sizing: border-box;
}

.home-icon {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  width: rem;
  height: 2rem;
  font-size: 2rem;
  /* background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.' stroke='gray'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m2.25 12 8.954-8.955c.44-.439 1.152-.439 1.591 0L21.75 12M4.5 9.75v10.125c0 .621.504 1.125 1.125 1.125H9.75v-4.875c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125V21h4.125c.621 0 1.125-.504 1.125-1.125V9.75M8.25 21h8.25'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center; */
  /* background-size: px 50px; Adjust size as needed */
}

.home-icon a{
  text-decoration: none;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100vw;
  background-color: whitesmoke;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-top: 20px;
}

h1 {
  color: #2c3e50;
  text-align: center;
  margin-bottom: 10px;
}

.hire-me {
  font-family: "new-science", sans-serif;
  font-weight: 700;
  font-style: normal;
  color: #3498db;
}

.description {
  color: #7f8c8d;
  text-align: center;
  margin-bottom: 20px;
}

.map-container {
  width: 80vw;
  height: 80vh;
  border: 1px solid #e0e0e0;
  background-color: oklch(0.45 0.31 264) / 0.6;
  /* opacity: 0.6; */
  border-radius: 4px;
  overflow: hidden;
}

#svg {
  padding: 0.1rem;
  margin: 0.3rem 0.1rem;
}

.controls {
  margin-top: 20px;
  display: flex;
  flex-direction: column-reverse;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

#trajectoryValue {
  width: 4rem;
}

.trajectory-label {
  width: 300px;
  display: inline-block;
}

button {
  padding: 8px 16px;
  background-color: #a0cdeb;
  color: black;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
  font-family: "new-science-mono", sans-serif;
  font-weight: 700;
  font-style: normal;
  box-sizing: border-box;
}

button:hover {
  background-color: #bee339;
  border: 1px dotted black;
}

.legend {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 10px;
}

.map-legend {
  display: flex;
  gap: 0.2rem;
  align-items: start;
}

.color-box {
  width: 20px;
  height: 20px;
  background-color: black;
  opacity: 0.6;
  border: 1px solid #fff;
}

.debug-info {
  margin-top: 20px;
  padding: 15px;
  background-color: #f8f9fa;
  border-radius: 4px;
  font-family: monospace;
  font-size: 14px;
}

.tooltip {
  pointer-events: none;
}
.tooltip rect {
  fill: rgba(255, 255, 255, 0.9);
}
.tooltip text {
  font-size: 1rem;
  font-family: "new-science-mono", sans-serif;
  font-weight: 400;
  font-style: normal;
}
