@font-face {
  font-family: 'DBIFont';
  src: url('./UniversLTPro-Condensed.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: 'DBIFont';
}

.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 12px;
  border-radius: 5px;
  background: #79B51C;
  background: linear-gradient(90deg, rgba(121, 181, 28, 1) 0%, rgba(111, 122, 95, 1) 100%);
  outline: none;
  opacity: 0.7;
  -webkit-transition: .2s;
  transition: opacity .2s;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  border-color: #79B51C;
  border-style: solid;
  border-width: 3px;
  border-radius: 50%;
  background: white;
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border-color: #79B51C;
  border-style: solid;
  border-width: 3px;
  border-radius: 50%;
  background: white;
  cursor: pointer;
}

.container {
  display: flex;
  flex-direction: column;
  width: 620px;
  height: 620px;
  background: #E4E4E4;
  border-color: #79B51C;
  border-radius: 16px;
  border-width: 2px;
  border-style: solid;
  padding: 1% 1% 0% 1%;
  gap: 16px;
}

.topGroup {
  display: flex;
  position: relative;
  justify-content: space-between;
  align-items: center;
}

.radioGroup {
  gap: 10px;
}

.label {
  margin-right: 10px;
}

.radioOption input {
  display: none; /* versteckt den echten Radio */
}

.radioOption span {
  display: inline-block;
  padding: 6px 14px 2px;
  border: 2px solid #79B51C;
  color: #476B12;
  border-radius: 15px;
  cursor: pointer;
  background: #eee;
  transition: all 0.2s ease;
}

.radioOption input:checked + span {
  background: #79B51C;
  color: white;
}

.sliderContainer {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.outputBox {
  width: 30%;
  background: #476B12;
  background: linear-gradient(90deg, rgba(71, 107, 18, 1) 0%, rgba(122, 180, 29, 1) 100%);
  color: white;
  padding: 12px 20px 7px;
  border-radius: 15px;
  margin-left: auto;
  text-align: right;
}

#contactButton {
  width: 40%;
  background: #476B12;
  background: linear-gradient(90deg, rgba(71, 107, 18, 1) 0%, rgba(122, 180, 29, 1) 100%);
  color: white;
  border-radius: 15px;
  font-size: large;
  border: none;
  padding: 12px 5px;
  gap: 5px;
  align-items: center;
  transition: opacity 0.2s ease;
  cursor: pointer;
  display: flex;
  justify-content: center;
  margin: 0 auto;
}

#contactButton > img {
  width: 20px;
  height: 20px;
}

#contactButton:hover {
  opacity: 0.8;
}

.outputContainer {
  display: flex;
  align-items: center;
}

#legalText {
  color: gray;
  font-size: small;
}

#infoIcon {
  width: 30px;
  height: 30px;
  cursor: pointer;
}

#infoIcon > img {
  width: 100%;
  height: 100%;
}

#infoIcon:hover + #infoText {
  opacity: 1;
}

#infoText {
  position: absolute;
  top: 40px;
  left: 0;
  opacity: 0;
  transition: opacity 0.2s ease;
  width: 600px;
  border-radius: 15px;
  border: 2px solid black;
  background: #f5f5f5;
  padding: 10px;
  pointer-events: none;
  z-index: 10;
  hyphens: auto;
  text-align: justify;
}

.sliderOutput {
  color: rgb(119, 119, 119);
}

hr {
  width: 100%;
  margin: 0;
  border: none;
  height: 1px;
  background-color: #79B51C;
}