.icon svg {
    color: #999;
}

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

body, html {
  height: 100%;
  scroll-behavior: smooth;
  overflow: hidden;
}

.container {
  display: flex;
  flex-direction: column;
}

.panel {
  width: 100vw;
  height: 100vh;
  align-items: center;
  justify-content: center;
  font-size: 1em;
  font-family: sans-serif;
  position: relative;
}

.backpanel {
  z-index: -1;
  background-color: #FFFFF0;
  position: absolute;
  top: 0;
  left: 0;
  border-top-right-radius: 50px;
  border-bottom-right-radius: 50px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.content {
  /* scrollbar-color: blue orange; */   /* scroll thumb and track */
  scrollbar-width: thin;                       /* dünner Balken */
  scrollbar-color: #999 rgba(0, 0, 0, 0.05);   /* Daumen / Track */
  flex: 1;
  overflow-y: auto;      /* Nur vertikaler Scrollbar */
  overflow-x: hidden;    /* Kein horizontaler Scrollbar */
  width: 100%;
  max-width: 100%;       /* Maximal die Breite des Containers */
  box-sizing: border-box;
}

.content::-webkit-scrollbar {
  width: 8px;
  background-color: transparent; /* Hintergrund der Leiste */
}

.content::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05); /* Track-Farbe */
  border-radius: 10px;
}

.content::-webkit-scrollbar-thumb {
  background: #999;               /* Farbe des Sliders */
  border-radius: 10px;            /* Rundung */
  border: 2px solid transparent;  /* Abstand zum Rand (für besseres Design) */
  background-clip: content-box;   /* Beachtet den Innenbereich */
}

.backpanel, .content {
  margin-left: 0;
  margin-right: 10px;
  margin-top: 10px;
  margin-bottom: 140px;
  width: calc(100% - 10px);
  height: calc(100% - 150px);
}

.desktop .content {
  margin-bottom: 0px;
}

.nav {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 60px;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 10;
}

.nav button {
  background: none;
  border: none;
  font-size: 1.5em;
  cursor: pointer;
}

#top {
  opacity: 0.5;
  position: absolute;
  left: 10px;
  top: 10px;
}

.button-bar {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  height: 60px;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 2;
  transition: top 400ms ease, bottom 400ms ease;
}

.button-wrapper {
  position: relative;
  width: 40px;
  height: 40px;
}

.button-shower {
  display: none;
}

.desktop .button-shower {
  display: block;
  width: 40px;
  height: 40px;
  position: absolute;
  top: -25px;
  opacity: 0.5;
}
.desktop .button-circle {
  opacity: 1;
}

.desktop .button-shower:hover {
  opacity: 1.0;
}

.button-circle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #add8e6;
  border-radius: 50%;
  opacity: 0.2;
  z-index: -1;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
}

.button-wrapper.active .button-circle {
  opacity: 1.0;
}

.button-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
  position: relative;
}

@keyframes bounceSize {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.animate-bounce {
  animation: bounceSize 300ms ease;
}

.panel.desktop {
  position: absolute;
  min-height: 200px;
  min-width: 300px;
  z-index: 1;
  resize: none;
  overflow: hidden;
  display: block;
}

.inner-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  height: calc(100% - 35px); /* Höhe der move-bar abziehen und schatten platz */
  margin-right: 10px;
  padding: 10px;
  padding-right: 20px;
}

.inner-panel .content {
}

.desktop .inner-panel {
  padding-right: 10px;
}

.resize-bar {
  height: 0px;
}

.desktop .backpanel {
  width: 100%;
  height: 100%;
  margin: 0px;
}

.move-bar {
  display: none;
}

.desktop .move-bar {
  display: block;
  padding: 5px;
  cursor: move;
  font-size: 14px;
  display: flex;
  justify-content: center;
}

.desktop .move-bar:hover {
  background: #88CA39;
  opacity: 0.3;
}

.ui-resizable-handle:hover {
  background: #88CA39;
  opacity: 0.4;
}

.content {
  width: 100%;
  height: 100%;
}

.closer{
	position:absolute; right:0px;
	z-index:1000;
	border:solid 1px red;
}

