#panorama {
  cursor: none;
  /* Standard-Cursor ausblenden */
}

#custom-cursor {
  width: 25%;
  /* Größe des benutzerdefinierten Cursors */
  height: 50%;
  position: absolute;
  pointer-events: none;
  /* Verhindert, dass der Cursor Klicks blockiert */
  background-image: url("../img/magic-wand.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  /* Bildgröße auf die Div-Größe skalieren */
  transform-origin: center;
  /* Transformationszentrum auf die Mitte setzen */
  z-index: 1000;
  /* Sicherstellen, dass der Cursor über allen anderen Elementen liegt */
  /* Schatten für den Cursor hinzufügen */
}

#custom-cursor.mousedown {
  /*background-image: url("img/avatar/cursor/fox-click.png");*/
  width: 25%;
  /* Gleiche Größe wie normaler Cursor */
  height: 50%;
  background-image: url("../img/magic-wand-active.png");
  /* Gleicher Schatten wie normaler Cursor */
}

#panorama {
  overflow: hidden;
  width: 100vw;
  height: 100vh;
}

#pano {
  filter: saturate(0.9) hue-rotate(351deg);
  position: absolute;
  top: 0;
  display: flex;
  width: 400vh;
  /* Das Hintergrundbild wird jetzt dynamisch per JS gesetzt */
  /* background-image: url(../img/pano/pano-1.png); */
  background-size: contain;
  background-position: top;
  background-repeat: no-repeat;
  background-color: #a3c67b;
}

.tile {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100vh;
  width: 16.5%;
  background-size: auto 100%;
  transition: filter 0.2s;
  flex-direction: column;
}

.tile.brighten {
  filter: brightness(1.5);
}

#pano .tile p {
  opacity: 0;
  margin-bottom: 5%;
  background-color: #fff;
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 20px;
  color: #638b58;
  font-weight: bold;
  transition: opacity 1s;
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
}

#pano .tile:hover p {
  opacity: 1;
}

#pano .tile:hover .values {
  opacity: 1;
}

.values {
  background-color: #fff;
  border-radius: 5px;
  margin: 7%;
  display: flex;
  padding: 2px;
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
}

.values > div {
  background-color: #d0d7cb;
  border-radius: 3px;
  height: 30px;
  width: 15px;
  margin: 2px;
  overflow: hidden;
  position: relative;
}

.values .co2 div {
  position: absolute;
  width: 100%;
  bottom: 0;
  background: var(--co2-bar-positive);
  transition: height 0.5s ease-in-out;
}

.values .food div {
  position: absolute;
  width: 100%;
  bottom: 0;
  background: #75a168;
  transition: height 0.5s ease-in-out;
}

.values .co2.negative div {
  background: var(--co2-bar-negative);
}

#pano .values {
  margin-bottom: 1%;
  opacity: 0;
  transition: opacity 1s;
}

/* Custom Tooltips für Panorama Values aktivieren */
.values .co2,
.values .food {
  cursor: help;
}

/* Im Pausenmodus sichtbaren Cursor für Values */
.paused .values .co2,
.paused .values .food {
  cursor: help !important;
}

/* Im Pausenmodus Standard-Cursor anzeigen */
.paused #panorama {
  cursor: auto;
}

.paused #custom-cursor {
  display: none;
}

#panorama .navicon {
  position: absolute;
  z-index: 100;
  top: 4%;
  right: 4%;
}
