.tooltip {
  position: relative;
  display: inline-block;
  cursor: pointer;
  overflow: visible;
}

.tooltip-trigger {
  color: #00600d;
  text-decoration: underline;
  font-size: 0.9rem;
  cursor: pointer;
}

.tooltip .tooltiptext {
  visibility: hidden;
  opacity: 0;
  width: 300px;
  background-color: #00600d;
  color: #fff;
  text-align: left;
  border-radius: 8px;
  padding: 10px;
  position: absolute;
  z-index: 9999;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  transition: opacity 0.2s ease;
  font-size: 0.9rem;
  line-height: 1.4;
  white-space: normal;
}

.tooltip.show .tooltiptext {
  visibility: visible;
  opacity: 1;
}



.navbar {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 100;
}

.hamburger {
  cursor: pointer;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  width: 30px;
  height: 4px;
  background-color: #00770a;
  display: block;
  transition: 0.3s;
}

/* Menü verstecken */
.nav-rechts {
  display: none;
  flex-direction: column;
  background-color: #00770a;
  padding: 10px;
  position: absolute;
  top: 60px;
  right: 0;
  width: 200px;
  border: 1px solid #00770a;
}

.nav-rechts a {
  text-decoration: none;
  padding: 10px;
  color: #ffffff;
}

.nav-rechts a:hover {
  background-color: #006b09;
}




/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 55%; /* Full width */
    height: 70%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(255, 255, 255); /* Fallback color */
    background-color: rgba(0, 255, 51, 0.4); /* Black w/ opacity */
  }
  /*  overflow: auto; /* Enable scroll if needed */
  /* https://css-tricks.com/considerations-styling-modal/
  
  /* Modal Content/Box */
  .modal-content {
    background-color: rgb(25, 0, 255);
    padding: 20px;
    border: 1px solid #888;
    width: 100%; /* Could be more or less, depending on screen size */
  }
  
  /* The Close Button */
  #close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  #close:hover,
  #close:focus {
    color: rgb(229, 255, 0);
    text-decoration: none;
    cursor: pointer;
  }
  
  .img-center {
      display: block;
      margin-left: auto;
      margin-right: auto;
  }
  
  #hide {
    color: #00600d;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
  }
  
  
  #tableheader {
   color: #8ffaaf;
   text-align: center;
  }
  #tableheader1 {
   color: #94f58d;
  }
  #tablecells {
  vertical-align: middle;
  }
  #tablecells1 {
  vertical-align: middle;
  text-align: center;
  }

  .btn-scale {
    min-width: 44px;
    width: 6%;
    text-align: center;
    font-weight: bold;
    color: black;
    font-family: 'Lato', sans-serif;
  }
  
  
  option {
    padding: 10;
  }


  input[type="range"] {
    width: 320px;
    margin: 0;
  }


  .slider-container {
    width: 320px;
  }
  

  .scale {
    display: flex;
    justify-content: space-between;
    padding: 0 2px;
    font-size: 14px;

  }
  

  .custom-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-color: #007c27;
    color: #ffffff;
    padding: 7px 16px; /*erste Zahl Höhe, zweite Zahl Breite(?) */
    border: 1px solid #000000;
    border-radius: 0px;
    font-size: 14px;
    width: 50%;
    max-width: 300px;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg width='10' height='5' viewBox='0 0 10 5' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0L5 5L10 0H0Z' fill='%23999'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .custom-select:focus {
    outline: none;
    border-color: #0dc619;
    box-shadow: 0 0 0 3px rgba(13, 198, 25, 0.2);
  }

  .custom-select:hover {
    background-color: #014909;
    border-color: #0dc619;
  }

  label {
    font-weight: 600;
    margin-bottom: 8px;
    display: inline-block;
  }